Forums / Setup & design / template overrides browsing - better sollution?

template overrides browsing - better sollution?

Author Message

Marko Žmak

Wednesday 22 June 2005 7:36:21 am

I don't know if anyone else noticed but browsing templates for overrides in the admin interface is a little bit annoying. I have 42 pages of templates and have to search through them to find the template I need. Couldn't this be solved more practically?

My suggestions is to organize the template browsing in tree hierarchy, like a file system. First to show the highiest directories, then the next level and so on to the files.

For example, the highiest level would look like this:

visual
design
workflow
.
.
.
content
class

then by clicking the "content" directory the next level is shown:

datatype
collectedinfomail
collectedinfo

and so on.

This seems to me to be a better sollution for browsing the templates. Did anyone already suggested something like this and are there any plans to do it?

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Linh Vu

Wednesday 22 June 2005 8:34:43 pm

Yeah I reckon that's annoying, but then the admin interface is already bandwidth-heavy and I don't really want it to be any bigger. I just vim the overrides.ini.append.php file. Much faster.

If I had more time, I would write less code.

Marko Žmak

Thursday 23 June 2005 2:09:57 pm

But as far as I know this propsed idea could only decrease the load from the admin interface.

I know that vim-ing the override file is much faster, but I also know that there are a lot of designers (and programmers too) that preffer creating overrides from the admin interface. And you cannot persuade all of them to use vim. Also for manually changing the override file you have to know all the template names and there are a lot of them...

So I would really like to know if someone already suggested this idea, and are there any plans to do it?

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

kracker (the)

Thursday 23 June 2005 3:28:51 pm

I agree with, Linh.

I simply emacs override.ini.append.php

Here's why...
- Once you understand the template system and how it works ...
-- It's faster
-- It's cleaner
-- It's easier
-- It's more reliable
-- It's commentable

Did you know that if you add comments into the override.ini.append.php using the ini file comment character ('#') that they are stripped out if you use the admin setting or template override tools to edit these settings?

I don't like that stripping behavior, I like to comment my ini files with settings I may change often or informational comments. I think it's odd that it just strips them out :|

I find that I'm holding out for the new template override spec to be implemented :?

<i>http://ez.no/community/developer/specs/templates_overrides_overview_page
http://ez.no/community/developer/specs/improve_template_edit_page</i>

//kracker
<i>eminem : the way i am</i>

Member since: 2001.07.13 || http://ezpedia.se7enx.com/

eZ debug

Timing: Jan 19 2025 04:19:37
Script start
Timing: Jan 19 2025 04:19:37
Module start 'content'
Timing: Jan 19 2025 04:19:37
Module end 'content'
Timing: Jan 19 2025 04:19:37
Script end

Main resources:

Total runtime0.1796 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0085 589.0859180.8125
Module start 'content' 0.00850.0092 769.898497.9297
Module end 'content' 0.01770.1618 867.8281527.3750
Script end 0.1795  1,395.2031 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00452.5249200.0002
Check MTime0.00170.9520200.0001
Mysql Total
Database connection0.00140.794610.0014
Mysqli_queries0.121567.64501410.0009
Looping result0.00130.73061390.0000
Template Total0.160789.510.1607
Template load0.00130.745610.0013
Template processing0.159388.702210.1593
Override
Cache load0.00080.428210.0008
Sytem overhead
Fetch class attribute can translate value0.00100.529410.0010
XML
Image XML parsing0.00030.150410.0003
General
dbfile0.00271.4888200.0001
String conversion0.00000.013930.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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs