|
Page: | 1 |
Topic: Different left-menus for different tab in Quick.CMS
|
|
|
hermann_a
2012-01-21 21:55:36
Votes: 0
|
Hello all,
I am using Quick.CMS V 2.5. I want to make a variable tab-menu navigation. Means for every menu item in the top-bar (Menu 2 in standard template) I want to make a different menu on the left side (Menu 3 in standard template).
Right now the menu on the left side is always the same, independent from the selected top-menu-item.
I.e. http://opensolution.org/Quick.Cms/demo/: When clicking "Company", "Our Offers" or "Contact Us" - then left-menu is always the same (Tents, Walking boots, ...).
I have been searching the forum and the FAQs really intensively - but have not been able to find anything to this topic.
Is there: 1) A way to realize this? 2) If yes, a way without deep changes in templates, CSS or PHP files ;-)
Thanks in advance!
» freeware Quick.Cms.Lite v2.x
|
|
hermann_a
2012-01-23 17:18:17
Votes: 0
|
Thank you for your proper response. But this has not helped. I have also tried tried this: http://opensolution.org/Quick.Cms/docs_v3.x/?id=en-tips#how_to_add_next_menu No reaction in the system. You can believe me, I really read the instructions :-)
I wanted to add a further menu just to display it in certain templates. But the menu is not available in Quick.CMS GUI.
Do you have an idea, what's necessary to keep things running?
|
|
Rad
2012-01-23 17:52:25
Votes: 0
|
Do this in two steps. 1. Themes - changing design of all page on particular subpage ** 2. How to add next menu? ** Put new menu to new container.
|
|
hermann_a
2012-01-24 01:49:07
Votes: 0
|
Again thank your for reply guys. But again, it does not work.
I have put the files on a webspace: http://hermanna.lima-city.de/templates/
I have also created another container file (container-termine.tpl) with the new menu (menu 5). I have also added it in lang_de.php ($aMenuTypes[5] = 'Menü Termine';). I have also made an entry at the 2 theme files (default.php & termine.php).
I have no idea, why the new menu is still not available in the GUI. It seems to be rather desperate.
|
|
Rad
2012-01-24 15:07:39
Votes: 0
|
Does your termine.php looks like this:
<?php if( empty( $content ) ) $content .= $oTpl->tbHtml( 'messages.tpl', 'ERROR' );
if( !isset( $bBlockPage ) ){ $sMenu1 = $oPage->throwMenu( 'menu_1.tpl', 1, $iContent, 0 ); $sMenu2 = $oPage->throwMenu( 'menu_2.tpl', 2, $iContent, 0 ); $sMenu3 = $oPage->throwMenu( 'menu_3.tpl', 3, $iContent, 1 ); $sMenu4 = $oPage->throwMenu( 'menu_4.tpl', 4, $iContent, 1 ); $sMenu5 = $oPage->throwMenu( 'menu_5.tpl', 5, $iContent, 1 ); }
echo $oTpl->tbHtml( 'container-termine.tpl', 'HEAD' ).$oTpl->tbHtml( 'container-termine.tpl', 'BODY' ).$content.$oTpl->tbHtml( 'container-termine.tpl', 'FOOT' );
Can you see this menu in admin panel?
|
|
hermann_a
2012-02-03 00:13:08
Votes: 0
|
Thank you Rad. I habe done all these steps, but it still does not work. Is it possible, that these steps only work in version 3.X?
I am using 2.5.
However, Quick.CMS seems to be really complicated for making a rather common step as using a tab-based navigation (with different left-menus for each tab) which many websites are using :-(
|
|
Page: | 1 |
|
|
|