Author Topic

André R.

Thursday 22 January 2009 6:55:40 am

Comment50607

It shouldn't be a problem to add the persistent_variable to other views, should it?

Not a 'problem', but you/we'll have to do it for all views, including the ones in extensions and so on..
After writing the post above, I modified ezwebin 1.4 locally to add these template functions, and also made it store the persistent_variable to a protected method on the template operator class for use by the function called in pagelayout (currently called ezpagedata in ezwebin trunk). I think this is a easier solution, as no views need to be modified..

I'll add a note when / if it is committed to svn.
(I need to find some time to test it, if any have some spare time click on my name..)

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom