Can i add "$sMenuX" variable to "pages_default.tpl" instead of "container.tpl" ?

Rammi

Avatar: Rammi

2012-06-20 00:23

I need to add "$sMenuX" variable to "pages_default.tpl" instead of "container.tpl"?
Is this possible ?

Thanks

» Quick.Cart v5.x

treewood (OpenSolution)

Avatar: treewood

2012-06-20 07:27

yes ... why not?

Rammi

Avatar: Rammi

2012-06-20 09:54

But i have allready done it, just pasted the "$sMenuX" variable to "pages_default.tpl", but it does not show any menu ?

treewood (OpenSolution)

Avatar: treewood

2012-06-21 07:15

Rammi - ok but you must move this from actions/themes/default.php:
$sMenu1 = $oPage->throwMenu( 'menus.tpl', 1, $iContent, 0 );
$sMenu2 = $oPage->throwMenu( 'menus.tpl', 2, $iContent, 0 );
$sMenu3 = $oPage->throwMenu( 'menus.tpl', 3, $iContent, 1 );

and paste to: actions/pages.php

Back to top
about us | contact