Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 1 of 1
 
 
Reply with quote Download Post 
Post Navigation Bar & Editing Links In Posts - Milky Way Red 
 
Currently using the Milky Way Red style (love it), however I am unable to add/remove/edit any of the links in the navigation bar.

I'd like to remove the "Forum" link in the nav bar and replace it with one that says "Main Site" and just links back to the site's home page.  Simple, right?
I've gone into menu_block.html and tried making edits to existing links, adding new links, and even removing all but one link, but when I save the file and upload it, none of the changes appear and the navigation bar appears untouched and fully functional.

I'm painfully new at this.  Am I looking in the right spot?  Is there anywhere else I need to make changes to?

I'm also having a minor issue with editing posts - if a user posts a link to a site (say, h**p://***.icyphoenix.com), then goes back to edit the post, it's adding
Code: [Download] [Hide] [Select]
" onclick="window.open(this.href);return false;
to the end of every link in the post.
So all links within the edited post end up looking like this:
Code: [Download] [Hide] [Select]
h**p://***.icyphoenix.com" onclick="window.open(this.href);return false;

Any idea how to prevent that?
 



 
falkeSend private message  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: Navigation Bar & Editing Links In Posts - Milky Way 
 
Your question deals with modifying phpbb3 core files. And should be posted at phpbb.com/.
 
 
 
Back to topPage bottom
Reply with quote Download Post 
Post Re: Navigation Bar & Editing Links In Posts - Milky Way 
 
falke wrote: [View Post]
Currently using the Milky Way Red style (love it), however I am unable to add/remove/edit any of the links in the navigation bar.

I'd like to remove the "Forum" link in the nav bar and replace it with one that says "Main Site" and just links back to the site's home page.  Simple, right?
I've gone into menu_block.html and tried making edits to existing links, adding new links, and even removing all but one link, but when I save the file and upload it, none of the changes appear and the navigation bar appears untouched and fully functional.

I'm painfully new at this.  Am I looking in the right spot?  Is there anywhere else I need to make changes to?

I'm also having a minor issue with editing posts - if a user posts a link to a site (say, http://www.icyphoenix.com), then goes back to edit the post, it's adding
Code: [Download] [Hide] [Select]
" onclick="window.open(this.href);return false;
to the end of every link in the post.
So all links within the edited post end up looking like this:
Code: [Download] [Hide] [Select]
http://www.icyphoenix.com" onclick="window.open(this.href);return false;

Any idea how to prevent that?

For your first question you need to edit menu_block.html.

Code: [Download] [Hide] [Select]
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
    <td class="forum-buttons" colspan="3" width="100%">
        <!-- IF not S_IS_BOT -->
            <!-- IF not S_USER_LOGGED_IN and S_REGISTER_ENABLED --><a href="{U_REGISTER}">{L_REGISTER}</a>&nbsp;&nbsp;<img src="{T_THEME_PATH}/images/menu_sep.png" alt="" />&nbsp;<!-- ENDIF -->
            <a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a>&nbsp;&nbsp;<img src="{T_THEME_PATH}/images/menu_sep.png" alt="" />&nbsp;
            <!-- IF S_USER_LOGGED_IN --><a href="{U_PROFILE}">{L_PROFILE}</a>&nbsp;&nbsp;<img src="{T_THEME_PATH}/images/menu_sep.png" alt="" />&nbsp;<!-- ENDIF -->
        <!-- ENDIF -->
        <!-- IF U_RESTORE_PERMISSIONS --><a href="{U_RESTORE_PERMISSIONS}">{L_RESTORE_PERMISSIONS}</a>&nbsp;&nbsp;<img src="{T_THEME_PATH}/images/menu_sep.png" alt="" />&nbsp;<!-- ENDIF -->
        <a href="{U_INDEX}">{L_FORUM}</a>&nbsp;&nbsp;<img src="{T_THEME_PATH}/images/menu_sep.png" alt="" />&nbsp;
        <!-- IF not S_IS_BOT -->
            <!-- IF S_USER_LOGGED_IN -->
                <!-- IF S_DISPLAY_PM --><a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a><!-- IF PRIVATE_MESSAGE_INFO_UNREAD --><a href="#"> / </a><a href="{U_PRIVATEMSGS}" class="PM-new-link">{PRIVATE_MESSAGE_INFO_UNREAD}</a><!-- ENDIF -->&nbsp;&nbsp;<img src="{T_THEME_PATH}/images/menu_sep.png" alt="" />&nbsp;<!-- ENDIF -->
            <!-- ENDIF -->
            <!-- IF S_DISPLAY_MEMBERLIST --><a href="{U_MEMBERLIST}">{L_MEMBERLIST}</a>&nbsp;&nbsp;<img src="{T_THEME_PATH}/images/menu_sep.png" alt="" />&nbsp;<!-- ENDIF -->
        <!-- ENDIF -->
        <!-- IF S_DISPLAY_SEARCH --><a href="{U_SEARCH}">{L_SEARCH}</a>&nbsp;&nbsp;<img src="{T_THEME_PATH}/images/menu_sep.png" alt="" />&nbsp;<!-- ENDIF -->
        <a href="{U_FAQ}">{L_FAQ}</a>
    </td>
</tr>
</table>


The second question I don't really understand... do you have a link to check it please?
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Navigation Bar & Editing Links In Posts - Milky Way 
 
Don't forget to purge the cache on the main page of the Administrator panel. Its below the forum stats, click Run Now. It will refresh the template edit you have made.
 



 
draleSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Navigation Bar & Editing Links In Posts - Milky Way 
 
drale wrote: [View Post]
Don't forget to purge the cache on the main page of the Administrator panel. Its below the forum stats, click Run Now. It will refresh the template edit you have made.

Yes... that is correct... I always forget this step.
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Navigation Bar & Editing Links In Posts - Milky Way 
 
I don't know if by "Navigation bar" you mean this -> http://www.icyphoenix.com/viewtopic.php?f=32&t=4236
I wanted to change my top menu links, so that helped me.
 



 
jpavlySend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Navigation Bar & Editing Links In Posts - Milky Way Red 
 
I have a similar question.  I want to add a link to Home with a url before the first link in the nav bar in Milky Way Red.  Where do I do that?  Also by chance, do you know if you can integrate a phpbb forum into an existing html page to alleviate the problem of having a link to return to the main website?  Thanks and I hope I'm posting in the right place.

Thanks!  
 



 
evaSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Navigation Bar & Editing Links In Posts - Milky Way Red 
 
the links for what you call navbar are in menu_block.html as mentioned by MG

for your second question yes you could iframe it by example, but i think there s lots of better ways.
 




____________
www.DutchaGoGo.com (development/under construction ...Forever?¿?)
 
Joshua203Send private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Navigation Bar & Editing Links In Posts - Milky Way Red 
 
This is all I have in my menu_block.html and I don't understand what I need to change to add a new link to a separate url:


Code: [Download] [Hide] [Select]
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
    <td class="forum-buttons" colspan="3" width="100%">
        <!-- IF not S_IS_BOT -->
            <!-- IF not S_USER_LOGGED_IN and S_REGISTER_ENABLED --><a href="{U_REGISTER}">{L_REGISTER}</a>&nbsp;&nbsp;<img src="{T_THEME_PATH}/images/menu_sep.png" alt="" />&nbsp;<!-- ENDIF -->
            <a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a>&nbsp;&nbsp;<img src="{T_THEME_PATH}/images/menu_sep.png" alt="" />&nbsp;
            <!-- IF S_USER_LOGGED_IN --><a href="{U_PROFILE}">{L_PROFILE}</a>&nbsp;&nbsp;<img src="{T_THEME_PATH}/images/menu_sep.png" alt="" />&nbsp;<!-- ENDIF -->
        <!-- ENDIF -->
        <!-- IF U_RESTORE_PERMISSIONS --><a href="{U_RESTORE_PERMISSIONS}">{L_RESTORE_PERMISSIONS}</a>&nbsp;&nbsp;<img src="{T_THEME_PATH}/images/menu_sep.png" alt="" />&nbsp;<!-- ENDIF -->
        <a href="{U_INDEX}">{L_FORUM}</a>&nbsp;&nbsp;<img src="{T_THEME_PATH}/images/menu_sep.png" alt="" />&nbsp;
        <!-- IF not S_IS_BOT -->
            <!-- IF S_USER_LOGGED_IN -->
                <!-- IF S_DISPLAY_PM --><a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a><!-- IF PRIVATE_MESSAGE_INFO_UNREAD --><a href="#"> / </a><a href="{U_PRIVATEMSGS}" class="PM-new-link">{PRIVATE_MESSAGE_INFO_UNREAD}</a><!-- ENDIF -->&nbsp;&nbsp;<img src="{T_THEME_PATH}/images/menu_sep.png" alt="" />&nbsp;<!-- ENDIF -->
            <!-- ENDIF -->
            <!-- IF S_DISPLAY_MEMBERLIST --><a href="{U_MEMBERLIST}">{L_MEMBERLIST}</a>&nbsp;&nbsp;<img src="{T_THEME_PATH}/images/menu_sep.png" alt="" />&nbsp;<!-- ENDIF -->
        <!-- ENDIF -->
        <!-- IF S_DISPLAY_SEARCH --><a href="{U_SEARCH}">{L_SEARCH}</a>&nbsp;&nbsp;<img src="{T_THEME_PATH}/images/menu_sep.png" alt="" />&nbsp;<!-- ENDIF -->
        <a href="{U_FAQ}">{L_FAQ}</a>
    </td>
</tr>
</table>

 



 
evaSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Navigation Bar & Editing Links In Posts - Milky Way Red 
 
may i point you to this post in another thread?

http://www.icyphoenix.com/viewtopic...ingle_Post_View

 

edit: uuuhm this worked different then i expected, i mean the last post in that thread ( http://www.icyphoenix.com/show_post.php?p=45564 )
 




____________
www.DutchaGoGo.com (development/under construction ...Forever?¿?)
 
Joshua203Send private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Navigation Bar & Editing Links In Posts - Milky Way Red 
 
It worked!  Thanks!
 



 
evaSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Navigation Bar & Editing Links In Posts - Milky Way Red 
 
not so hard to do after all eyy? , .. you re welcome
 




____________
www.DutchaGoGo.com (development/under construction ...Forever?¿?)
 
Joshua203Send private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Navigation Bar & Editing Links In Posts - Milky Way Red 
 
Yep, pretty simple!  Now why didn't I think of that? haha
 



 
evaSend private message  
Back to topPage bottom
Post new topic  Reply to topic  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events


  

 

  cron