Title: Message
Are you on ver 7 or 8? I place those lines in my topview (8) and it cut off my entire map. Not a big deal because the other way will work for me and I have about 150 subnets to cut off of the main root page. In my case I only need about 15 maps to load for regions.
 
Thanks
Tv
 
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of McNeil, Jim
Sent: Wednesday, January 29, 2003 2:33 PM
To: '[EMAIL PROTECTED]'
Subject: RE: [WhatsUp Forum] Remove Subnets from Root web page

I was able to do this using an %IF% statement between the %START and %END_LOADED_MAP_LIST% in topview.asp.  See the second line below.  Just replace Entire_Network.wup with the file name of the map you don't want to display.  You should be able to nest two if statements to remove both maps from the list.
 
                <%START_LOADED_MAP_LIST%>
                  <%IF% (%MATCH% (%MAP% FILENAME,Entire_Network.wup))>
                    <!-- I don't want to display Entire Network in the map list -->
                  <%ELSE%>
                    <tr>
                      <td><a href=""> <%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>
                  <%ENDIF%>
                <%END_LOADED_MAP_LIST%>
 
Jim
-----Original Message-----
From: Anthony Valuikas [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 29, 2003 2:57 PM
To: [EMAIL PROTECTED]
Subject: RE: [WhatsUp Forum] Remove Subnets from Root web page

What I was trying to do was to load maps A, B, C, AA, and BB but only show A, B, and C because AA and BB are subnets and I do not want to see subnets on the root web page.
 
I just did not see the "2" <%START_LOADED_MAP_LIST%> in topview.asp. Once I caught that I took the second
<%START_LOADED_MAP_LIST%> through <%END_LOADED_MAP_LIST%> and made a NewTopMapDetail.asp excluding the START and STOP lines then I placed
<%CURRENT_MAP% mapname.wup>
<%INCLUDE% NewTopMapDetails.asp>
etc
etc
 
and my maps are in order without showing subnets from the root web page and also allowing subnets to be clicked from any map.
 
cool stuff...
 
Tv
 
 
 
 
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Roque Juan C IT751
Sent: Wednesday, January 29, 2003 10:11 AM
To: '[EMAIL PROTECTED]'
Subject: RE: [WhatsUp Forum] Remove Subnets from Root web page

<!--
 Whatsup Gold 7
 
 Main Page Prefix
 ----------------
 You can insert HTML in this file and it will appear as a prefix on your main page.
-->
 
 
 
<TABLE width="98%" border=1>
<TR>
 <TD width="100%" align=center>
 <%CURRENT_MAP% <rootmapname>.WUP>
 <A href="">
 <img alt="<%MAP% NAME>" ISMAP src="" border=0></A>
</TD>
</TR> 
 

 <TR>
  <TD width="100%" align=center><FONT COLOR="0050c0"><B>LEGEND</B></FONT>
  </TD>
 </TR>
</TABLE>
 
<TABLE width="98%" border=1 bgColor="#CCCCCC"> 
 <TR>
  <TD width=200 BGCOLOR="#CCCCCC">
  <FONT COLOR=GREEN><b>GREEN</b></FONT> = 0-1 Polls Missed
  </TD>
  <TD width=200 bgColor="#CCCCCC">
  <FONT COLOR=YELLOW><b>YELLOW</b></FONT> = 2-3 Polls Missed
  </TD>
  <TD width=200 bgColor="#CCCCCC">
  <FONT COLOR=RED><b>RED</b></FONT> = 4 or More Polls Missed
  </TD>
  <TD width=200 bgColor="#CCCCCC">
  <FONT COLOR=PINK><b>PINK</b></FONT> = Service Down
 </TR>
</TABLE>
 
Juan
-----Original Message-----
From: Anthony Valuikas [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 29, 2003 10:47 AM
To: [EMAIL PROTECTED]
Subject: [WhatsUp Forum] Remove Subnets from Root web page

How would you static maps to the root web page?
 
I thought you could rip the <%START_LOADED_MAP_LIST%> through to <%END_LOADED_MAP_LIST%> and place that into a new file NewTopMapDetails.asp, excluding the START and END then;
 
<%CURRENT_MAP% mapname.wup>
<%INCLUDE% NewTopMapDetails.asp>
etc
etc
 
but that does not do the trick.
 
thoughts?
 
Thanks
Tv
 


Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.

Reply via email to