Forums / Setup & design / Pimping the administration interface

Pimping the administration interface

Author Message

Knut Urdalen

Friday 09 November 2007 4:39:26 am

I want to do some small customization to the standard administration interface.

<b>Better visibility when a node are hidden</b>
When I look at the child nodes of a node I want to gray out nodes that are hidden (like what's being done in the content tree menu) so it's clearer to the editor what's the publishing status on all children nodes listed. The is needed because not all nodes are listed in the content tree menu. I know you can see the visibility flag if you click on "detailed", but it's better if it's visual.

<b>More details when listing the childrens</b>
I want to add some of my custom attributes from my custom content classes to the table which shows children nodes. Example: If I have a news folder it would be nice to also see the publish date in that table (just for the news-folder). When I choose "detailed" I get the last modified date, but what if I want to show an attribute of choice?

<b>Actual preview</b>
The front-end toolbar is nice, but when looking at a node in the administration interface is it possible to change the preview content with the actual page layout from the front-end?

<b>Preview by default in media library</b>
I want to set the view mode of children lists to "thumbnail" by default in the media library and keep "list" by default for everything inside the content structure.

Any solutions or suggestions?

Matthew Carroll

Thursday 15 November 2007 5:41:43 pm

You can customise the admin interface templates, just like the public site. Create your own design, with the normal admin design as a fallback.

Actual preview:

http://ez.no/doc/ez_publish/user_manual/3_10/the_administration_interface/the_object_edit_interface/preview

For this to work your public site needs to be specified in the AvailableSiteAccessList[] array in the site.ini.append.php of your admin site.

http://ez.no/doc/ez_publish/technical_manual/3_10/reference/configuration_files/site_ini/siteaccesssettings/availablesiteaccesslist

http://carroll.org.uk

eZ debug

Timing: Jan 18 2025 02:53:21
Script start
Timing: Jan 18 2025 02:53:21
Module start 'content'
Timing: Jan 18 2025 02:53:22
Module end 'content'
Timing: Jan 18 2025 02:53:22
Script end

Main resources:

Total runtime0.9361 sec
Peak memory usage4,096.0000 KB
Database Queries191

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 589.2578180.8281
Module start 'content' 0.00540.8054 770.0859538.1484
Module end 'content' 0.81080.1252 1,308.2344332.7578
Script end 0.9360  1,640.9922 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00420.4454210.0002
Check MTime0.00160.1726210.0001
Mysql Total
Database connection0.00060.064510.0006
Mysqli_queries0.858191.67391910.0045
Looping result0.00200.20871890.0000
Template Total0.911997.420.4559
Template load0.00180.193920.0009
Template processing0.910197.223620.4550
Template load and register function0.00010.010610.0001
states
state_id_array0.00140.148210.0014
state_identifier_array0.00070.071620.0003
Override
Cache load0.00150.1608210.0001
Sytem overhead
Fetch class attribute can translate value0.00130.137030.0004
Fetch class attribute name0.00100.103240.0002
XML
Image XML parsing0.00120.131030.0004
class_abstraction
Instantiating content class attribute0.00000.000840.0000
General
dbfile0.00620.6660330.0002
String conversion0.00000.000630.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
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 16
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs