Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 29 Jun 2010, 15:55
Muazam Muazam is offline
 
Join Date: Mar 2010
Arrow Calling templates.

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.
Reply With Quote
  #2  
Old 30 Jun 2010, 16:50
Muazam Muazam is offline
 
Join Date: Mar 2010
bump
Reply With Quote
  #3  
Old 30 Jun 2010, 16:56
Xencored Xencored is offline
 
Join Date: Sep 2008
Real name: Mike
hmm you just add the code in the header template
there is no need for second header
Reply With Quote
  #4  
Old 30 Jun 2010, 17:11
Muazam Muazam is offline
 
Join Date: Mar 2010
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?
Reply With Quote
  #5  
Old 30 Jun 2010, 17:31
Xencored Xencored is offline
 
Join Date: Sep 2008
Real name: Mike
Originally Posted by Muazam View Post
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
Reply With Quote
  #6  
Old 30 Jun 2010, 17:32
noppid noppid is offline
 
Join Date: Mar 2003
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.
__________________
Add a photo gallery garage to your auto forum and get noticed by your members. Find out how at the vBulletin Computer Help Forum.
An informed rider makes their first destination the motorcycle forum at rider info.
Reply With Quote
  #7  
Old 30 Jun 2010, 19:20
Muazam Muazam is offline
 
Join Date: Mar 2010
Thanks guys, I really appreciate the help
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 18:21.

Layout Options | Width: Wide Color: