Forum Moderators: open

Message Too Old, No Replies

I need very simple cms

cms with main/sub categories

         

egturnkey

2:52 pm on Feb 22, 2010 (gmt 0)

10+ Year Member



Hello friends,

hours and hours i was searching over the internet and still didn't found so i'm seeking for help please.

i need an cms that has the following options

admin cp where i can add
- categories
- subcategories

each cat/subcat represent a page so i can add to it a content

for example :

i create a category called " hello world "
with content " i love world "

and sucateory to it called " egypt "
with content " I'm from egypt "

now in mean website should be like a menu

hello world > egypt

on click on " hello world " i get its content and on click on " egypt " i get its content ...

that is all i need

so as if i'm looking for a pages cms lol

please don't say joomla,nuke...ect
i need a very very simple one


thanks so much for helping me

ergophobe

7:47 pm on Feb 22, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Well... there's nothing wrong with Joomla.

By "simple" do you mean simple to run or low resource usage?

If the former, you might find this thread and the links in it useful
[webmasterworld.com...]

egturnkey

8:47 pm on Feb 22, 2010 (gmt 0)

10+ Year Member



@ergophobe
thanks for your reply

well, even joomla is so complex anyway i've already finished coding of a simple one but yet i have problem i can't make subcategories.

but i'm waitting for some help from a php forum and i will surly post it here.

ergophobe

10:18 pm on Feb 22, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Ahh... what's your issue with subcats?

The standard way to do it is with a couple of tables.

Table 1: categories
category_id
category_name
category_parent

If the category_parent field is NULL or 0, it means it's a top-level category. Otherwise, it holds the parent of the category.

If you want a multiple hierarchy (multiple parents), you need a lookup table


Table 1: categories
category_id
category_name


Table 2: cats_to_parents
c2p_id
category_id
category_parent

Then you can have multiple parents.