|
From: Chris N. <pu...@po...> - 2001-04-12 17:43:20
|
At 19:29 +0200 2001.04.12, as...@en... wrote: >I'm trying to refer to a section's name from within the index.pl file. This >works nicely from article.pl -- $section.title and $section.section -- but >index.pl seems blind to its origins. I see that slashdisplay is what sends >the template its variables, but I don't understand how the DBI works enough >to be able to add to the variables that the index template receives. >Can anyone help? It should only be a line or two of code added index.pl . In >fact, maybe index.pl already does know its own section but it's simply >accessed another way. Well, if index.pl is set to a particular section, you should be able to get it with $form.section, since that is the only way I know of to set index.pl to a particular section. -- Chris Nandor pu...@po... http://pudge.net/ Open Source Development Network pu...@os... http://osdn.com/ |