Custom tag

Author Message

enigmista enigmista

Thursday 17 July 2003 3:14:22 am

Hi. I need in my article <span lang="en"> tag... I have done this:
1) I have putted in my content.ini: AvailableSiteDesigns=standard;user;admin;demo;mydesign
2) I have putted in my content.ini: AvailableCustomTags[]=inglese
3) I have created inglese.tpl in design/nocable/templates/content/datatype/view/ezxmltags.
4) I have edited inglese.tpl in this way: <span lang="en">{$content}</span>
5) In admin i have created an article: Questo tag è in <custom name='inglese'>english</custom>

But i don't see nothing... this is output:
Questo tag è in

Any ideas? Tnx

enigmista enigmista

Thursday 17 July 2003 4:23:14 am

Ok now it works, but i have:
<p>Questo è un tag</p><p><span lang="en">english</span></p>
But i don't want <p tag...

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 16:06:52
Script start
Timing: Jan 18 2025 16:06:52
Module start 'layout'
Timing: Jan 18 2025 16:06:52
Module start 'content'
Timing: Jan 18 2025 16:06:53
Module end 'content'
Timing: Jan 18 2025 16:06:53
Script end

Main resources:

Total runtime0.9280 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0071 588.9063152.6094
Module start 'layout' 0.00710.0024 741.515639.3984
Module start 'content' 0.00960.9171 780.9141425.1875
Module end 'content' 0.92670.0013 1,206.10168.2031
Script end 0.9280  1,214.3047 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.3852160.0002
Check MTime0.00140.1479160.0001
Mysql Total
Database connection0.00090.093910.0009
Mysqli_queries0.889795.8734520.0171
Looping result0.00050.0533500.0000
Template Total0.895696.520.4478
Template load0.00220.237820.0011
Template processing0.893396.266020.4467
Template load and register function0.00020.025310.0002
states
state_id_array0.00080.090710.0008
state_identifier_array0.00110.113420.0005
Override
Cache load0.00180.1933160.0001
Sytem overhead
Fetch class attribute can translate value0.00070.073510.0007
Fetch class attribute name0.00110.122520.0006
XML
Image XML parsing0.00010.011310.0001
class_abstraction
Instantiating content class attribute0.00000.000620.0000
General
dbfile0.00060.0634100.0001
String conversion0.00000.000640.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/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: 10
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs