https://www.icyphoenix.com/viewtopic.php?f=32&t=4422 ----------------------------------- falke Sat 19 Jul, 2008 06:20 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, http://www.icyphoenix.com), then goes back to edit the post, it's adding [code linenumbers=false]" onclick="window.open(this.href);return false;[/code]to the end of every link in the post. So all links within the edited post end up looking like this: [code linenumbers=false]http://www.icyphoenix.com" onclick="window.open(this.href);return false;[/code] Any idea how to prevent that? ----------------------------------- Lopalong Sun 20 Jul, 2008 23:58 Re: Navigation Bar & Editing Links In Posts - Milky Way ----------------------------------- Your question deals with modifying phpbb3 core files. And should be posted at phpbb.com/. ;) ----------------------------------- Mighty Gorgon Wed 23 Jul, 2008 15:23 Re: Navigation Bar & Editing Links In Posts - Milky Way ----------------------------------- [quote user="falke" post="29911"]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 linenumbers=false]" onclick="window.open(this.href);return false;[/code]to the end of every link in the post. So all links within the edited post end up looking like this: [code linenumbers=false]http://www.icyphoenix.com" onclick="window.open(this.href);return false;[/code] Any idea how to prevent that?[/quote] For your first question you need to edit [b]menu_block.html[/b]. [codeblock]
{L_REGISTER}    {L_LOGIN_LOGOUT}    {L_PROFILE}    {L_RESTORE_PERMISSIONS}    {L_FORUM}    {PRIVATE_MESSAGE_INFO} / {PRIVATE_MESSAGE_INFO_UNREAD}    {L_MEMBERLIST}    {L_SEARCH}    {L_FAQ}
[/codeblock] The second question I don't really understand... do you have a link to check it please? ----------------------------------- drale Wed 30 Jul, 2008 18:16 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. ----------------------------------- Mighty Gorgon Sun 03 Aug, 2008 11:22 Re: Navigation Bar & Editing Links In Posts - Milky Way ----------------------------------- [quote user="drale" post="30144"]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.[/quote] Yes... that is correct... I always forget this step. :lol: ----------------------------------- jpavly Mon 04 Aug, 2008 10:52 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. ----------------------------------- eva Wed 18 Nov, 2009 15:48 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! :mrorange: ----------------------------------- Joshua203 Wed 18 Nov, 2009 22:41 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. ----------------------------------- eva Thu 19 Nov, 2009 02:06 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 linenumbers=false]
{L_REGISTER}    {L_LOGIN_LOGOUT}    {L_PROFILE}    {L_RESTORE_PERMISSIONS}    {L_FORUM}    {PRIVATE_MESSAGE_INFO} / {PRIVATE_MESSAGE_INFO_UNREAD}    {L_MEMBERLIST}    {L_SEARCH}    {L_FAQ}
[/code] ----------------------------------- Joshua203 Thu 19 Nov, 2009 02:29 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.php?f=32&t=6640#_Single_Post_View :wink: 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 ) ----------------------------------- eva Thu 19 Nov, 2009 02:42 Re: Navigation Bar & Editing Links In Posts - Milky Way Red ----------------------------------- It worked! Thanks! ----------------------------------- Joshua203 Thu 19 Nov, 2009 02:48 Re: Navigation Bar & Editing Links In Posts - Milky Way Red ----------------------------------- not so hard to do after all eyy? ;-) , .. you re welcome ----------------------------------- eva Thu 19 Nov, 2009 03:11 Re: Navigation Bar & Editing Links In Posts - Milky Way Red ----------------------------------- Yep, pretty simple! Now why didn't I think of that? haha