eZ Community » Projects » QH JavaScript INI Loader for eZ Publish

QH JavaScript INI Loader for eZ Publish

Friday 28 October 2011 - http://projects.ez.no/qhjsiniloader

An ezjscore jQuery API for javascript projects that needs to load parameters from eZ Publish INI file.

» Visit project page    » Project members    » Reviews

Latest forum activity - Visit project's forums page

Monday 31 October 2011 12:35:03 pm

Hi,

Good one, nicely complimenting http://projects.ez.no/qhautosave .

I'd recommend adding a link to the github.com repository in the homepage object (dedicated field : External Url) as well as in the project description.

Cheers and keep-up,

Monday 31 October 2011 9:35:03 pm

Thanks for the reminder.

Also added a doc/INSTALL file

Monday 07 November 2011 1:05:05 pm

Wonderful.

Monday 27 February 2012 7:35:14 pm

I am not sure I understand fully the way the extension is set up to work. Can it only load settings from qhjsiniloader.ini?

If so, I find it a bit clumsy.

What about letting it instead load ini settings from ANY ini file (where the dev has set the setting/block/file to be accessible)?

In qhjsiniloader.ini, there could be something like this:

[QHJSINILoaderSettings]

AvailableParameters[]

AvailableParameters[]=design.ini

AvailableParameters[]=site.ini/RegionalSettings

AvailableParameters[]=site.ini/RegionalSettings/DatabaseSettings/Charset

AvailableParameters[]=site.ini/Cache_*

And with a single ajax call all the settings could be loaded, including

- complete ini files

- a single block

- a single value

- a set of blocks within a file using wildcard

- a set of values within a block using wildcard

To make it even more flexible, different sets could be defined, which include each something like mentioned above:

[QHJSINILoaderSettings]

AvailableSets[]=my_stuff

Set_my_stuff[]=design.ini

Set_my_stuff[]=etc...

 

Tuesday 28 February 2012 3:35:12 pm

You raised a good point.

Thanks

Members - Visit project's team page
Real name:
Quoc-Huy NGUYEN DINH
Country:
Australia 
#Posts:
171
Project reviews - See all reviews

No review yet.

Proudly Developed with from