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