Settings (.ini) available in templates?

Settings (.ini) available in templates?

Tuesday 22 April 2003 2:54:17 am - 3 replies

Author Message

Paulo Almeida

Tuesday 22 April 2003 5:22:55 am

i don't know if it will do what you want but try this:

{ezini('RegionalSettings','Locale')}
__GROUP__ __VAR__

Paulo

PACPI.COM Internet Consulting
http://pacpi.com

Paul Borgermans

Tuesday 22 April 2003 6:11:27 am

Thanks,

I forgot the (undocumented) ezini function, although it was mentioned by Jan before.

I'll update the user docs to reflect this.

Paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Jan Borsodi

Tuesday 22 April 2003 6:40:18 am

There's also a third parameter which states the ini file (site.ini is default).
{ezini('DataTypeSettings','RepositoryDirectories','content.ini')}
__GROUP__ __VAR__ __FILE__

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

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

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