[prev in list] [next in list] [prev in thread] [next in thread]
List: smarty-dev
Subject: Re: [SMARTY-DEV] Feature request
From: 212.113.126.245
Date: 2003-08-22 7:59:02
[Download RAW message or body]
On 21 Aug 2003 09:01:22 -0500, Monte Ohrt <monte@ispi.net> wrote:
> You already can supply filepaths relative to $template_dir, or was that
> not what you meant?
I mean 'path to included template relative to including template'.
This could have the same advantages for big template trees as having
relative links in big HTML document tree: you can freely copy, move or
rename subdirectories without need to change all links in contained
templates.
Konstantin A. Pelepelin
>> A request for next (2.7?) version:
>> It'll be good to support relative filenames for includes in templates.
>> This can be combined with last line in TODO file (no need to specify
>> resource type in includes).
>> For the purposes of backward compatibility it could be added as new
>> resource type, i.e
>> {include file='rel:relative/filename.html'}
--
Smarty Development Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic