Firefox PHP

Remove "Forum List" from Bitmapworld Temp

Posted by Chipper 
Remove "Forum List" from Bitmapworld Temp
January 24, 2010 09:00PM
I am experimenting with the Bitmapworld template for a new website. I need to remove the link just above the thread list that says "Forum List" (I also want to remove the folder.png image). For some reason I thought this was called in list.tpl but I can't find it. Can someone tell me the tpl that calls this link to be generated? I see in the lang file that it is a hook using forumlist but danged if I can find it.
Re: Remove "Forum List" from Bitmapworld Temp
January 24, 2010 11:23PM
It is in the list.tpl template file, and it is right at the beginning. The line I strike out here is the one you want to remove or comment out...

<div class="nav">
{INCLUDE "paging"}
<!-- CONTINUE TEMPLATE list.tpl -->
{IF URL->INDEX}<a class="icon icon-folder" href="{URL->INDEX}">{LANG->ForumList}</a>{/IF}
<a class="icon icon-comment-add" href="{URL->POST}">{LANG->NewTopic}</a>
{IF URL->MARK_READ}
<a class="icon icon-tag-green" href="{URL->MARK_READ}">{LANG->MarkForumRead}</a>
{/IF}
{IF URL->FEED}
<a class="icon icon-feed" href="{URL->FEED}">{FEED}</a>
{/IF}
</div>



Robert Angle
Phorum lover, nothing more.
Ruminations
Re: Remove "Forum List" from Bitmapworld Temp
January 25, 2010 07:10AM
I guess I wasn't clear as usual. I took that line out thinking it would fix it. Fact is it did in flat view but when I switch to threaded the darn thing returns. I can use flat view but I'd sure like to know what is causing it.

Chip
Re: Remove "Forum List" from Bitmapworld Temp
January 25, 2010 07:16AM
how about doing the same to
list_threads.tpl
?
You know, there are different templates for different views.


Thomas Seifert
Re: Remove "Forum List" from Bitmapworld Temp
January 25, 2010 07:22AM
Quote
Chipper
I guess I wasn't clear as usual. I took that line out thinking it would fix it. Fact is it did in flat view but when I switch to threaded the darn thing returns. I can use flat view but I'd sure like to know what is causing it.


That is because in flat view, the software uses list.tpl to display things linear. But in threaded mode, it uses list_threads.tpl instead to list the messages and display them. Find the same line at the beginning of list_threads.tpl and remove it.

That folder list shows up when reading the actual message too, so the same link and line is found in read.tpl, read_threads.tpl, and read_hybrid.tpl as well.


Robert Angle
Phorum lover, nothing more.
Ruminations
Sorry, only registered users may post in this forum.

Click here to login