Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 27 Apr 2012, 00:12
LifesGreatestGift's Avatar
LifesGreatestGift LifesGreatestGift is offline
 
Join Date: Jul 2009
need help with custom variable in header template

yes i've looked at the register variables article. still couldn't figure it out.

ive tried a few things and cannot get it to render
hook location: process_templates_complete


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

tried {vb:raw menuContent} in header template, didnt work.




Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

tried {vb:raw our_network} in header template and it didnt work.

Not sure what I am doing wrong.
__________________
If I have helped you, the least you could do is click the button to show your appreciation.
TheSecond.org - Because it is our right!
Reply With Quote
  #2  
Old 27 Apr 2012, 00:47
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
Use hook parse_templates - process_templates_complete is too late because the header template has already been rendered.

Try this code:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And use {vb:raw menuContent} in the header template.
Reply With Quote
  #3  
Old 27 Apr 2012, 00:50
LifesGreatestGift's Avatar
LifesGreatestGift LifesGreatestGift is offline
 
Join Date: Jul 2009
yay that worked thanks!
__________________
If I have helped you, the least you could do is click the button to show your appreciation.
TheSecond.org - Because it is our right!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 11:16.

Layout Options | Width: Wide Color: