Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This one line patch restores the {directory} tag to xTemplate, allowing designers to reference files in their theme directory in xtemplate.xtmpl
e.g.
<img src="/{directory}/design.jpg" alt="my design" width="760" height="110" />
Comment | File | Size | Author |
---|---|---|---|
xTemplate-directory.patch | 684 bytes | Robert Castelo | |
Comments
Comment #1
Steven CreditAttribution: Steven commentedApplied to CVS head and 4.5.
Comment #2
Robert Castelo CreditAttribution: Robert Castelo commented