always show subpages

tevart

Avatar: tevart

2013-08-01 10:37

Is it possible to show subpages always, not matter what page you are on? I have main menu as select option and based on selection i show them subpages. I just moved variable $sSubpagesList to container.tpl, which works ok, but subpages are gone, when you view some other page.

» Quick.Cart v5.x

treewood (OpenSolution)

Avatar: treewood

2013-08-01 13:45

Edit actions/themes/default.php and find code:

if( !isset( $bBlockPage ) ){

and replace to

if( !isset( $bBlockPage ) ){
  
$sSubpagesList $oPage->listSubpages'ID_OF_PAGE_ADD_HERE'$config['default_pages_template'], );

tevart

Avatar: tevart

2013-08-01 16:19

thanks treewod

Instead of page ID, can add menus.tpl? I have main page with submenus and i wan't to show different submenus from different main menus?

e.g.

When i select main page 1 i wan't to show subpages of this page always. But if i select main page 2 i want it to show subpages from this main page? So i have different page ID.

Hope it's clear enough.

Back to top
about us | contact