Why is sup an unsupported tag?

Author Message

James Ward

Monday 20 June 2005 2:04:52 pm

running ez3.6 on a LAMP insall.

When I try to include sup tags in my documents I receive the following error:
* Unsupported tag sup(removed)

When I check the ezxmltags folder I see there is a sup.tpl file which I assumed would allow this tag. I also see sup listed under the custom tags in the online editor. Also when I paste text within the sup tags it is rendered nicely by the online editor.

Despite all of this the tags are still removed whenever I go to publish with or without the online editor enabled. What settings can I change to allow these tags to stay in the document?

working at www.wardnet.com
blogging at www.jamesward.ca

James Ward

Wednesday 22 June 2005 8:40:06 am

I have a support request in to ezpublish to allow this tag. Hopefully when they are done it will be included in all future releases.

working at www.wardnet.com
blogging at www.jamesward.ca

Ɓukasz Serwatka

Friday 24 June 2005 3:05:35 am

Hi James,

<sup> and <sub> is currently supported as custom tag. Look in to content.ini file.

We will look closer into this problem soon ...

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

James Ward

Tuesday 28 June 2005 7:48:04 pm

Luke, I would say you are using the term "supported" a little losely. If I create a document with sup tags already in it they will be stripped by ezpublish. This is less than desireable. I have paid for the support call and have received the files necessary to get sup tags working. I was dismayed however to find that the code I paid for will not be merged into the next version of ezpublish. This is very diappointing and I hope ezpublish will reconsider including this code.

working at www.wardnet.com
blogging at www.jamesward.ca

kracker (the)

Tuesday 28 June 2005 9:20:00 pm

James,

Would you consider posting the code / information you received to the community as a contribution?

This is in my opinion just about the next best way to making this feature available to the rest of the community without them having to pay for the support call again...

Respectfully,
//kracker

<i>Counting Crows - Friend of the Devil</i>

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

James Ward

Wednesday 29 June 2005 8:14:53 am

Sure thing Kracker,

http://ez.no/community/contribs/hacks/sup_tag_support

I'm just concerned that this code will be broken by the next ezpublish update. But it works for now.

working at www.wardnet.com
blogging at www.jamesward.ca

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 20 2025 05:48:14
Script start
Timing: Jan 20 2025 05:48:14
Module start 'layout'
Timing: Jan 20 2025 05:48:14
Module start 'content'
Timing: Jan 20 2025 05:48:14
Module end 'content'
Timing: Jan 20 2025 05:48:14
Script end

Main resources:

Total runtime0.0150 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0044 589.2734152.6406
Module start 'layout' 0.00440.0032 741.914139.4766
Module start 'content' 0.00760.0053 781.390697.3516
Module end 'content' 0.01290.0021 878.742238.3047
Script end 0.0150  917.0469 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002717.7101140.0002
Check MTime0.00127.9453140.0001
Mysql Total
Database connection0.00053.609010.0005
Mysqli_queries0.002114.185230.0007
Looping result0.00010.379510.0001
Template Total0.001610.810.0016
Template load0.00095.960510.0009
Template processing0.00074.795110.0007
Override
Cache load0.00064.188610.0006
General
dbfile0.00042.643780.0000
String conversion0.00000.071540.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_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