R: [hobbit] problem with menu

Francesco Duranti fduranti at q8.it
Thu Feb 10 19:32:22 CET 2005


Thanks for the clarification but I was thinking i could have a different
menu for different pagesets (it was a nice option to let users see only
their hobbit pages).
 
Francesco

 
  _____  

Da: Thiesfeld, Gordon [mailto:GThiesfeld at webmd.net] 
Inviato: giovedì 10 febbraio 2005 19.25
A: hobbit at hswn.dk
Oggetto: RE: [hobbit] problem with menu



I think you need to modify $BBHOME/www/menu/menu_item.js.

 

Maybe something like this:

 

var MENU_ITEMS = [

        ['Views', null, null,

                ['Main view', '/hobbit/bb.html'],

                ['All non-green view', '/hobbit/bb2.html'],

                ['NK view', '/hobbit/bbnk.html'],

                ['Back','javascript:history.back()'], // The back button

        ],

 

        ['WIN Page Set', null, null,

                ['Main view', '/hobbit/WIN/bb.html'],

                ['All non-green view', '/hobbit/WIN/bb2.html'],

                ['NK view', '/hobbit/WIN/bbnk.html'],

        ],

 

 

The full documentation is here:

http://www.softcomplex.com/products/tigra_menu/docs/

  _____  

From: Francesco Duranti [mailto:fduranti at q8.it] 
Sent: Thursday, February 10, 2005 12:00 PM
To: 'hobbit at hswn.dk'
Subject: [hobbit] problem with menu

 

Hi all; I've a problem with the menu.

I've some alternate pagesets. 

I create them with a bbdisplay.sh because i need to define the BBWEB
environment variable if nothing changed from the last versions) that
contains the command:

BBWEB="/hobbit/WIN" bbgen --pageset=win --report=bbgen-win --nopurple --rss
$BBGENOPTIONS $BBHOME/www/WIN
and is launched from the hobbitlaunch config.

 

In the hobbitserver.cfg file i've 

BBGENOPTIONS="--hobbitd --nopropred=msgs,vmio --pagetext-headings
--recentgifs --subpagecolumns=2 --timing
--docurl=/bb/admin/notes.php?host=%s --rssversion=2.0
--eventignore=uptime,event,msgs,vmio,legato --includecolumns=graph
--bb2-ignorecolumns=legato"

I've copied the menu directory into the $BBHOME/www/hobbit/WIN directory and
changed the links into the js file to point to /hobbit/WIN/bb2.html but it's
not working it seems to point to the root /menu directory.

There's something that i've to do to get menu work with alternate sets? It's
important because i don't have any link to move around pages in alternates
subset.

 

Another request: It's possible to integrate a "back" link button in the
header page for example?

 

 

Thanks for the fantastic work you're doing :D 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20050210/46e2458f/attachment.html>


More information about the Xymon mailing list