Share » Forums » General » Handling site settings?

Handling site settings?

Handling site settings?

Friday 15 October 2004 3:12:27 pm - 3 replies

Modified on Friday 15 October 2004 3:26:04 pm by Deane Barker

Author Message

Lazaro Ferreira

Friday 15 October 2004 5:43:21 pm

Hi,

As you said you can perfectly use setup .ini settings to setup your site parameters, AFAIK this is the preferred way to do it

Normally you override ezp .ini files to put your custom settings , like you did in site.ini.append.php while setting up your siteaccess

From templates you can access your custom settings using

ezini(...)

operator take a look at

http://ez.no/ez_publish/documentation/reference/template_operators/data_extraction/ezini

i.e: if you take a look at ezp toolbar implementation, you will see it is implemented using .ini settings, you can also see how it is used in ezp standard pagelayout (EZP 3.4.+)

 

Lazaro
http://www.mzbusiness.com

Deane Barker

Friday 15 October 2004 7:25:07 pm

Can you control access permissions to INI files? I'd hate for the users to have access to ALL the settings in ALL the files. Is there any way to give them access to this one INI file only?

Deane

Deane Barker

Saturday 16 October 2004 2:24:59 pm

How about this --

I would like to create a entirely separate "tree" from the "content" tree (is it a "module"? Confused about the terminology). This way I can let my users create objects in this tree that I can use for site settings. For instance, a "Menus" folder could have "Menu" children which could have "Link" children, etc.

I have the eZ Publish book, and I think I could figure it out. But what am I'm talking about? A new module?

Deane

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

36 542 Users on board!

Forums menu