This topic is locked

Changing links in the menu

9/26/2008 9:55:35 AM
PHPRunner General questions
L
larsonsc author

Does anyone know how to change a link in the menu to point to the Advanced Search page rather than the List page in PHPR 5? I looked at the code for my menu, but don't see where to change the code to point to something other than list. The code for my menu is below and what I need to change is the link for "Downstream Utilization Trending". I have customized the appearance of the menu, and looking at the code below, it also appears that some of the code may have gotten jumbled around. Thankfully the menu still works as expected even with my mucking it up. Any help is greatly appreciated as I am not very versed in customizing the output with code modifications. Thanks.

{BEGIN Downstream_Utilization_Trending_tablelink}<DIV class="loginshade captions">Data

Management:<BR><IMG src="include/img/arrow_search.gif" border=0><A

class=loginshade {$CMTS_List_tablelink_attrs}>CMTS List</A><BR><IMG

src="include/img/arrow_search.gif" border=0><A class=loginshade

{$Interface_List_tablelink_attrs}>Interface List</A><BR><IMG

src="include/img/arrow_search.gif" border=0><A class=loginshade

{$FEC_Data_Entry_Review_tablelink_attrs}>FEC Data Entry/Review</A></DIV>{END Downstream_Utilization_Trending_tablelink}

{BEGIN FEC_Data_Entry_Review_tablelink}<DIV class="loginshade captions"><BR>Reports:<BR><IMG

src="include/img/arrow_search.gif" border=0><A class=loginshade

{$CMTS_Downstreams___450_CM_s_tablelink_attrs}>CMTS Downstreams &gt; 450

CM's</A><BR><IMG src="include/img/arrow_search.gif" border=0><A

class=loginshade {$Upstreams___150_MTA_s_tablelink_attrs}>Upstreams &gt;

150 MTA's</A><BR><IMG src="include/img/arrow_search.gif" border=0><A

class=loginshade

{$Downstream_Utilization_Trending_tablelink_attrs}>Downstream Utilization

Trending</A><BR><BR></DIV>{END FEC_Data_Entry_Review_tablelink}
Sergey Kornilov admin 9/26/2008

When template is processed {$Downstream_Utilization_Trending_tablelink_attrs} is replaced with

href="Downstream_Utilization_Trending_list.php"


You can replace it manually with

href="Downstream_Utilization_Trending_search.php"
L
larsonsc author 9/26/2008

When template is processed {$Downstream_Utilization_Trending_tablelink_attrs} is replaced with


href="Downstream_Utilization_Trending_list.php"


You can replace it manually with

href="Downstream_Utilization_Trending_search.php"


So are you saying then in the output\templates\menu.htm file I replace the {$Downstream_Utilization_Trending_tablelink_attrs} with href="Downstream_Utilization_Trending_search.php"?

Sergey Kornilov admin 9/26/2008

You need to make change in the code you posted.

L
larsonsc author 9/26/2008

Gotcha. Thanks.