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

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 17 2025 22:49:49
Script start
Timing: Jan 17 2025 22:49:49
Module start 'layout'
Timing: Jan 17 2025 22:49:49
Module start 'content'
Timing: Jan 17 2025 22:49:49
Module end 'content'
Timing: Jan 17 2025 22:49:49
Script end

Main resources:

Total runtime0.0166 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0065 589.6328152.6563
Module start 'layout' 0.00650.0035 742.289139.5000
Module start 'content' 0.01010.0046 781.789198.0391
Module end 'content' 0.01470.0019 879.828138.2891
Script end 0.0166  918.1172 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002213.2496140.0002
Check MTime0.00106.0682140.0001
Mysql Total
Database connection0.00074.409310.0007
Mysqli_queries0.002414.579530.0008
Looping result0.00000.079010.0000
Template Total0.00159.110.0015
Template load0.00095.246710.0009
Template processing0.00063.807510.0006
Override
Cache load0.00063.517410.0006
General
dbfile0.002213.095980.0003
String conversion0.00000.048840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs