Announcement

Collapse
No announcement yet.

headinclude

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

  • headinclude

    I copy headinclude in my custom myheadinclude. In my template I change variable $headinclude to $myheadinclude, but the page dont show correctly, actualy there is no data from myheadinclude. Where can be a problem?

  • #2
    You can't simply make a template and include $mynewtemplate in another template and expect it will work. You need to make a plugin that will "activate" your template for lack of a better word... there is an article in vbulletin.org on how to do this... search for "cache" in the 3.8 articles section (as in "Cache Templates").

    Comment


    • #3
      you'll need to eval() the template in a plug in using parse templates as the hook and you'll also need to cache templates too as BirdOfPrey5 pointed out
      Kind regards,
      Simon
      Microsoft Office Discussion

      Comment

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