https://www.icyphoenix.com/viewtopic.php?f=35&t=5334 ----------------------------------- christmanrd Thu 22 Jan, 2009 13:42 Editing, "Top Menu" In The Header Using, "overall_header_bl.tpl" ----------------------------------- I am trying to edit this menu. [img]http://www.icyphoenix.com/files/images/5856/tp_menu_hdr.png[/img] What I want to do is change, "New" to "News Feed" which is a link to "newsfeed.php". I also want this to be visible/available to all users. I have tried changing this: [code linenumbers=false] {L_NEW2}    [/code] To this but, it did not work: [code linenumbers=false] News Feed    [/code] Any help will be greatly appreciated. Thanks, David ----------------------------------- Limun Thu 22 Jan, 2009 14:12 Re: Editing, "Top Menu" In The Header Using, "overall_header_bl.tpl" ----------------------------------- the adress u writed is ok... problem can be only where u did puted this example : if you puted between [code linenumbers=false]xxxx[/code] you will not see it try this (so add your link affter any ) : [spoiler] News Feed    [/spoiler] this gona be visible for all users logged in ..... and for guests it gona be invisible .... ----------------------------------- christmanrd Thu 22 Jan, 2009 14:24 Re: Editing, "Top Menu" In The Header Using, "overall_header_bl.tpl" ----------------------------------- Thank you however, let me show you the code again. This example shows more code. Code 1: Original [code linenumbers=false] {L_INDEX}    {L_NEW2}    [/code] Code 2: Modified [code linenumbers=false] {L_INDEX}    News Feed    {L_POSTS}: {L_NEW2} • {L_DISPLAY_U} • {L_DISPLAY_M} • {L_DISPLAY_P}    [/code] ----------------------------------- Limun Thu 22 Jan, 2009 14:53 Re: Editing, "Top Menu" In The Header Using, "overall_header_bl.tpl" ----------------------------------- [quote user="christmanrd" post="35857"]Thank you however, let me show you the code again. This example shows more code. Code 1: Original [code linenumbers=false] {L_INDEX}    {L_NEW2}    [/code] Code 2: Modified [code linenumbers=false] {L_INDEX}    News Feed    {L_POSTS}: {L_NEW2} • {L_DISPLAY_U} • {L_DISPLAY_M} • {L_DISPLAY_P}    [/code][/quote] something is wrong in this your modified code ... there is missing one here need to be something like this : [spoiler] {L_HOME}  ♦  {L_INDEX}  ♦  [color=red]News Feed    {L_NEW2}  ♦  {L_POSTS}: {L_NEW2} • {L_DISPLAY_U} • {L_DISPLAY_M} • {L_DISPLAY_P}  ♦  {L_PROFILE}  ♦  {L_SEARCH}  ♦  {L_FAQ}  ♦  {L_REGISTER}  ♦  {L_LOGIN_LOGOUT2}[/spoiler] ----------------------------------- christmanrd Thu 22 Jan, 2009 16:18 Re: Editing, "Top Menu" In The Header Using, "overall_header_bl.tpl" ----------------------------------- As per your instructions this is what I did: [code linenumbers=false] {L_HOME}    {L_INDEX}    News Feed    {L_NEW2}    {L_POSTS}: {L_NEW2} • {L_DISPLAY_U} • {L_DISPLAY_M} • {L_DISPLAY_P}    [/code] It (News Feed) is not displaying for all and (New) is still displaying for "Users". ----------------------------------- Limun Thu 22 Jan, 2009 18:22 Re: Editing, "Top Menu" In The Header Using, "overall_header_bl.tpl" ----------------------------------- so , you want to remove "New" and at same place add "News Feed" vieweble only to registred users ? ----------------------------------- christmanrd Thu 22 Jan, 2009 18:37 Re: Editing, "Top Menu" In The Header Using, "overall_header_bl.tpl" ----------------------------------- Yes, that is exactly what I tried to say when I opened this post. [quote user="christmanrd" post="35853"]I am trying to edit this menu. [img]http://www.icyphoenix.com/files/images/5856/tp_menu_hdr.png[/img] What I want to do is change, "New" to "News Feed" which is a link to "newsfeed.php". I also want this to be visible/available to all users.[/quote] ----------------------------------- Limun Thu 22 Jan, 2009 18:39 Re: Editing, "Top Menu" In The Header Using, "overall_header_bl.tpl" ----------------------------------- [spoiler] {L_HOME}    {L_INDEX}    News Feed    {L_POSTS}: {L_NEW2} • {L_DISPLAY_U} • {L_DISPLAY_M} • {L_DISPLAY_P}    [/spoiler] it shoud work like this ----------------------------------- christmanrd Thu 22 Jan, 2009 18:55 Re: Editing, "Top Menu" In The Header Using, "overall_header_bl.tpl" ----------------------------------- There has not been any change. It is still showing up as New when a user is logged in and does not show anything when a guest is viewing. I even went to a different computer that has not been at the website and it is the same. Here is my complete file: [code linenumbers=false] {DOCTYPE_HTML} {META} {META_TAG} {NAV_LINKS} {PAGE_TITLE} {TOP_HTML_BLOCK} {PROFILE_VIEW}
{L_HOME}    {L_INDEX}    News Feed    {L_POSTS}: {L_NEW2} • {L_DISPLAY_U} • {L_DISPLAY_M} • {L_DISPLAY_P}    {L_PROFILE}    {L_SEARCH}    {L_FAQ}    {L_REGISTER}    {L_LOGIN_LOGOUT2}
{L_STAFF_MESSAGE}

{switch_header_table.HEADER_TEXT}
{ctracker_message.L_MESSAGE_TEXT}
{ctracker_message.L_MARK_MESSAGE}
{PRIVATE_MESSAGE_INFO}
{L_BOARD_DISABLE}
{PORTAL_HEADER} {PORTAL_HEADERLEFT}
{PORTAL_HEADERCENTER} [/code] ----------------------------------- Limun Thu 22 Jan, 2009 19:07 Re: Editing, "Top Menu" In The Header Using, "overall_header_bl.tpl" ----------------------------------- man...i see style icy phoenix on your site to display it on current template (icy phoenix) you need to edit [b]overall_header.tpl[/b] [b]overall_header_bl.tpl[/b] is for blue and black pearl style ..... ----------------------------------- christmanrd Thu 22 Jan, 2009 19:38 Re: Editing, "Top Menu" In The Header Using, "overall_header_bl.tpl" ----------------------------------- BINGO!!!!! That was the culprit. Thank you. All is well now. At least until the next project. :lol: ----------------------------------- Lopalong Thu 22 Jan, 2009 20:40 Re: Editing, "Top Menu" In The Header Using, "overall_header_bl.tpl" ----------------------------------- That is always a problem when you edit ONE template to try to affect what should be done Globally by editing the Lang File: lang_main_upi2db.php Then you wouldn't need to edit any templates. Apart from changing permissions as you require. ;) I suggest that you put back the Lang Var and make your changes to the appropriate lang file - otherwise you will have edit every theme overall_header*.tpl that you use now and in the future. :(