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.