Feature #1605
patch for dirlisting.extra-head confvar
| Status: | New | Start: | ||
| Priority: | Normal | Due date: | ||
| Assigned to: | jan | % Done: | 0% |
|
| Category: | mod_dirlisting | |||
| Target version: | 1.4.21 | |||
| Pending: | No |
Resolution: | ||
Description
As shown in the forums, you can add extra xhtml directives in the <head> element, but it's an ugly hack of the dirlisting.external-css confvar.
dirlisting.extra-head adds a cleaner and simpler way to do this. The variable, if specified, points to a file containing some text Lighty will dump at the end of the <head> element.
Note that at this point the given path isn't relative to the document root. It's an absolute path. Making it relative to the current virtual host's document root would allow to have virtual hosts specific files, but this is far beyond my current knowledge of Lighty's source code :-)