Using customs class icons in admin siteaccess

Author Message

H-Works Agency

Tuesday 17 July 2007 11:26:52 am

Hi all

How can i use custom class icons in admin siteaccess for my custom classes ?

The system would use classical "/share/icons" for the known classes, and would use for exemple "design/siteaccess_admin/images/icons/" for my custom classes ?

This seams impossible because the "Repository" variable is not an array.

Am i right ?

EZP is Great

Heath

Tuesday 17 July 2007 11:38:15 am

Hello Martin,

I see two solutions available at the moment.
1) Patch, http://pubsvn.ez.no/community/trunk/hacks/icons_in_extension/

1.1) Vote! For acceptance of patch to eZ, subscribe and comment on existing issue, http://issues.ez.no/IssueView.php?Id=7662&activeItem=3

2) Config! mod_rewrite, to redirect the url requests to '/share/icons' to '/extension/example_com/share/icons'

Cheers!

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

H-Works Agency

Wednesday 18 July 2007 5:00:54 am

Hi Heath,

I try never modifying ez sources...so i will stick with my original technique of puting all my siteaccesses custom classes icons in the same place.

Its just sad this "Repository" var in icon.ini si not an array. Would allow us to use the override system for icons.

EZP is Great

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 00:33:29
Script start
Timing: Jan 19 2025 00:33:29
Module start 'layout'
Timing: Jan 19 2025 00:33:29
Module start 'content'
Timing: Jan 19 2025 00:33:30
Module end 'content'
Timing: Jan 19 2025 00:33:30
Script end

Main resources:

Total runtime0.8075 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0055 588.0469152.6406
Module start 'layout' 0.00550.0038 740.687539.4766
Module start 'content' 0.00930.7965 780.1641539.1953
Module end 'content' 0.80580.0017 1,319.359412.1250
Script end 0.8075  1,331.4844 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.3924160.0002
Check MTime0.00140.1708160.0001
Mysql Total
Database connection0.00060.077510.0006
Mysqli_queries0.755193.5045570.0132
Looping result0.00060.0777550.0000
Template Total0.772895.720.3864
Template load0.00220.272720.0011
Template processing0.770695.424520.3853
Template load and register function0.00010.011810.0001
states
state_id_array0.00090.105610.0009
state_identifier_array0.00070.087420.0004
Override
Cache load0.00180.2228220.0001
Sytem overhead
Fetch class attribute can translate value0.00090.114120.0005
Fetch class attribute name0.00140.176650.0003
XML
Image XML parsing0.00090.105420.0004
class_abstraction
Instantiating content class attribute0.00000.001760.0000
General
dbfile0.00100.1269240.0000
String conversion0.00000.001140.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 13
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs