Extension's ini.* files via admin interface (settings/view)

Author Message

Piotrek Karaś

Tuesday 18 December 2007 6:42:40 am

Should admin interface make it possible to see/edit ini.* files that uniquely belong to enabled extensions? They aren't on the list in my admin... ;(

Thanks,
Piotrek

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu

Bartek Modzelewski

Tuesday 18 December 2007 7:21:27 am

Hi Piotrek,

You can simply create template with the following code:

<form method="post" action={"settings/view"|ezurl}>
        <select name="selectedINIFile">
            <option value="your-ini-file.ini" selected="selected">your-ini-file.ini</option>
        </select>
      <input class="button" type="submit" name="ChangeINIFile" value="Select" />
</form>

Should work.

Bartek

Baobaz
http://www.baobaz.com

Piotrek Karaś

Tuesday 18 December 2007 10:18:28 am

Hi Bartek,

Thanks for the tip, I'll give it a try, even though I was asking about how it should behave rather than how to cope with the fact, that it does not work, if you know what I mean ;)

The most difficult eZ Problems are those, that would require quite precise knowledge of many different elements, which I still try to collect... And those are most difficult to get answers to ;)

Czołem,
Piotrek

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu

Heath

Tuesday 18 December 2007 4:25:45 pm

Hello Piotrek,

I noticed recently that in the recent move toward the future with the release of 4.0 that these features were deprecated.

Re: Deprecated features in eZ Publish 4,
<i>http://ez.no/developer/news/ez_publish_4_0_0_and_ez_flow_1_0_released</i>
"<i>The following views have been deprecated: Global settings</i>"

I took this as a positive set of subtle suggestions to developers and users as to the shift internally within eZ Publish (and eZ Components) as past code which is ... well has now been set aside for various reasons...

I think this may represent an opportunity for others to create improved replacement solutions in the form of their own extensions :)

Often code upon review no longer matches the current or future goals and becomes all too quickly problematic to maintain "as is" when the what would be better to do is to replace the functionality completely with a better implementation.

Some of the features deprecated have already been replaced, others are Open Funding suggestions in the process of being developed or discussed.

I think you can do it :)

Cheers,
Heath

Brookins Consulting | http://brookinsconsulting.com/
Certified | http://auth.ez.no/certification/verify/380350
Solutions | http://projects.ez.no/users/community/brookins_consulting
eZpedia community documentation project | http://ezpedia.org

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

eZ debug

Timing: Jan 19 2025 08:52:59
Script start
Timing: Jan 19 2025 08:52:59
Module start 'layout'
Timing: Jan 19 2025 08:52:59
Module start 'content'
Timing: Jan 19 2025 08:53:00
Module end 'content'
Timing: Jan 19 2025 08:53:00
Script end

Main resources:

Total runtime1.1309 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0043 589.4141152.6563
Module start 'layout' 0.00430.0027 742.070339.5078
Module start 'content' 0.00701.1223 781.5781595.4297
Module end 'content' 1.12940.0015 1,377.007816.0938
Script end 1.1309  1,393.1016 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.2691160.0002
Check MTime0.00130.1161160.0001
Mysql Total
Database connection0.00070.062510.0007
Mysqli_queries1.073994.9555620.0173
Looping result0.00070.0593600.0000
Template Total1.100597.320.5502
Template load0.00220.192820.0011
Template processing1.098397.112020.5491
Template load and register function0.00010.012810.0001
states
state_id_array0.00170.146210.0017
state_identifier_array0.00240.210920.0012
Override
Cache load0.00180.1590340.0001
Sytem overhead
Fetch class attribute can translate value0.00080.070130.0003
Fetch class attribute name0.00130.117560.0002
XML
Image XML parsing0.00130.111630.0004
class_abstraction
Instantiating content class attribute0.00000.001370.0000
General
dbfile0.00120.1094240.0001
String conversion0.00000.000540.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
9content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 23
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs