[opencms-dev] Error in internal links in text fields in OpenCms 11.0
Malu
malupolo at gmail.com
Mon Dec 2 14:04:20 CET 2019
Hi List,
I use OpenCms Version 11.0 and have a question related to links in text
fields:
By placing internal links in a text (within an OpenCmsHtml element of type
HtmlWidget), the content navigation url is stored instead of the content
vfs path, so the content reference in the other languages is lost.
In addition, the navigation url that is stored in all languages contains
the same language for all (navigation with the primary language).
For example:
Current beaviour:
<Description name="Description0">
<links>
<link name="link0" internal="true" type="A">
<target><![CDATA[/sites/segtur/es/agenda/a19e490d-d2fb-11e9-89a3-0242ac110003/]]></target>
</link>
</links>
<content><![CDATA[<p>El origen del <a href="%(link0)">palacio</a> data del
siglo XV, aunque la mayor parte se construye en el XVI por el primer
marqués de Tarifa.</p>]]></content>
</Description>
Expected beaviour:
<Description name="Description0">
<links>
<link name="link0" internal="true" type="A">
<target><![CDATA[/sites/segtur/.content/Eventos/abc-museo-bilbao.html]]></target>
</link>
</links>
<content><![CDATA[<p>El origen del <a href="%(link0)">palacio</a> data del
siglo XV, aunque la mayor parte se construye en el XVI por el primer
marqués de Tarifa.</p>]]></content>
</Description>
Any help?.
Thank you in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20191202/2d051ce2/attachment.htm>
More information about the opencms-dev
mailing list