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

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

eZ debug

Timing: Jan 20 2025 23:38:00
Script start
Timing: Jan 20 2025 23:38:00
Module start 'content'
Timing: Jan 20 2025 23:38:01
Module end 'content'
Timing: Jan 20 2025 23:38:01
Script end

Main resources:

Total runtime1.3704 sec
Peak memory usage4,096.0000 KB
Database Queries199

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0182 587.9766180.7969
Module start 'content' 0.01821.1095 768.7734622.9375
Module end 'content' 1.12770.2426 1,391.7109337.3359
Script end 1.3703  1,729.0469 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00460.3335210.0002
Check MTime0.00160.1142210.0001
Mysql Total
Database connection0.00170.126910.0017
Mysqli_queries1.268092.52481990.0064
Looping result0.00270.19951970.0000
Template Total1.323796.620.6619
Template load0.00250.180720.0012
Template processing1.321296.408620.6606
Template load and register function0.00010.009710.0001
states
state_id_array0.00160.119210.0016
state_identifier_array0.00190.135220.0009
Override
Cache load0.00190.1375340.0001
Sytem overhead
Fetch class attribute can translate value0.00340.249440.0009
Fetch class attribute name0.00220.157660.0004
XML
Image XML parsing0.00200.147040.0005
class_abstraction
Instantiating content class attribute0.00000.001370.0000
General
dbfile0.00200.1458350.0001
String conversion0.00000.000830.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 23
 Number of unique templates used: 7

Time used to render debug report: 0.0003 secs