Re: [PHPTAL] use of 'structure' with custom PHPTAL modifier

2013-09-09 Thread Kornel Lesiński
On Tue, 03 Sep 2013 22:27:56 +0100, Chris Young wrote: *Invalid TALES path: 'structure /some/path', expected 'structure /some/path' to be variable name* Is there something simple I'm missing? I understand I *could* do: and change the function accordingly, which isn't really that bad, but I

[PHPTAL] Re: use of 'structure' with custom PHPTAL modifier

2013-09-09 Thread Bas Kooij
Chris Young writes: > > Hello all you PHPTalians,  > I'm attempting to create an 'abbrev' custom PHPTAL modifier. It would, if the value is over a certain length, output it wrapped in an tag, with the value appended by '...'. I intended to use it like this: > > > > > To this end I devised