Forums / Setup & design / ez extension migration: missing parts - ezpagedata issue [SOLVED]

ez extension migration: missing parts - ezpagedata issue [SOLVED]

Author Message

Lo' F.

Monday 25 October 2010 2:29:15 pm

Hi there,

I have to move a project originally based on ezwebin to a new ez installation, both 4.3. The new one is based on a plain_site layout though.

When I installed my new extension package, lots of templates parts where missing starting from the top menu, and instead of the loaded page logo I got a text link.

It seems as if this condition inside pagelayout.tpl is not taken into consideration:

{if $pagedata.top_menu}..

as well as this other one inside page_header_logo.tpl, for instance:

{if $pagedesign.data_map.image.content.is_valid|not()}..

and since $pagedata and $pagedesign come from this code snipped:

{def $pagedata         = ezpagedata()
     ..
     $pagedesign       = $pagedata.template_look
     ..}

I believe it has something to do with ezpagedata().

Any idea? ..Thx!

loredanaebook.it

André R.

Tuesday 26 October 2010 1:32:24 am

ezpagedata is an webin operator that does page initialization in php for speed, and instead of being able to change it direclty you can customize it's result with persistent variable and / or parameter hash to operator.

plain site is old, and does not have any of this features that webin has been getting over the years, so hence it behaves a lot differently.

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

Lo' F.

Tuesday 26 October 2010 4:58:14 am

"

ezpagedata is an webin operator that does page initialization in php for speed, and instead of being able to change it direclty you can customize it's result with persistent variable and / or parameter hash to operator.

plain site is old, and does not have any of this features that webin has been getting over the years, so hence it behaves a lot differently.

"

Thank you Andre' for your explanation.

The one where I need to pass my extension package is somebody else's eZ installation and they have made it on a plain_site basis.

Since I am passing both my extension and ezwebin extension full packages, I was wondering if by enabling the two of them in the admin back-end> Setup> Extensions> Available extensions and so realoading the extensions' autoload arrays, will this make ezpagedata() works?

loredanaebook.it

Lo' F.

Tuesday 26 October 2010 12:21:03 pm

"

..by enabling the two of them in the admin back-end> Setup> Extensions> Available extensions and so realoading the extensions' autoload arrays, will this make ezpagedata() works?

"

..and the answer is yes!

loredanaebook.it

Jorge estévez

Thursday 11 August 2011 2:01:01 pm

Hello...

I am having some problems with ezpagedata, my pagelayout menu does not display top menues, top information (tag cloud, login), left menu and bottom information.

As far as I have investigated the $pagedata  = ezpagedata() is not working at all so at page_header.tpl the following will not work: {include uri=concat('design:menu/', $pagedata.top_menu, '.tpl')}

and the menu does not appear at all.

My web site is loscated at http://www.webdesigncuba.com/index.php?/Muestra-de-trabajos/Diseno-Web-Intranet

need help.

Diseño Web Cuba
Web Design Cuba
www.elfosdesign.com

eZ debug

Timing: Jan 17 2025 20:01:14
Script start
Timing: Jan 17 2025 20:01:14
Module start 'content'
Timing: Jan 17 2025 20:01:15
Module end 'content'
Timing: Jan 17 2025 20:01:16
Script end

Main resources:

Total runtime1.1856 sec
Peak memory usage4,096.0000 KB
Database Queries203

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0046 596.3047180.8047
Module start 'content' 0.00461.0460 777.1094659.6875
Module end 'content' 1.05060.1348 1,436.7969342.2266
Script end 1.1854  1,779.0234 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.3125210.0002
Check MTime0.00130.1106210.0001
Mysql Total
Database connection0.00050.045010.0005
Mysqli_queries1.098092.61542030.0054
Looping result0.00200.17272010.0000
Template Total1.157897.720.5789
Template load0.00190.158920.0009
Template processing1.155997.494920.5779
Template load and register function0.00020.016010.0002
states
state_id_array0.00120.097310.0012
state_identifier_array0.00140.116120.0007
Override
Cache load0.00170.1413450.0000
Sytem overhead
Fetch class attribute can translate value0.00110.094940.0003
Fetch class attribute name0.00090.079470.0001
XML
Image XML parsing0.00310.257840.0008
class_abstraction
Instantiating content class attribute0.00000.001590.0000
General
dbfile0.00720.6087340.0002
String conversion0.00000.000430.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
12content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezxmltags/emphasize.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/emphasize.tplEdit templateOverride template
3content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
2content/datatype/view/ezxmltags/quote.tpldatatype/ezxmltext/quote.tplextension/ezwebin/design/ezwebin/override/templates/datatype/ezxmltext/quote.tplEdit templateOverride template
1content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 33
 Number of unique templates used: 9

Time used to render debug report: 0.0002 secs