Look in your home tpl.
Notice all the includes like?
{include template.tpl}
Well if you put
{include template.tpl menu_content="my menu is here"}
your passing a paramater called menu_content to the sub template, in your case menu.tpl, in menu tpl you'll see {$menu_content} this will be replaced with whatever you passed in the include statement
__________________
Groovico
Used by X-carters the world over:
Marketing Manager Pro Bundle For X-cart
Featured Product Manager for X-cart
Feed manager pro for X-cart
http://www.firetanksoftware.com
Celebrating 7 Years of providing quality X-cart Add ons and X-cart Mods for x-cart 3.X to X-cart 4.4.X
|