Serv0h
10-24-2005, 06:12 AM
Hopefully this is a simple hack. :ermm:
I am currently working on redesigning a template, and I have encountered some difficulty. I would like to move "$announcebits" from the "FORUMDISPLAY" section of the template in to the "navbar" section. However, when I attempt to do this, "$announcebits" stops returning anything. Thanks for any assistance in this matter!
Here is a visual on what I'm aiming to do (having announcements beneath the breadcrumb info):
http://f0c.us/ing/genmay-wip04.jpg
And I'm having similar problems trying to relocate the "Page 2 of 7" information as well.
Latest update:
Moved the db query for announcements above the navbar in forumdisplay.php, things are working. However, when viewing an announcement, $announcementbits in the navbar returns the complete announcement post (so I get two announcement posts, one in the navbar, and one where it should be.
So, how would I format an IF statement for the template so that $announcebits will not be displayed when viewing announcement.php ?
Also, I'm still having problems relocating the page number info to the navbar when viewing forumdisplay.php -- however, it seems to work when viewing showthread.php
I am currently working on redesigning a template, and I have encountered some difficulty. I would like to move "$announcebits" from the "FORUMDISPLAY" section of the template in to the "navbar" section. However, when I attempt to do this, "$announcebits" stops returning anything. Thanks for any assistance in this matter!
Here is a visual on what I'm aiming to do (having announcements beneath the breadcrumb info):
http://f0c.us/ing/genmay-wip04.jpg
And I'm having similar problems trying to relocate the "Page 2 of 7" information as well.
Latest update:
Moved the db query for announcements above the navbar in forumdisplay.php, things are working. However, when viewing an announcement, $announcementbits in the navbar returns the complete announcement post (so I get two announcement posts, one in the navbar, and one where it should be.
So, how would I format an IF statement for the template so that $announcebits will not be displayed when viewing announcement.php ?
Also, I'm still having problems relocating the page number info to the navbar when viewing forumdisplay.php -- however, it seems to work when viewing showthread.php