Page 1 of 1
New Posts link on every page?
Posted: Fri Jul 24, 2009 5:27 pm
by 2Zero
I am trying to add the new posts link on every page not just on the Board index page
can someone help me find out how to do that??
Re: New Posts link on every page?
Posted: Fri Jul 24, 2009 7:40 pm
by LDM
Try this, open viewforum_body.html in your style/template
Find:
Code: Select all
<!-- IF U_MCP --><p>[ <a href="{U_MCP}">{L_MCP}</a> ]</p><!-- ENDIF -->
Add BEFORE:
Code: Select all
<!-- IF S_DISPLAY_SEARCH or (S_USER_LOGGED_IN and not S_IS_BOT) -->
<ul class="linklist">
<!-- IF S_DISPLAY_SEARCH -->
<li><a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a><!-- IF S_USER_LOGGED_IN --> • <a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a><!-- ENDIF --> • <a href="{U_SEARCH_ACTIVE_TOPICS}">{L_SEARCH_ACTIVE_TOPICS}</a></li>
<!-- ENDIF -->
<!-- IF not S_IS_BOT and U_MARK_FORUMS --><li class="rightside"><a href="{U_MARK_FORUMS}" accesskey="m">{L_MARK_FORUMS_READ}</a></li><!-- ENDIF -->
</ul>
<!-- ENDIF -->
Open viewtopic_body.html
Find:
Code: Select all
<!-- IF U_MCP --><p>[ <a href="{U_MCP}">{L_MCP}</a> ]</p><!-- ENDIF -->
Add BEFORE:
Code: Select all
<!-- IF S_DISPLAY_SEARCH or (S_USER_LOGGED_IN and not S_IS_BOT) -->
<ul class="linklist">
<!-- IF S_DISPLAY_SEARCH -->
<li><a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a><!-- IF S_USER_LOGGED_IN --> • <a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a><!-- ENDIF --> • <a href="{U_SEARCH_ACTIVE_TOPICS}">{L_SEARCH_ACTIVE_TOPICS}</a></li>
<!-- ENDIF -->
<!-- IF not S_IS_BOT and U_MARK_FORUMS --><li class="rightside"><a href="{U_MARK_FORUMS}" accesskey="m">{L_MARK_FORUMS_READ}</a></li><!-- ENDIF -->
</ul>
<!-- ENDIF -->
Upload files and purge template cache.
That is untested, so post back any probs and we'll have a look.
Re: New Posts link on every page?
Posted: Fri Jul 24, 2009 9:51 pm
by 2Zero
It worked on the first level down but it doesn't any farther down,
I found the first line and before it I added the new code, was that right??
then I purged the cache for the view body cache
Is that right??
Re: New Posts link on every page?
Posted: Fri Jul 24, 2009 9:57 pm
by 2Zero
I GOT IT!!
I had only added it to one place not both,
When I did it works perfect!!!
Thanks!!
Re: New Posts link on every page?
Posted: Fri Jul 24, 2009 9:59 pm
by LDM
Good news
Re: New Posts link on every page?
Posted: Mon Sep 07, 2009 7:57 pm
by JONAS
This is a great mod!
I input the codes carefully where stated, but have got stuck with it though- my '
new posts' links appear not on the homepage but on the title boards within the site, below the main link (ie. Introductions).
How do I get them to appear on the homepage also? Any help please?