Operators in class name

Author Message

Piotr Switkowski

Wednesday 06 December 2006 2:37:28 pm

I have a problem, that is already reported as a bug. I am building the bookstore and some of the books have quite long titles. Title is used in the class name. In effect, book covers pictures have too long file names and could not be displayed properly. There is no permanent solution to the problem. But as a temporary solution I would like to limit the length of name.

So the question is: could you use operators in the class name. Or could you in some other way limit the class/object/node length ?

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 18 2025 14:55:53
Script start
Timing: Jan 18 2025 14:55:53
Module start 'layout'
Timing: Jan 18 2025 14:55:53
Module start 'content'
Timing: Jan 18 2025 14:55:54
Module end 'content'
Timing: Jan 18 2025 14:55:54
Script end

Main resources:

Total runtime1.0081 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0070 594.6953152.6250
Module start 'layout' 0.00700.0046 747.320339.4453
Module start 'content' 0.01160.9951 786.7656398.4922
Module end 'content' 1.00680.0013 1,185.25788.1719
Script end 1.0081  1,193.4297 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.3894160.0002
Check MTime0.00160.1622160.0001
Mysql Total
Database connection0.00130.127210.0013
Mysqli_queries0.970796.2905460.0211
Looping result0.00050.0450440.0000
Template Total0.969496.220.4847
Template load0.00210.213120.0011
Template processing0.967395.950420.4836
Template load and register function0.00020.016110.0002
states
state_id_array0.00120.117210.0012
state_identifier_array0.00120.123220.0006
Override
Cache load0.00170.168150.0003
Sytem overhead
Fetch class attribute can translate value0.00220.213910.0022
Fetch class attribute name0.00050.052410.0005
XML
Image XML parsing0.00010.011110.0001
class_abstraction
Instantiating content class attribute0.00000.000410.0000
General
dbfile0.00060.0621100.0001
String conversion0.00000.002640.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
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 4
 Number of unique templates used: 4

Time used to render debug report: 0.0002 secs