View Single Post
  #1  
Old 29 Nov 2016, 05:04
ctrenks ctrenks is offline
 
Join Date: Aug 2007
Brain freeze on vB_Template::preRegister

I have a custom template cportal, this is simple a head and footer template, and i use a php script to fill in between the lines fro outside forum pages. In the php file i have a meta section that i add meta data such as OG: and twiter card info.

I then have it al saved as $mymeta, then i run this

vB_Template:reRegister('headinclude', array('mymeta' => $mymeta));

inside the top of the headinclude template i have

{vb:raw mymeta}

this is not displaying any of the data though?

I have spent a couple of hours looking at this, somthing I thought I had working all along but not so.
Reply With Quote