Forums / Developer / Variable holding current siteaccess

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Variable holding current siteaccess

Author Message

Eirik Alfstad Johansen

Friday 02 September 2005 2:41:47 am

Hi,

I need to run an event based on the current siteaccess, so I was wondering if someone could tell me the name of the variable holding this information.

Thanks in advance !

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

Łukasz Serwatka

Friday 02 September 2005 3:09:51 am

Hi,

You can use

{$access_type.name}

This is pagelayout variable.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog