Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 15 Oct 2004, 13:21
vauge vauge is offline
 
Join Date: Oct 2004
Question Templates - what am I doing wrong?

I want to create a news page. But I cannot get anything in the news_header template to display. What am I doing wrong?



news.php


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



news template


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



news_header template


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

__________________
Forum
Political Forums
Reply With Quote
  #2  
Old 15 Oct 2004, 13:29
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Real name: Stefan Kaeser
well you made a few mistakes

first: the $globaltemplates line has to be BEFORE the require global.php line

second: you news_heade variable is filled AFTER the actual page_output part, so of course it would not show anything
__________________
Unfortunatelly i am completely out of vbulletin buisness, so i won't upgrade any of my hacks anymore. Everyone who wants to upgrade my hacks or use part of my codes is allowed to do so, without needing any special permission by me anymore. You just have to mention my full name if you want to reuse some of my work, thats all i ask for.
Reply With Quote
  #3  
Old 15 Oct 2004, 13:52
vauge vauge is offline
 
Join Date: Oct 2004
Wow - fast response - thanks!

I changed the news.php around:


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

Still doesn't print my item_title. Confused. :/
__________________
Forum
Political Forums
Reply With Quote
  #4  
Old 15 Oct 2004, 13:56
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Real name: Stefan Kaeser
change

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

into

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

you are refering to $news_header in your newstemplate, not to item_title
__________________
Unfortunatelly i am completely out of vbulletin buisness, so i won't upgrade any of my hacks anymore. Everyone who wants to upgrade my hacks or use part of my codes is allowed to do so, without needing any special permission by me anymore. You just have to mention my full name if you want to reuse some of my work, thats all i ask for.
Reply With Quote
  #5  
Old 15 Oct 2004, 13:58
vauge vauge is offline
 
Join Date: Oct 2004
woohoo!

Thank you much.
__________________
Forum
Political Forums
Reply With Quote
  #6  
Old 15 Oct 2004, 14:11
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Real name: Stefan Kaeser
you're welcome
__________________
Unfortunatelly i am completely out of vbulletin buisness, so i won't upgrade any of my hacks anymore. Everyone who wants to upgrade my hacks or use part of my codes is allowed to do so, without needing any special permission by me anymore. You just have to mention my full name if you want to reuse some of my work, thats all i ask for.
Reply With Quote
Reply


Similar Threads
Thread Thread Starter Forum Replies Last Post
Advanced Templates: Dynamic Templates Changing according to different conditions Logician vBulletin 2.x Full Releases 312 24 Apr 2005 19:20

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
Forum Jump


New To Site? Need Help?

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

Layout Options | Width: Wide Color: