This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit

eZ Community » Forums » General » How to check if template operator is...

How to check if template operator is registered?

How to check if template operator is registered?

Wednesday 09 January 2013 12:31:23 pm

Hello all,

Is there any simple way to check if a template operator is defined, from a tpl file, without getting an error.

We've got a pagelayout.tpl used by 2 different site accesses. One of the site accesses has ezwebin activated, the other one not.


I'd like to call the ezwebin ezpagedata operator from pagelayout.tpl IF the ezpagedata is registered. How can I achieve that? Is the only way to do this to check in the site.ini if the extension is activated?





For info, I just ended up checking if ezwebin was activated in site.ini

Modified on Thursday 31 January 2013 6:29:34 pm by H R

No reply yet!


You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from