Announcement

Collapse
No announcement yet.

Templates?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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.

  • #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


    • #3
      Know what? Your a star

      Comment

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