Achaa - If you want to add next type of menu for example on the left side, execute following steps: 1) edit config/lang_pl.php file and change
$aMenuTypes[1] = 'Top menu above logo'; $aMenuTypes[2] = 'Top menu under logo'; $aMenuTypes[3] = 'Categories'; $aMenuTypes[4] = 'Producers';
to
$aMenuTypes[1] = 'Top menu above logo'; $aMenuTypes[2] = 'Top menu under logo'; $aMenuTypes[3] = 'Categories'; $aMenuTypes[4] = 'Producers'; $aMenuTypes[5] = enter here name for new menu;
2)create new file in templates/ directory, name it menu_5.tpl and copy content of e.g. menu_4.tpl file to the new one, 3)edit templates/themes/default.php file and add code
4)edit templates/container.tpl and add $sMenu5 variable behind e.g. $sMenu4 variable in this file, 5)log in to administration and add pages to this type of menu.
Achaa
2007-11-06 10:47
Thank you :D That was very helpful.
Can I just add that the default.css file should be altered also.
Many thanks, A.
merci
2007-11-07 08:26
Achaa - if you don't make changes in file menu_5.tpl (I mean you don't change id of div so it would have id="menu4") you don't need to alter default.css file.
and I have it in configuration in settings / pages.
http://quick.yoyo.pl
nonopp
2007-11-25 20:29
Hi I have translated to spanish categories -> secciones. but... I try to add or modify a menĂº but I have always the same error:
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /homepages/45/d216454550/htdocs/cms_lite/config/lang_es.php:1) in /homepages/45/d216454550/htdocs/cms_lite/admin.php on line 11
Warning: Cannot modify header information - headers already sent by (output started at /homepages/45/d216454550/htdocs/cms_lite/config/lang_es.php:1) in /homepages/45/d216454550/htdocs/cms_lite/admin.php on line 14
I follow all the stpes. Thanks.
merci
2007-11-26 08:49
nonopp - have you executed everythink as is described here: http://opensolution.org/Quick.Cms/docs/?id=tips#how_to_add_next_menu
nonopp
2007-11-26 09:54
Yes, but the problem would be with the editor I use, txt, or something else because when I change a simple word I have the same problem for examle:
$aMenuTypes[3] = 'Categories';
$aMenuTypes[3] = 'CategoriAs'; <-
islander_man
2007-11-30 19:55
Ok but what if I just wanted to make another page under Categories? I can only make pages under the one page I have inside my Categories section. I believe the above code would add a seperate Categories section. Then I would see it as Categories My one page Categories My second Page
And that's if I could figure out how to make a page and have the Parent for it be the Categories that is in there?
So for sake of trying to be clear. I need to create a page with Categories as the Parent for it so it shows up on the default template on the left hand side. I had deleted the Shoe Samples and I think perhaps I should have just renamed them, but that would limit me to only 3 Categories anyways.
So is there a way to create a page with Categories as the Parent? It's greyed out in the option for selecting Parent for me.
islander_man
2007-11-30 19:58
Well now I see that's I was trying to use the Parent selector when I should have been using the Menu selector. I got the Menu selector back after I changed the Parent to none.
Can't there be a way just to add an admin section to edit these Menu titles??
Seems the simplest and easiest way to work with them instead of hacking files.
darkcurves
2008-04-20 20:01
Hi, i have tried adding new Categories but having some problem. Any help would be appreciated. I changed everything according to what merci said above. The problem is, one of my category, which is $aMenuTypes[4](Papers) doesnt appear. I already created a page in that category, but it doesn't appear. Only $aMenuTypes[3] and $aMenuTypes[5](which is newly created) appears.
http://www.keretapi.com/citra/
Below is a screenshot of my admin panel, what did i do wrong? http://img390.imageshack.us/img390/7167/cmsscpr7.jpg