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 me@ez.no 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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 30 2025 00:45:01
Script start
Timing: Jan 30 2025 00:45:01
Module start 'layout'
Timing: Jan 30 2025 00:45:01
Module start 'content'
Timing: Jan 30 2025 00:45:02
Module end 'content'
Timing: Jan 30 2025 00:45:02
Script end

Main resources:

Total runtime0.5801 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0045 588.1094151.1953
Module start 'layout' 0.00450.0022 739.304736.6250
Module start 'content' 0.00670.5725 775.9297478.3828
Module end 'content' 0.57920.0008 1,254.312511.8750
Script end 0.5801  1,266.1875 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.6790160.0002
Check MTime0.00150.2500160.0001
Mysql Total
Database connection0.00050.092810.0005
Mysqli_queries0.526790.7913570.0092
Looping result0.00060.1081550.0000
Template Total0.533391.920.2667
Template load0.00400.681420.0020
Template processing0.529391.252120.2647
Template load and register function0.00010.020310.0001
states
state_id_array0.00330.572310.0033
state_identifier_array0.00160.278720.0008
Override
Cache load0.00340.5942190.0002
Sytem overhead
Fetch class attribute can translate value0.00050.079820.0002
Fetch class attribute name0.00090.162140.0002
XML
Image XML parsing0.00070.122420.0004
class_abstraction
Instantiating content class attribute0.00000.001940.0000
General
dbfile0.01121.9240170.0007
String conversion0.00000.000840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs