[opencms-dev] Link to detail page of custom XML content
Thorsten Duhn
duhn at regio-gmbh.de
Thu Apr 9 11:23:30 CEST 2015
And now for some more problems in the wider fields of my custom content
types:
When opening an existing structured content element for editing through
front end Inline editor, language selection disappears immediately.
There are four languages configured, and they are all available when
opening the same XML content in Workplace. Wanting to save or leave
without saving throws "Invalid id" (or alike, in German "Ungültige ID")
message box, editor stays open (language selection gets visible now) and
toolbar gets kind of irresponsive. All this in Inline edit only. I need
to modify URL in browser (remove "#") to get back to site.
Creating new content items works with no problem, editing these has same
problems.
This happens (by now) in one OC instance only, unfortunately the one
that should become the production server, local development server works
with no problem for now.
Regards,
Thorsten
--
Am 08.04.2015 um 09:33 schrieb Thorsten Duhn:
> Hello,
>
> once again the same strange issue ("UUID instead of talking URI?",
> 2013-11-27) – but even harder this time. I do have structed XML content
> with list and detail page. Schema has mapping from Title to urlName,
> content files got created afterwards (and touched several times), link
> in list formatter is rendered by <cms:link>${event.filename}</cms:link>,
> and all I get is a link containing filename to the .xml-file. On
> clicking the created .xml-link Firefox wants to display XML, but claims
> that the HTML output is not well-formed XML (of course, it's not).
>
> Even more strange, from three different content types the first is
> rendering named, talking URLs.
>
> Detail pages for the content types are configured, but may be the
> problem, that detail page is only configured in subsitemap, while
> content is created in base content folder? Subsitemap is also configured
> that detail pages should be prefered, pages showing this issue,
> rendering wrong URLs, are all inside this subsitemap (by now all pages
> are).
>
> XML Content/rendered link: .../.content/events/event_00001.xml
> Sitemap configuration: .../de/.content/.config
>
> Again, nevertheless it works for this:
> .../.content/news/news_00001.xml
> having such a link: .../de/nachrichten/Dummy-Eintrag-1/
>
> As schemas, formatters and configuration are mostly copy&paste with some
> extensions, I don't know any more where to find problems cause. What is
> necessary? Schema mapping (in case touching/rewriting XML), detail page
> configuration, what else?
>
> Regards,
> Thorsten
More information about the opencms-dev
mailing list