fatmart Posted February 13, 2008 Share Posted February 13, 2008 Hello everyone, I am looking to do a CMS on my own instead of using joomla and such.. What I want to do, basically, is to be able for me to login as admin and change the content of my page from there using a text box. I found some tutorial and scripts on the internet, but nothing really similar. The closest that I have found : http://www.php-mysql-tutorial.com/cms-php-mysql.php . But I don't need to add articles or stuff like that, I need to be able to add links in my menu and add content into them. Could anyone help me with a link or something ? It would be much appreciated. Regards and thanks in advance Mart Link to comment https://forums.phpfreaks.com/topic/90827-cms/ Share on other sites More sharing options...
Isityou Posted February 13, 2008 Share Posted February 13, 2008 How much PHP experience do you have? A good way to start is read up on the model-view-controller design pattern. It may be intimidating but in the long-run you'll have a high quality content management system. That is if your going to this at a object oriented approach. To add links and content to a menu I suggest you build a menu class. For example: <?php $menu = new Menu('menu1'); $menu->AddLink('Google', 'http://www.google.com'); $menu->AddLink('Yahoo', 'http://www.yahoo.com'); $menu->draw() ?> This will generate a div will handle style information and the such. You can then create style sheets with a menu class to handle how the menu will look and be positioned or even create methods that position the menu. Link to comment https://forums.phpfreaks.com/topic/90827-cms/#findComment-465620 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.