Re: half-automated navbar
Michael Gruner <[email protected]>
| Newsgroups | gmane.comp.web.wml |
|---|---|
| Message-ID | <[email protected]> |
Hi, On Tue, 2003-04-29 at 17:42, Denis Barbier wrote: > it looks like petidomo transformed some code lines, and your example > was not readable. Anyway it does not work because you cannot use pass 3 > to generate code which has to be parsed during pass 2. Oh yes, I thought the navbar would be executed later in the process, after pass 3. > You should explain what you want to perform, and we will try to find > a solution. The idea is to get my navigation fully user independent. For doing that I thought it would be nice to use eperl together with that nice navbar-tag. The perl function would scan my directory for *.wml files and automatically create entries for my navigation bar with the help of the navbar:button tag. All that should happen in my template file which is included into my wml files. Theoretically that might be possible using the WML_SRC_BASENAME/FILENAME variables as well. So the only thing I have to do to insert a new item is to create a new wml file with the name of the item (_ in the filename might be replaced by spaces), include the template-file and execute wmk without thinking about changing my nav-bar. Nice dream, isn't it? mg -- Windmuehlenweg 22 07907 Schleiz mobil: +491628955029 e-Mail: [email protected] ICQ: 94738113 _____________________________________________________________________ Website META Language (WML) http://thewml.org User Support Mailing List [email protected] Automated List Manager [email protected]