Forums / Setup & design / Pagelayout not displayin right and ezpagedata missing information

Pagelayout not displayin right and ezpagedata missing information

Author Message

Jorge estévez

Friday 12 August 2011 4:29:48 am

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

Jorge estévez

Friday 12 August 2011 4:41:18 am

Following Warnings and error I get at the site http://www.webdesigncuba.com/index.php?/Muestra-de-trabajos/Diseno-Web-Intranet
Warning: eZTemplate
Operator 'ezpagedata' is not registered

Error: eZTemplate @ extension/ezwebin/design/ezwebin/templates/page_header.tpl:17[13]
Cannot retrieve attribute of a NULL

Warning: eZTemplate
No template could be loaded for "menu/.tpl" using resource "design"
----------
First of all I get 'ezpagedata' as not registered (first warning)
So ezpagedata does not contain information
When it comes to {include uri=concat('design:menu/', $pagedata.top_menu, '.tpl')} at page_header.tpl (the error) it will not know any valid info for $pagedata.top_menu and thus the next warnig arises: No template could be loaded for "menu/.tpl" using resource "design" (the second warning)
oops... my pagelayout gets truncated...
thanks

 

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

Ivo Lukac

Friday 12 August 2011 6:45:30 am

A stupid question: do you have ezwebin extension, is it enabled and did you regenerate autoload array?

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

Jorge estévez

Friday 12 August 2011 2:29:22 pm

Hi,

Yes I have ezwebin, have enabled it, have regenerated aoutoloads several times, clear the cache in so many ways... but it still behaves the same.

The only difference I have noticed is that the debug information list sometimes does not display nothing at all just as if I had no errors or warnings, and sometimes it lists some errors and warning about the ezpagedata issue, but in both cases the pagelayout does not display menus or other information related with the ezpagedata.

Thanks

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

Ivo Lukac

Saturday 13 August 2011 1:22:14 am

You can always bypass the pagedata, e.g.:

{include uri=concat('design:menu/double_top.tpl')} or {include uri=concat('design:menu/flat_top.tpl')}

as you probably will not change the top menu template,ever.

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

Jorge estévez

Saturday 13 August 2011 3:10:03 pm

I will try it, my header/footer will never change as you just said...

Thanks very much!

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

Jorge estévez

Monday 15 August 2011 7:12:24 am

 

Works , still some minor adjustements mus be done...

http://www.elfosgrafica.com/index.php?/Muestra-de-trabajos

thanks

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

eZ debug

Timing: Jan 17 2025 19:58:25
Script start
Timing: Jan 17 2025 19:58:25
Module start 'content'
Timing: Jan 17 2025 19:58:27
Module end 'content'
Timing: Jan 17 2025 19:58:27
Script end

Main resources:

Total runtime1.2893 sec
Peak memory usage4,096.0000 KB
Database Queries208

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0055 596.3203180.8047
Module start 'content' 0.00551.1126 777.1250635.1953
Module end 'content' 1.11810.1710 1,412.3203341.2891
Script end 1.2892  1,753.6094 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.2983210.0002
Check MTime0.00140.1105210.0001
Mysql Total
Database connection0.00050.036910.0005
Mysqli_queries1.188892.20992080.0057
Looping result0.00250.19302060.0000
Template Total1.262697.920.6313
Template load0.00190.149220.0010
Template processing1.260797.785020.6304
Template load and register function0.00020.018610.0002
states
state_id_array0.00110.082410.0011
state_identifier_array0.00090.071320.0005
Override
Cache load0.00180.1359530.0000
Sytem overhead
Fetch class attribute can translate value0.00160.127330.0005
Fetch class attribute name0.00130.097280.0002
XML
Image XML parsing0.00280.216830.0009
class_abstraction
Instantiating content class attribute0.00000.001490.0000
General
dbfile0.00790.6140280.0003
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
7content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
9content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/datatype/view/ezxmltags/strong.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/strong.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 30
 Number of unique templates used: 9

Time used to render debug report: 0.0002 secs