 | Re: [Solved] phpBB menu links |  |
Posted: 05/05/2007 5:58 PM |
|
|
|
|
|
| Citation |
| Posts |
1332 |
| Word Cnt. |
86,126 |
| BDay |
Feb 11 |
| Sign |
Aquarius |
| Sex |
 |
|
|
|
Joined: Mar 31, 2007
Local time: 6:23 PM
Location: Birmingham, UK.
|

|
|
|
|
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: phpBB menu links |  |
Posted: 05/05/2007 6:12 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 1:23 PM
Location: St Pete, FL
|

|
|
|
|
 |
k, good luck Chris...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] phpBB menu links |  |
Posted: 05/06/2007 12:07 PM |
|
|
|
|
|
| Citation |
| Posts |
1332 |
| Word Cnt. |
86,126 |
| BDay |
Feb 11 |
| Sign |
Aquarius |
| Sex |
 |
|
|
|
Joined: Mar 31, 2007
Local time: 6:23 PM
Location: Birmingham, UK.
|

|
|
|
|
 |
| Nope... I can't work out what you mean by the third line... |
|
|
 |
 |
| Back to Top |
|
|
 | Re: phpBB menu links |  |
Posted: 05/06/2007 2:58 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 1:23 PM
Location: St Pete, FL
|

|
|
|
|
 |
The third line I'm referring to is the 3rd row in your menu. The code would start with the <tr> tag and include the code for Search, FAQ, etc. If you search for FAQ in your text editor, it should take you to the 3rd menu row code that needs to be replaced with the code that I provided above...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] phpBB menu links |  |
Posted: 05/06/2007 3:43 PM |
|
|
|
|
|
| Citation |
| Posts |
1332 |
| Word Cnt. |
86,126 |
| BDay |
Feb 11 |
| Sign |
Aquarius |
| Sex |
 |
|
|
|
Joined: Mar 31, 2007
Local time: 6:23 PM
Location: Birmingham, UK.
|

|
|
|
|
 |
Ok I see what you mean by the third line as when I search for FAQ in the text editor I use it shows you three rows with the FAQ word
I replace what you said but because I copied the text of this forum and pasted it into the text editor it's different to the rest which is making the text go all over the place = the forum doesn't load up properly
| Code:
|
<!-- BEGIN switch_user_logged_out -->
<a href="{U_MUSIC}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_music.gif" width="12" height="13" border="0" alt="{L_MUSIC}" hspace="3" />{L_MUSIC}</a>
<a href="{U_CHAT}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_chat.gif" width="12" height="13" border="0" alt="{L_CHAT}" hspace="3" />{L_CHAT}</a>
<!-- END switch_user_logged_out -->
<!-- BEGIN switch_user_logged_in -->
<a href="{U_PROFILE}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_profile.gif" width="12" height="13" border="0" alt="{L_PROFILE}" hspace="3" />{L_PROFILE}</a>
<a href="{U_WATCHED_TOPICS}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_watch.gif" width="12" height="13" border="0" alt="{L_WATCHED_TOPICS}" hspace="3" />{L_WATCHED_TOPICS}</a>
<a href="{U_PRIVATEMSGS}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_message.gif" width="12" height="13" border="0" alt="{PRIVATE_MESSAGE_INFO}" hspace="3" />{PRIVATE_MESSAGE_INFO}</a>
<a href="{U_LOGIN_LOGOUT}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_login.gif" width="12" height="13" border="0" alt="{L_LOGIN_LOGOUT}" hspace="3" />{L_LOGIN_LOGOUT}</a>
<!-- END switch_user_logged_in -->
</span></td>
</tr>
<tr>
<td align="center" valign="top" nowrap="nowrap"><span class="mainmenu">
<!-- BEGIN switch_user_logged_in -->
<a href="{U_MUSIC}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_music.gif" width="12" height="13" border="0" alt="{L_MUSIC}" hspace="3" />{L_MUSIC}</a>
<!-- END switch_user_logged_in -->
<a href="{U_MEMBERLIST}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_members.gif" width="12" height="13" border="0" alt="{L_MEMBERLIST}" hspace="3" />{L_MEMBERLIST}</a>
<a href="{U_MEMBERWS}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_members.gif" width="12" height="13" border="0" alt="{L_MEMBERWS}" hspace="3" />{L_MEMBERWS}</a>
</span></td>
</tr>
<tr>
<td height="25" align="center" valign="top" nowrap="nowrap"><span class="mainmenu">
<!-- BEGIN switch_user_logged_out -->
<a href="{U_SEARCH}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_search.gif" width="12" height="13" border="0" alt="{L_SEARCH}" hspace="3" />{L_SEARCH}</a>
<!-- BEGIN switch_user_logged_out -->
<a href="{U_FAQ}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_faq.gif" width="12" height="13" border="0" alt="{L_FAQ}" hspace="3" />{L_FAQ}</a>
<a href="{U_REGISTER}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_register.gif" width="12" height="13" border="0" alt="{L_REGISTER}" hspace="3" />{L_REGISTER}</a>
<a href="{U_LOGIN_LOGOUT}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_login.gif" width="12" height="13" border="0" alt="{L_LOGIN_LOGOUT}" hspace="3" />{L_LOGIN_LOGOUT}</a>
<!-- END switch_user_logged_out -->
<!-- BEGIN switch_user_logged_in -->
<a href="{U_GROUP_CP}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_groups.gif" width="12" height="13" border="0" alt="{L_USERGROUPS}" hspace="3" />{L_USERGROUPS}</a>
<a href="{U_FAQ}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_faq.gif" width="12" height="13" border="0" alt="{L_FAQ}" hspace="3" />{L_FAQ}</a>
<!-- END switch_user_logged_in -->
</span></td>
</tr>
</table>
</td>
</tr>
</table>
<br />
|
See the layout difference between the top of the coding to nearer the bottoms coding |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] phpBB menu links |  |
Posted: 05/06/2007 4:00 PM |
|
|
|
|
|
| Citation |
| Posts |
1332 |
| Word Cnt. |
86,126 |
| BDay |
Feb 11 |
| Sign |
Aquarius |
| Sex |
 |
|
|
|
Joined: Mar 31, 2007
Local time: 6:23 PM
Location: Birmingham, UK.
|

|
|
|
|
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: phpBB menu links |  |
Posted: 05/06/2007 4:04 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 1:23 PM
Location: St Pete, FL
|

|
|
|
|
 |
You have an extra BEGIN switch_user_logged_out just before the Search line. If you remove it, it should start displaying properly again...
| Code:
|
|
<!-- BEGIN switch_user_logged_out -->
|
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] phpBB menu links |  |
Posted: 05/06/2007 4:19 PM |
|
|
|
|
|
| Citation |
| Posts |
1332 |
| Word Cnt. |
86,126 |
| BDay |
Feb 11 |
| Sign |
Aquarius |
| Sex |
 |
|
|
|
Joined: Mar 31, 2007
Local time: 6:23 PM
Location: Birmingham, UK.
|

|
|
|
|
 |
DAAAAM YOU'RE GOOD
thanks again dude  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: phpBB menu links |  |
Posted: 05/06/2007 4:25 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 1:23 PM
Location: St Pete, FL
|

|
|
|
|
 |
It looks like the spacing isn't quite right either. Try this. All you are doing is adding to the end of these two lines:
OPEN
overall_header.tpl
FIND
| Code:
|
|
<a href="{U_SEARCH}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_search.gif" width="12" height="13" border="0" alt="{L_SEARCH}" hspace="3" />{L_SEARCH}</a>
|
REPLACE WITH
| Code:
|
|
<a href="{U_SEARCH}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_search.gif" width="12" height="13" border="0" alt="{L_SEARCH}" hspace="3" />{L_SEARCH}</a>
|
FIND
| Code:
|
|
<a href="{U_GROUP_CP}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_groups.gif" width="12" height="13" border="0" alt="{L_USERGROUPS}" hspace="3" />{L_USERGROUPS}</a>
|
REPLACE WITH
| Code:
|
|
<a href="{U_GROUP_CP}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_groups.gif" width="12" height="13" border="0" alt="{L_USERGROUPS}" hspace="3" />{L_USERGROUPS}</a>
|
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] phpBB menu links |  |
Posted: 05/06/2007 4:51 PM |
|
|
|
|
|
| Citation |
| Posts |
1332 |
| Word Cnt. |
86,126 |
| BDay |
Feb 11 |
| Sign |
Aquarius |
| Sex |
 |
|
|
|
Joined: Mar 31, 2007
Local time: 6:23 PM
Location: Birmingham, UK.
|

|
|
|
|
 |
I noticed them before but didn't realize I was missing any. I've now added them rather than just replace. Was easier to do this one
What do they do anyway > > ? and why use two of them |
|
|
 |
 |
| Back to Top |
|
|
 | Information |  |
|