[opencms-dev] Structured content problem
Ludwig
ludwig.hunecke at googlemail.com
Mon Feb 1 15:32:18 CET 2010
Hi Yves,
this "news" reference is defined in the /WEB-INF/config/opencms-modules.xml config file.
e.g.
<type class="org.opencms.file.types.CmsResourceTypeXmlContent" name="mitcontentpage" id="18006">
The mitcontentpage is such a reference.
One thing: If you enable editing for this collector, I had serious trouble with using "/fr/news" without a file name pattern like "/fr/news/news_%(number).html". In my case the missing file name pattern resulted in a serious data loss. After adding content I got an error message "File already exists" and then the duplicated file got deleted. I still can reproduce this problem.
Hope this helps you.
All the best,
Ludwig
--
Ludwig Hunecke
Kramerstr. 19
D-38122 Braunschweig
Tel.: +49 (151) 16795516
Skype: ludwighunecke6697
Am 01.02.2010 um 15:14 schrieb Yves Glodt:
> Hi,
>
> I have trouble setting up a collector. My news items show up correctly with their template and the editor also dislpays them correctly.
>
> The problem I have is with:
> <cms:contentload collector="allInFolderPriorityDateDesc" param="/fr/news/|news|3" editable="true">
>
> The second value of the "param" (news) should be defined where? I understand it should refer to my news.xsd but fail to see where I can add its reference...
>
> I followed this document btw:
> http://www.bng-galiza.org/opencms/opencms/alkacon-documentation/documentation_xmlcontent/step1-simplexsd.html
> http://www.bng-galiza.org/opencms/opencms/alkacon-documentation/documentation_xmlcontent/step6-displaydetails.html
>
>
> best regards,
> yves
>
> _______________________________________________
> 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/mailman/listinfo/opencms-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20100201/860f4b26/attachment.htm>
More information about the opencms-dev
mailing list