[PHPTAL] Re: PHP Tales custom modifiers syntax (James McLean)
Joshua Paine
lists at fairsky.us
Wed Dec 26 18:53:17 CET 2007
Patrick Burke wrote:
> I didn't think it was possible to nest tales modifiers because the
> parser assumes that anything after the modifier is the subject that
> needs modifying.
When I needed to do this often with a specific tales modifier, I wrote
my modifier to parse the rest of the code, mostly by copying the guts
out of phptal_tales_path. But I had to do some fancy stuff in that one
because I was sort of changing the semantics of TALES.
For some purposes, it seems to work to do this:
tal:content="path:mod1:mod2:/my/path"
I don't know if that'll do it for you.
--
Joshua Paine
Chief Tower Builder
LetterBlock Software
http://letterblock.com/
More information about the PHPTAL
mailing list