Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 custom header link only visible on threadlist
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #2
RE: custom header link only visible on threadlist
(03-05-2011 03:18 AM)Marc Wrote:  Using the conditionals plugin, I would like to display a custom link in the header template which should only be visible on the threadlist, and possibly the thread page. Is there a variable I can use to check which page you are on?
Do you want to displaying the same link in the forumdisplay and the showthread?
Basically, you can try using THIS_SCRIPT

(03-05-2011 03:18 AM)Marc Wrote:  Also - this is a seperate issue - when you are reading a thread, is there a variable available that holds the name or ID of the board the thread is in?
I think it depends on where you want to use the variable (already defined or not)
If you want to use it in showthread template, try to use $thread['fid']

03-05-2011 04:44 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
RE: custom header link only visible on threadlist - RateU - 03-05-2011 04:44 AM

 Standard Tools
Forum Jump: