Code: Select all
<!-- EVENT overall_header_navigation_prepend -->
<li class="small-icon icon-faq" <!-- IF not S_USER_LOGGED_IN -->data-skip-responsive="true"<!-- ELSE -->data-last-responsive="true"<!-- ENDIF -->><a href="{U_FAQ}" rel="help" title="{L_FAQ_EXPLAIN}" role="menuitem">{L_FAQ}</a></li>
<li class="small-icon icon-board_rules" <!-- IF not S_USER_LOGGED_IN -->data-skip-responsive="true"<!-- ELSE -->data-last-responsive="true"<!-- ENDIF -->><a href="/phpBB3.1/viewtopic.php?t=999" title="Terms and conditions" role="menuitem">Rules</a></li>
<!-- EVENT overall_header_navigation_append -->
Code: Select all
<!-- EVENT overall_header_breadcrumbs_after -->
<li class="rightside small-icon icon-home"><a href="http://www.example.com" title="My site link">MySite</a></li>
<!-- IF S_DISPLAY_SEARCH and not S_IN_SEARCH -->
<li class="rightside responsive-search" style="display: none;"><a href="/moresearch.htm" title="Search using Google or the forum's search engine." role="menuitem">{L_SEARCH}</a></li>
<!-- ENDIF -->
<li class="rightside responsive-amazon"><a href="http://www.amazon.com" title="Amazon">Amazon</a></li>
<li class="rightside responsive-support"><a href="http://www.example.com/support" title="Tech support">Tech support</a></li>
</ul>
Code: Select all
/* Icon images
---------------------------------------- */
.icon-amazon, .responsive-amazon a { padding-left: 20px; background-image: url("./images/icon_topic_poll.gif"); background-repeat: no-repeat; background-position: 0% 50%; }
.icon-support, .responsive-support a { padding-left: 15px; background-image: url("./images/icon_bump.gif"); background-repeat: no-repeat; background-position: 0% 50%; }
Code: Select all
/* Support
----------------------------------------*/
.responsive-support, .responsive-amazon { display: block !important; }
.responsive-support a, .responsive-amazon a {
display: block;
width: 16px;
height: 22px;
padding-left: 0 px;
overflow: hidden;
text-indent: 99px;
background-position: 0% 50%;
background-repeat: no-repeat;
text-decoration: none;
}
It's a little overkill for just a link, but you could accomplish this with an extension so they don't have to edit core files.Lumpy Burgertushie wrote:basically, you would edit the overall_header.html file
using ftp, download styles/prosilver/template/overall_header.html to your computerjcayala wrote:Thank you very much. You can see the forum is here:
http://www.guitarra-acustica.com/foro
Code: Select all
<li class="small-icon icon-faq" <!-- IF not S_USER_LOGGED_IN -->data-skip-responsive="true"<!-- ELSE -->data-last-responsive="true"<!-- ENDIF -->><a href="{U_FAQ}" rel="help" title="{L_FAQ_EXPLAIN}" role="menuitem">{L_FAQ}</a></li>
Code: Select all
<li class="small-icon icon-home" <!-- IF not S_USER_LOGGED_IN -->data-skip-responsive="true"<!-- ELSE -->data-last-responsive="true"<!-- ENDIF -->><a href="../index.php" title="BLOG" role="menuitem">Blog</a></li>
I think you mean navbar_header.html, not overall_header.html.Lumpy Burgertushie wrote:using ftp, download styles/prosilver/template/overall_header.html to your computerjcayala wrote:Thank you very much. You can see the forum is here:
http://www.guitarra-acustica.com/foro
using a good text editor only, open the file....
Code: Select all
<!-- EVENT overall_header_breadcrumbs_after -->
Code: Select all
<li class="rightside small-icon icon-home"><a href="http://www.example.com" title="My site link">MySite</a></li>
ext/acme/demo/styles/prosilver/template/event/overall_header_navigation_prepend.html
and make the following change Code: Select all
< <li class="small-icon icon-faq no-bulletin"><a href="{U_DEMO_PAGE}">{L_DEMO_PAGE}</a></li>
---
> <li class="small-icon icon-faq no-bulletin"><a href="http://www.example.org/blog/" title="Visit our blog" >Blog</a></li>
styles/prosilver/theme/images/
.Code: Select all
.icon-home { background-image: url("./images/icon_home.gif"); }
Code: Select all
.icon-MySite { background-image: url("./images/icon_MySite.gif"); }
Code: Select all
<li class="rightside small-icon icon-home"><a href="http://www.example.com" title="My site link">MySite</a></li>
Code: Select all
<li class="rightside small-icon icon-MySite"><a href="http://www.example.com" title="My site link">MySite</a></li>
First, my modifications to navbar_header.html are directly inside the prosilver style. This is not the recommended approach as updates to the style will overwrite the modifications (but it works...).P_I wrote:There is also discussion in phpBB • Extension to add links in menu in Nav Bar. Hopefully an extension writer recognizes the need and an extension will result.
In the meantime, I've found a way, although it is still a hack rather than a proper solution....
Changing the icon is left as an exercise for the reader, as I haven't gotten that far yet!
Code: Select all
<!-- EVENT overall_header_navigation_prepend -->