[WM] navigation bars with WebMake
Joern Clausen
joern.TechFak.Uni-Bielefeld.DE
Mon May 14 16:29:47 IST 2001
Hi!
> > Then I tried to create this list with a short Perl script. This is no
> > problem. In addition, I wanted every entry to be a hyperlink, except the
> > entry for the current page. I generated the links with $obj->get_url,
> > and wanted to compare each one to the URL of the current page. I was not
> > able to find a function that returns the URL of the current page. Is
> > there one? Or is there a better strategy for solving this problem?
>
> Yes, there is one -- get_current_main_content() will return the name of
> the page's "main" content item.
Are {perlout} sections evaluated only once? I get the same result for
get_current_main_content() on different pages. It's always the value from
the first page that gets generated. Is it possible to turn off this
"optimization", or is this simply a bug? I'd say so...
--
Joern Clausen joern at TechFak.Uni-Bielefeld.DE
Faculty of Technology http://www.TechFak.Uni-Bielefeld.DE
Bielefeld University, Germany
More information about the Webmake-talk
mailing list