Templates?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • wez1981
    New Member
    • Oct 2004
    • 6

    Templates?

    Hi - just a quick question, did a search with no luck

    Ive made my own template called LeftMenu

    In this template is standard hyperlinks - now, when i create another template called MyPage and in there i place $LeftMenu it doesnt show when MyPage is shown?

    Any ideas what im missing? the others like $navbar and $footer work fine, but not my own...

    appreciate any help in the right direction.
  • Jake Bunce
    Senior Member
    • Dec 2000
    • 46598
    • 3.6.x

    #2
    You need to define that variable to contain the contents of that template. Try adding this code to your phpinclude_start template:

    Code:
    eval('$LeftMenu = "' . fetch_template('LeftMenu') . '";');

    Comment

    • wez1981
      New Member
      • Oct 2004
      • 6

      #3
      Know what? Your a star

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...