Getting module name in pagelayout

Author Message

Felipe Jaramillo

Friday 18 November 2005 1:23:28 pm

Hi,
To show a section image in pagelayout I need to access the name of the module and the view used.

For example, to show a tip a friend image in pagelayout, i need to know the user is accessing
/content/tipafriend.

I didn't find this information in any of the available variables.

Any ideas?

Regards,

Felipe

Felipe Jaramillo
eZ Certified Extension Developer
http://www.aplyca.com | Bogotá, Colombia

Kristof Coomans

Saturday 19 November 2005 12:52:17 am

You can use $module_result.path or $uri_string.

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Felipe Jaramillo

Tuesday 22 November 2005 3:19:17 pm

Thanks Kristof, I must have missed it.

Regards,
Felipe

Felipe Jaramillo
eZ Certified Extension Developer
http://www.aplyca.com | Bogotá, Colombia

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