Thank you sir. I am ALMOST there... After playing with it for a while, I got it to generate the new pagesets, and I can get there if I manually type the pageset name in the URL as in :
But a link to "test" never shows up on the main page:
Is this the way it is intended to work or am I missing another piece of the puzzle?
Thanks
KEvin
-----Original Message----- From: Henrik Stoerner [mailto:henrik at hswn.dk] Sent: Sunday, March 13, 2005 1:21 AM To: hobbit at hswn.dk Subject: Re: [hobbit] Pagesets Importance: Low
On Sun, Mar 13, 2005 at 12:18:33AM -0500, Kevin Hanrahan wrote:
OK, I'm lost! I am trying to define and build alternate pagesets but I am not sure where I made my mistakes! I ahe defined one pageset as follows: [snip config] But no extra page shows up!
From the man pages, it says:
All of this just defines the layout of the new pageset. To generate it, you must run bbgen once for each pageset you define
How do I do this?? Where is bb-display.sh?? I know these instructions were written for someone running bbgen on top of the normal BB setup But is there a way to use it on Hobbit?
Put the commands to run bbgen into a script, e.g. ~hobbit/server/ext/testpages.sh
BBWEB="/bb/test" $BBHOME/bin/bbgen \
--pageset=test --template=tes \
$BBHOME/www/test/
And add a new section to hobbitlaunch.cfg to run that at whatever interval you want - you can copy the [bbdisplay] part and just change the command:
[bbdisplay-test] ENVFILE /usr/local/hobbit/server/etc/hobbitserver.cfg NEEDS hobbitd GROUP generators CMD $BBHOME/ext/testpages.sh LOGFILE $BBSERVERLOGS/bb-display.log INTERVAL 5m
Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
In <EF22302EC121A246A79988281A534DFC0866 at hermes.ewormhole> Kevin Hanrahan <Kevin at ewormhole.com> writes:
Thank you sir. I am ALMOST there... After playing with it for a while, I got it to generate the new pagesets, and I can get there if I manually type the pageset name in the URL as in :
But a link to "test" never shows up on the main page:
Is this the way it is intended to work or am I missing another piece of the puzzle?
That is the way it's supposed to work. The pagesets don't know about each other - and they shouldn't, because one of the reasons for doing pagesets might be that you want to hide some hosts from one group of users.
For an easy link between pagesets, add a link to each pageset to the "Views" menu. It's in the file ~hobbit/server/www/menu/menu_items.js
Regards, Henrik
participants (2)
-
henrik@hswn.dk
-
Kevin@ewormhole.com