Forums / Extensions / tplsession extension??

tplsession extension??

Author Message

cliffp pratt

Monday 25 October 2010 9:01:14 pm

I am trying to upgrade a site from 3.8 to 4.2 or 4.3. One of the extensions that it uses is called 'tplsession' and we have version 0.1, which is marked as 'alpha'. The README file has an email address of [email protected] and the name of the author is given as Marius Eliassen.

Does anyone know anything about this extension, please?

Cheers,

Cliff

André R.

Tuesday 26 October 2010 1:39:02 am

'me' does not work here anymore, and I can't find the extension in question but I remember that he created it.

Whats the issue?
It should be a fairly simple extension if I remember correctly.

Just make sure to fix references, use eZHTTPTool api for sessions instead of $_SESSION directly and compare it to other template operators that have been ported already to look for method signature changes and so on.

Alternatively find another extension that contains session get / set functions, swark might have it, and a bunch of other stuff your not supposed to use in templates :)

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

cliffp pratt

Tuesday 26 October 2010 9:47:00 pm

Thanks André, Yes, it does look fairly simple, but I'm not a programmer. Oh well, I just hope it works in 4.2.0. I was hoping that it might have been incorporated into the core or otherwise made redundant.

It uses 'defines' and the notes for the 4.0 upgrade talks about "constants of the eZ Publish kernel". I'm not sure whether the defines in the extension fall into that category but they do start with EZ_.....

Thanks again,

Cliff