Feature #1605

patch for dirlisting.extra-head confvar

Added by jcak77 293 days ago. Updated 90 days ago.

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 :-)

mod_dirlisting_extra_head_confvar.patch - Patch for 1.4.19 (2.7 KB) jcak77, 03/19/2008 09:40 PM

History

03/19/2008 09:44 PM - jcak77

Changed Milestone to 1.4.20 since the patch is here so it can quickly be approved for inclusion of rejected.

03/19/2008 09:56 PM - jcak77

It would also solve ticket 1183.

10/08/2008 07:02 PM - stbuehler

  • Target version changed from 1.4.20 to 1.4.21

Also available in: Atom PDF