Warning: The author of this contribution does not provide support for it anymore.

Add Homepage link in header

Homepage link in quasar there needed - Add Homepage link in header

Homepage link in quasar there needed

by sybershot » Thu Feb 09, 2012 8:38 pm

I'm a new website owner and a new user to phpbb3. I have the Quasar theme installed found here http://www.rockettheme.com/phpbb3-styles/quasar

This is my first Mod and I installed this mod using automod. I set the configurations in the acp panel, but the homepage button does not show. I did read through how to get installed in other themes, but non of the overall_header.html code tags looks like the ones quasar uses.

I have overcome a lot of obstacles so far(getting a joomla site up, adding a theme to joomla, getting a phpbb forum up, and getting a matching forum theme installed) but getting a homepage button to show up on the forum with this mod is one I really need help with. Please can someone help me with this? I would be greatly appreciated. Thanks Sincerely SyberShot
User avatar
sybershot
Registered User
Posts: 6
Joined: Thu Feb 09, 2012 8:14 pm
Contact:

Re: Homepage link in quasar there needed

by Oyabun1 » Fri Feb 10, 2012 6:56 am

If you're planning on adding more MODs to phpBB then I seriously suggest you find another style. RocketTheme styles are substantially different to the standard prosilver or subsilver2 styles and therefore receive little, if any, support here.

For your current problem you will need to make a manual file edit. Download the file with a good FTP client, such as FileZilla. (File transfer utilities provided in host control panels can cause problems.) Make a backup, do the edit below, and then upload the edited file.

Open styles/quasar/template/overall_header.html

Find

Code: Select all

<li <!-- IF IE_VERSION neq '6' --><!-- IF U_INDEX_STYLE -->class="item1 active root"<!-- ELSE -->class="item1 root"<!-- ENDIF --><!-- ELSE --><!-- IF U_INDEX_STYLE -->id="current"<!-- ENDIF --><!-- ENDIF -->><a class="orphan item" href="{U_INDEX}" accesskey="h"><span>{L_INDEX}</span></a></li>

Before add (on a new line)

Code: Select all

<!-- IF S_SHOW_HOMEPAGE and U_HOMEPAGE --><li <!-- IF IE_VERSION neq '6' --><!-- IF U_INDEX_STYLE -->class="item1 active root"<!-- ELSE -->class="item1 root"<!-- ENDIF --><!-- ELSE --><!-- IF U_INDEX_STYLE -->id="current"<!-- ENDIF --><!-- ENDIF -->><li class="orphan item"><a href="{U_HOMEPAGE}" <!-- IF U_HOMEPAGE_TITLE -->title="{U_HOMEPAGE_TITLE}"<!-- ENDIF --><!-- IF S_SHOW_HOMEPAGE_IN_NEW -->onclick="window.open(this.href); return false;"<!-- ENDIF --> accesskey="y">{L_HOMEPAGE}</a></li><!-- ENDIF -->
                      Support Request Template
3.0.x: Knowledge Base Styles Support MOD Requests
3.1.x: Knowledge BaseStyles SupportExtension Requests
User avatar
Oyabun1
Former Team Member
Posts: 23162
Joined: Sun May 17, 2009 1:05 pm
Location: Australia
Name: Bill

Re: Homepage link in quasar there needed

by sybershot » Fri Feb 10, 2012 2:35 pm

Oyabun1 Thank you so very much for your help and info about Quasar templates. I don't plan on adding any other mod except a recent topics forum section, that shows the last 5-10 topics. I like the clean simple layout of the Quasar template and if I can't get the recent topics to work, I can live with that. But I really needed a home page button and I can't thank you enough in words for your help. I will place your code in the appropriate overall_header.html today, and let you and others know how the results either tonight or tomorrow morning. Again thank you Sincerely SyberShot

EDIT: Again Thank you so very much, it worked great :D however the line of code you said to find was not written out exactly like that inside my styles/quasar/template/overall_header.html. Just incase someone has the same revision of the overall_header.html as I do, My overall_header.html looked like what is in the code block below.

Find

Code: Select all

<li class="item1 <!-- IF SCRIPT_NAME eq 'index' -->active<!-- ENDIF --> root"><a class="orphan item" href="{U_INDEX}" accesskey="h"><span>{L_INDEX}</span></a></li>
User avatar
sybershot
Registered User
Posts: 6
Joined: Thu Feb 09, 2012 8:14 pm
Contact: