On Wed, 12 Dec 2001, Gerry Jones wrote:

> I want to create a menu/navigational section for a website I plan on
> building, and I would like to know if there are any easy-to-use modules I
> could use, or if there's another way. My website will have many levels and I
> don't fancy copying, pasting and tweaking the HTML to get the menu to look
> right on every page. I need someway that will make life easier, that will
> preferably, automatically include new pages.

For raw HTML, you should use SSI, or some kind of templating scheme to
insert the menu into the page.  I've built sub-components with
Text::Template and inserted them into a main page (also using
Text::Template), and it worked out very well.  You can even have dynamic
code in your sub-components.

Beyond templating, you can go with a component-based system like Mason,
which lets you build up web applications using pre-built components.

-- Brett
                                          http://www.chapelperilous.net/
------------------------------------------------------------------------
Too many people are thinking of security instead of opportunity.  They seem
more afraid of life than death.
                -- James F. Byrnes


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to