Menu

Showing unallocated by default

Comments
geebzor
2007-02-13
2013-01-08
  • geebzor

    geebzor - 2007-02-13

    Hello,

    Love your application !  :)

    Wondering if it's possible to have the default view for everyone showing all unallocated ?
    At the moment it always hides the unallocated and users need to click "show unallocated".

    Thanks :)

    --
    geebs.

     
    • mearls

      mearls - 2007-02-13

      Hi geebs,

      If you edit the following file and change the following code lines, this should disable the unallocated|allocated view..

      boxes/box_CidrMenu.php

      Remove the following from the lines below.
      Line 52: &filter=unalloc
      Line 55: &filter=unalloc
      Line 58: &filter=unalloc

      Let me know if this works for you...

      Thanks again,

      mearls

       
    • geebzor

      geebzor - 2007-02-13

      Works like a charm  :)

       
    • geebzor

      geebzor - 2007-02-14

      Following up on this, that change seems to only affect the display when you 1st login to it.
      If you make a change, it reverts back to hidden.

      Is there a way I can always show unallocated ?

       
      • mearls

        mearls - 2007-02-14

        Sorry,

        My mind is lost tonight...

        Edit display.php and remove any reference to "&filter=unalloc" there should be 7 listed.

        ('display.php?range=list&iprange=<?php echo $iprange; ?>&netid=<?php echo $netid; ?>&filter=unalloc')">[GO BACK]</a> &nbsp;
          header("Location: display.php?range=list&iprange=$iprange&netid=$netid&filter=unalloc");
          header("Location: display.php?range=list&iprange=$iprange&netid=$netid&filter=unalloc");
          header("Location: display.php?range=list&iprange=$iprange&netid=$netid&filter=unalloc");
                        ('display.php?range=list&iprange=<?php echo $iprange; ?>&netid=<?php echo $netid; ?>&filter=unalloc')">[GO BACK]</a>&nbsp;
                        ('display.php?range=list&iprange=<?php echo $iprange; ?>&netid=<?php echo $netid; ?>&filter=unalloc')">[GO BACK]</a> &nbsp;
                <a href='display.php?range=list&iprange=$iprange&netid=$netid&filter=unalloc'>[HIDE UNALLOCATED]</a>&nbsp;

         
    • geebzor

      geebzor - 2007-02-16

      No need to apologise, you are doing me a favour  :)

      Thanks heaps, that works perfectly, from what I can see ;)

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.