![]() |
Editing menu.tpl.
My template looks like this
Code:
<TABLE border=0 cellPadding=5 cellSpacing=0 width="100%"> The template uses $menu_content to show what is displayed... Where can I edit $menu_content ???? |
you pass it during the include like
{include template.tpl menu_content="my menu is here"} That template will then have $menu_content allocated to it internally |
lol I still don't get it.
|
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 |
All times are GMT -8. The time now is 04:31 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.