Share » Forums » General » php operators

php operators

php operators

Friday 03 March 2006 6:21:56 am - 3 replies

Author Message

Mads Ovesen

Friday 03 March 2006 6:32:38 am

You can only use php operators that take one parameter: See http://ez.no/products/ez_publish/documentation/development/kernel/custom_template_operators
under limitations.

Instead you'll have to check your language in site.ini an make the url using the concat function.

/m

Marc Boon

Friday 03 March 2006 7:36:52 am

Problem with hardcoded urls is that it isn't portable between different configurations.
I used the ezurl() operator to automatically add the index.php(?) if needed. My development site runs on a machine with mod_php, and the production server uses CGI, so they need different urls.

Marc Boon

Sunday 05 March 2006 1:57:39 am

Just found exactly what I needed in Contributions:
http://ez.no/community/contribs/template_plugins/string_replace_operator

Thank you Alexandre Abric!

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

36 542 Users on board!

Forums menu