Switching field from textboxmultiple to richtexteditor caused incorrect display format Options
agiliti
Posted: Wednesday, December 26, 2007 12:00:57 PM
Rank: Enthusiast

Joined: 12/26/2007
Posts: 11

Hi,

I created a document type which had a textbox multiple field and created some documents with data in that field. I then changed the field type to richtexteditor and made some changes to the data - everything worked ok in the admin area but when I publish the page, it displats the HTML codes. It seems like it still thinks this is a text field when it renders the output.

I deleted the doc. type and started again from scratch but got the same problem when displaying that field - maybe there's something in the database that hasn't cleared out. Any suggestions on what I can try next ?

Thanks in advance,
Peter

Brisbane Web Design - web design | web development | internet marketing - Agiliti Solutions
agiliti
Posted: Wednesday, December 26, 2007 12:02:06 PM
Rank: Enthusiast

Joined: 12/26/2007
Posts: 11
By the way, I'm using v3.0.3.

Brisbane Web Design - web design | web development | internet marketing - Agiliti Solutions
tim
Posted: Wednesday, December 26, 2007 12:56:22 PM

Rank: Addict

Joined: 2/19/2007
Posts: 826
Location: Belgium
Hi Peter,

In your xslt where you display the property,

add disable-output-escaping="yes"

like:
Code:


<xsl:value-of select="data [@alias = 'adres']" disable-output-escaping="yes"/>



Umbraco tips and tricks: http://www.nibble.be - umbraco mvp 08/09 - certified level 1 & 2 professional
agiliti
Posted: Wednesday, December 26, 2007 2:26:59 PM
Rank: Enthusiast

Joined: 12/26/2007
Posts: 11
Thanks Tim, that's precisely what I needed ... I was off on a tangent there :blush:

Thanks so much.

Brisbane Web Design - web design | web development | internet marketing - Agiliti Solutions
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.