Marc - Sebastian Lucksch > Dotiac-0.8_1 > Dotiac::DTL::Tag::ssi

Download:
dotiac/Dotiac-0.8_1.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 0.8   Source  

NAME ^

Dotiac::DTL::Tag::ssi - The {% ssi FILE [parsed] %} tag

SYNOPSIS ^

Template file:

        Some text {% ssi "/home/foo/web/index.html" %}
        Some other text {% ssi "/home/foo/web/djangoindex.html" parsed %}

DESCRIPTION ^

Similar to the {% include %} (Dotiac::DTL::Tag::include) tag, but includes FILEs to be included from anywhere in the filesystem. So this tag will only work if $Dotiac::DTL::ALLOWED_INCLUDE_ROOTS is set to true (See Dotiac::DTL::Core).

If there is a "parsed" at the end of the tag the file is treated as a template. (like {% include %}) If it isn't there, just the text is included, no matter what is in there.

BUGS AND DIFFERENCES TO DJANGO ^

The ssi-tag can't work with template objects, there is no need, use the include-tag for that.

If you find any, please let me know.

SEE ALSO ^

http://www.djangoproject.com, Dotiac::DTL

LEGAL ^

Dotiac::DTL was built according to http://docs.djangoproject.com/en/dev/ref/templates/builtins/.

AUTHOR ^

Marc-Sebastian Lucksch

perl@marc-s.de

syntax highlighting: