PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I have a problem (brick-wall/mental-block) Are there any good tutorials on how to add a new file/page via a cms?
I'm writing the cms, and have all the existing files/page covered, but have stopped at how to add a new one. I just don't seem able to comprehend how I make "New File" happen on the fly
There are about 100 different ways to make appear on the fly.
1) Save HTML to a static text file and have the file requested manually is one method.
2) Save HTML inside a templateized PHP script (my own CMS does that: http://www.sourceforge.net/projects/texocms)
3) Using a single application entry point (index.php) and pull contents togather dynamically.
The latter is likely the most common and by far most powerful and flexible. There are many many different ways to implement a page controller style web page.
Do you load modules?
Do you loads and embed entire applications?
There are tons of other questions to ask, depending on the complexity of the CMS.
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
Hello,
I don't want to use any "HTML" static pages. I'm looking to achieve a full db run website. There are eight areas and some one hundred++ pages.
There will be two different styles, run from two different style sheets, hoping to use a similar banner rotation system to rotate style sheets, at pre-determined time intervals.
I tam working with this simple example for new pages and altering existing ones:
New page:
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]