vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=245525

Calling templates.
by Muazam
29 Jun 2010 15:55

Hey, I'm trying to separate header image and log in area.

I see {vb:raw header} in "FORUMHOME".
I created a new template with the name "header2" and added it in FORUMHOME above {vb:raw header}. But it did not show up or anything.

I added header2 template like this:
{vb:raw header2}

How do I actually add it?
Anyone?

Thanks.

Muazam 30 Jun 2010 16:50

bump

Xencored 30 Jun 2010 16:56

hmm you just add the code in the header template
there is no need for second header :erm:

Muazam 30 Jun 2010 17:11

I already fixed that =P, I just want to know how to use the header2 template in another template. putting {vb:raw header2} in another template did not work.

Do you know how to?

Xencored 30 Jun 2010 17:31

Quote:

Originally Posted by Muazam (Post 2062303)
I already fixed that =P, I just want to know how to use the header2 template in another template. putting {vb:raw header2} in another template did not work.

Do you know how to?

yes you will have to Register that Variable

http://www.vbulletin.com/docs/html/t..._externalfiles

noppid 30 Jun 2010 17:32

Try something like this on hook forumhome_complete.


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

You need to cache the template too on hook cache_templates.

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

That should get you started.

Muazam 30 Jun 2010 19:20

Thanks guys, I really appreciate the help ;)


All times are GMT. The time now is 10:47.

Powered by vBulletin® Version 3.8.14
Copyright © 2021, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.