Page 1 of 1
develop a CMS
Posted: Thu Sep 13, 2007 7:48 pm
by cade
how to develop cms having a lot of menus and submenus. I have develop the CMS for posting the content. And now I dont know how to develop the main category and subcategory.. Do you have any table structure or tutorial to share?
Posted: Fri Sep 14, 2007 12:03 am
by s.dot
Are you looking for help with setting up the database table(s) that pertain(s) to your CMS? Or for the coding and HTML of categories and subcategories?
Posted: Fri Sep 14, 2007 1:32 am
by cade
i'm looking for both. as well as Idea and concept. When I look into joomla or mambo, there is no multicategories option. Take a look at
http://www.masmattagolf.com.my. They implementing multicategories
Posted: Fri Sep 14, 2007 3:22 am
by superdezign
I know that Drupal had categories and subcategories. I think if you use the
DOM mixed with a parent-relationship type table, you should be fine. You just give all parent-less menu nodes a parent value of 0, and all sub categories a parent node corresponding to the parent id. Get all of the data from the database ordered by their parent, then construct it from there. Or, you could take the easy (though, less flexible) route of just making a categories table and a subcategories table. Only two levels, but you really shouldn't need anymore than that.
Posted: Fri Sep 14, 2007 8:33 pm
by cade
could you elaborate in more details? Let me explain the abstract to you about my cms that i'm going to develop.
This CMS would create content. The content would be static content and usually people call it to build a page.
This page gonna have a title, content details (textarea), choose a language, and category. Everytime user post a new content, he would select the category, fill up the title, content, and select the language that he wants. Whenever the page is created, the content will automatically been posted to under category choosen and become the submenu on the main page.
I also would create a module for user to create the category.
could you