|
That does work and I use to use it but since I do not want to see 150+ maps I only load my parent maps from topview.asp and in the order I want to see them. I do not want to see subnets from topview.
Here is what I do.
Take this out of Topview.asp
<%START_LOADED_MAP_LIST%> <tr > <td><a href="" (%MAP% FILENAME)>"> <%MAP% NAME> </A></td> <%IF% (%GREATERTHAN% (%MAP% TOTAL_DEVICES_UP,0))> <td bgcolor="#77ff77" align=right><%MAP% TOTAL_DEVICES_UP></td> <%ELSE%> <td align=right><%MAP% TOTAL_DEVICES_UP></td> <%ENDIF%>
<%IF% (%GREATERTHAN% (%MAP% (TOTAL_DEVICES_DOWN),0))> <td bgcolor="#FF7777" align=right><%MAP% TOTAL_DEVICES_DOWN></td> <%ELSE%> <td align=right> <%MAP% TOTAL_DEVICES_DOWN></td> <%ENDIF%>
<%IF% (%GREATERTHAN% (%MAP% (TOTAL_SERVICES_DOWN),0))> <td bgcolor="#ff77ff" align=right><%MAP% TOTAL_SERVICES_DOWN></td> <%ELSE%> <td align=right><%MAP% TOTAL_SERVICES_DOWN></td> <%ENDIF%> </tr>
<%END_LOADED_MAP_LIST%>
and replace it with
<%CURRENT_MAP% MAP1.wup> <%INCLUDE% NewTopMapDetail.asp> <%CURRENT_MAP% MAP2.wup> <%INCLUDE% NewTopMapDetail.asp> <%CURRENT_MAP% MAP3.wup> <%INCLUDE% NewTopMapDetail.asp> etc etc etc as many maps as needed.
Then make a new ASP file and call it whatever you want (example NewTopMapDetail.asp) and patse in
<tr > <td><a href="" (%MAP% FILENAME)>"> <%MAP% NAME> </A></td> <%IF% (%GREATERTHAN% (%MAP% TOTAL_DEVICES_UP,0))> <td bgcolor="#77ff77" align=right><%MAP% TOTAL_DEVICES_UP></td> <%ELSE%> <td align=right><%MAP% TOTAL_DEVICES_UP></td> <%ENDIF%>
<%IF% (%GREATERTHAN% (%MAP% (TOTAL_DEVICES_DOWN),0))> <td bgcolor="#FF7777" align=right><%MAP% TOTAL_DEVICES_DOWN></td> <%ELSE%> <td align=right> <%MAP% TOTAL_DEVICES_DOWN></td> <%ENDIF%>
<%IF% (%GREATERTHAN% (%MAP% (TOTAL_SERVICES_DOWN),0))> <td bgcolor="#ff77ff" align=right><%MAP% TOTAL_SERVICES_DOWN></td> <%ELSE%> <td align=right><%MAP% TOTAL_SERVICES_DOWN></td> <%ENDIF%> </tr>
That should work
Tv
-----Original Message-----
It's defined by the order they're in the open maps on startup section of program options. For example, if you have:
MapA MapB MapC
in the options, then you'll see:
MapC MapB MapA
in the Web interface. Note that they're in reverse order and I had to restart the console/service for the change to take effect. I've confirmed this on WUG 8.03, and have no idea whether it works on previous versions or other v8 minor releases.
Matt
From: Glatt,
Robert [mailto:[EMAIL PROTECTED]
If you can find the answer to that question you will have the eternal thanks of a lot of users
|
Title: Web page map order
- [WhatsUp Forum] Web page map order Jason Humes
- RE: [WhatsUp Forum] Web page map order Anthony Valuikas
- RE: [WhatsUp Forum] Web page map order Glatt, Robert
- RE: [WhatsUp Forum] Web page map order Adcock, Matt
- RE: [WhatsUp Forum] Web page map order Anthony Valuikas
- RE: [WhatsUp Forum] Web page map order Mike Krygeris
- RE: [WhatsUp Forum] Web page map order Glatt, Robert
- RE: [WhatsUp Forum] Web page map order Mike Krygeris
- RE: [WhatsUp Forum] Web page map order Glatt, Robert
- RE: [WhatsUp Forum] Web page map order Kevin Fradley
- RE: [WhatsUp Forum] Web page map order Kent, Robert
