ezxml addtional anchor issue

Author Message

David Jones

Wednesday 06 September 2006 5:56:29 am

I'm using the sjsd plugin for some of my text areas.

I am outputing the text ok except some additional anchor tags seem to have been added to the field being output. These are not in the filed during editing.

This is the code I'm using to output the text

{attribute_view_gui attribute=$pagelayout_node.object.data_map.intro_text}
<h6><a href="{$pagelayout_node.data_map.intro_link.content|wash}">Discover More</a></h6>

And this is what is being output.

<a name="230_1"></a><h2>Heading 1</h2>
<a name="230_1_0_0_0_1"></a><h6>Heading 2</h6>
<a name="230_1_1"></a><h3>Heading 3</h3>

These anchor tags are additions which I did not make and they are messing up my style.

How do i stop these being output.

Thanks

André R.

Wednesday 06 September 2006 6:42:32 am

This is set in the templates, meant so that you can link directly to a section of a page.
So if I remember correctly, you will get the same output without editors and with OE as well( on headings).

This was recently introduced.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

David Jones

Wednesday 06 September 2006 6:57:42 am

So can i remove it/

Rob Borley

Thursday 07 September 2006 3:33:34 am

Dave,

The template you need to override is

design/omf/override/templates/home_ezxhtml_header.tpl

Hope that helps.

Rob

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 19:23:13
Script start
Timing: Jan 18 2025 19:23:13
Module start 'layout'
Timing: Jan 18 2025 19:23:13
Module start 'content'
Timing: Jan 18 2025 19:23:13
Module end 'content'
Timing: Jan 18 2025 19:23:13
Script end

Main resources:

Total runtime0.0207 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.0069 587.9141152.6250
Module start 'layout' 0.00690.0057 740.539139.4453
Module start 'content' 0.01260.0061 779.984489.4453
Module end 'content' 0.01870.0019 869.429734.3047
Script end 0.0206  903.7344 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002713.2534140.0002
Check MTime0.00115.1202140.0001
Mysql Total
Database connection0.00115.212410.0011
Mysqli_queries0.005426.246330.0018
Looping result0.00000.115310.0000
Template Total0.00157.510.0015
Template load0.00083.930610.0008
Template processing0.00073.549110.0007
Override
Cache load0.00062.678810.0006
General
dbfile0.00178.311980.0002
String conversion0.00000.062240.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