Hi Christian!

Are you processing your content using stk.decode() before outputting it in the 
template?

è ${stk.decode(content).myfield}

The example you show below is the way fckeditor stores the links in the raw 
content.
That content needs to be decoded to give magnolia a chance to rewrite the links 
correctly.

Why does fckeditor not insert the correct links in the first place, you may 
ask...


1.       Because sometimes content is included from a different context (eg 
including content from site A in site B) - in this case the links should be 
rendered so they are valid for site B, not site A.

2.       Because you might move the content around within the dms. In this case 
Magnolia will still find it by uuid, and render the links correctly. Otherwise 
you would have to go back and edit each paragraph referring to the moved 
content...

Lg aus Wien,

Richard


Von: [email protected] [mailto:[email protected]] 
Im Auftrag von Christian Lohmann
Gesendet: Mittwoch, 09. März 2011 16:38
An: Magnolia User-List
Betreff: [magnolia-user] internal links in FCKEditor CE

Hello Magnolia-Users,

i have a problem with setting internal links with the FCKEditor. When i try to 
add a link to, for example the dms, i get following mutated link expression in 
html:

<a 
href="${link:{uuid:{8606dd0b-94fb-4d00-abea-6cb5e22a4323},repository:{dms},handle:{/Technical-information/FA-Stabilis_engl},nodeData:{},extension:{pdf}}}">Datenblatt</a>

How can i fix this to get well formed links out of it? Has anyone an idea?

Thanks in advance!

Christian


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to