[opencms-dev] UUID instead of talking URI?
Michael Emmerich
m.emmerich at alkacon.com
Thu Nov 28 14:38:38 CET 2013
Thorsten,
do you have the Url-Name Mapping in your XSD?
Something like
[...]
<mapping element="Title" mapto="urlName"/>
[...]
This would map the "Title" field to the url for detailpages.
When you change this in your xsd, you must touch all existing contents
of this type with the "write content" option to get the mapping active.
Kind regards,
Michael
Am 27.11.2013 16:56, schrieb Thorsten Duhn:
> Hello,
>
> I'm trying to create my own structured XML content based on what I
> find in documentation, Wiki and Bootstrap example. But I have several
> problems left, here my first (more to come): I need to do one for news
> article list, just like list-large and blog-detail.
>
> But the link to the detail page always uses UUID instead of creating a
> speaking URI from title (like blog list does). I cannot see, where
> this is configured, done. I included
> <cms:link>${content.filename}</cms:link> just like in example. The
> UUID in URL is the same as from the XML file has, as it is referred to
> in lists container page.
>
> <a
> href="/opencms/opencms/de/aktuelles/875c58d0-576b-11e3-876c-dfb2d9dc1c47/">
>
> <link type="STRONG">
> <target>
> <![CDATA[/sites/default/de/.content/news/news_00001.xml]]>
> </target>
> <uuid>875c58d0-576b-11e3-876c-dfb2d9dc1c47</uuid>
> </link>
>
> What am I missing?
>
> Regards,
> Thorsten
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please
> visit
> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>
>
>
>
> --
> Michael Emmerich
>
> Alkacon Software GmbH - The OpenCms Experts
> http://www.alkacon.com - http://www.opencms.org
More information about the opencms-dev
mailing list