This is a discussion on "CMS Framework" within the PHP Forum section. This forum, and the thread "CMS Framework are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
CMS Framework
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|
|
||||
|
Re: CMS Framework
The way I do it is that I have a cms.php that writes a CMS into the $content variable. Then the template just needs to echo $content and the CMS is written into the site. Does that make sense?
Last Blog Entry: 10 Reasons Why My Laptop Is Better Than Your Girlfriend (Dec 15th, 2007)
|
|
||||
|
Re: CMS Framework
Erm not really. Sorry to be a pain.
So what is cms.php? I'll tell you how my CMS is set up. Basically my site is 1840dsgn.co.uk and my cms is cms.1840dsgn.co.uk Within cms.1840dsgn.co.uk there are various pages like: addPortfolio.php editPortfolio.php moderateComments.php users.php uploadImage.php uploadFile.php login.php as well as includes like Connector.php checkLogin.php All data input is put into the mysql database. So...you say you have 1 file called cms.php, how do you have all this content in the one file. By includes this wouldn't work would it? On 1840dsgn.co.uk, data is pulled from the database and displayed. Am i going completely the wrong way about this? lol im really confused and I know I'm a pain but i relaly wanna learn and have been searching tutorials everywhere and can't find any kind of pointers so I thought you guys might be able to help me out! |
![]() |
| Tags |
| cms system, framework |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| latest iteration of the .NET framework | welshstew | ASP.NET Forum | 1 | Dec 7th, 2007 20:56 |