RE: Default templates per directory.
"Anthony Eden" <[email protected]> Tue, 5 Nov 2002 10:28:30 -0500
| Newsgroups | gmane.comp.java.jpublish.devel |
|---|---|
| Message-ID | <000901c284df$fecaeb40$1cc0010a@berenice> |
Not at the moment. However, you could put the following in your basic template: #if ($headers) #foreach ($header in $headers) $header #end #end And then have an action which is assigned to a path which puts the headers in the context. If the action is executed then the $headers list will be used, otherwise nothing will be added to the template. Is this sufficient or do you still see the need for path-level control over template assignments? Sincerely, Anthony Eden > -----Original Message----- > From: [email protected] > [mailto:[email protected]]On Behalf Of > Lateef Jackson > Sent: Tuesday, November 05, 2002 10:08 AM > To: [email protected] > Subject: [JPublish-developer] Default templates per directory. > > > > > Is there a way to use the basic.* on a per directory basis? I have some > headers that would be nice to put in for every page that is in a > specific directory. > JPublish rules!! > > > > ------------------------------------------------------- > This sf.net email is sponsored by: See the NEW Palm > Tungsten T handheld. Power & Color in a compact size! > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en > _______________________________________________ > Jpublish-developer mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/jpublish-developer > ------------------------------------------------------- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en