Hi,

There is a solution inside the function of the custom modifier to get
the default text that will be replaced ?

For example, in :

<span tal:content="mymodifier: newText" class="important">Hello
World</span>

Inside my phptal_tales_mymodifier() function, I want to get "Hello
World".


Another example :

<img src="#" title="Hello World" tal:attributes="title mymodifier:
newText" />

I want to get "Hello World".


Thanks for your help !




_______________________________________________
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal

Reply via email to