<div>I have another problem. I have a website where they will create large quantities of news (4 daily), in this case we need to organize the news into folders by year and month but in doing so stops working the detail page.</div>
<div><br></div><div>Is there any solution to work the detail page with subfolders?</div><div><br></div><div>Regards</div><br><div class="gmail_quote">2012/7/12 Alexander Kandzior <span dir="ltr"><<a href="mailto:alex@opencms.org" target="_blank">alex@opencms.org</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Markus<br>
<br>
Regaring your 2nd question:<br>
<div class="im"><br>
- It is possible to have a certain resource type spread to multiple folders<br>
</div>within the /.content/ hierarchy? This would be required to create collectors<br>
<div class="im">showing different articles, but using the same details page.<br>
<br>
</div>There are 2 options:<br>
<br>
1. You create a subsite. The subsite will then have its own detail page and<br>
content folder. So you have 2 detail pages for the same content, one in each<br>
subsite. This would be a preferred solution to distinguish e.g. between news<br>
issues by different departments. I this scenario you could also set<br>
different read/write access to the different news folders.<br>
<br>
2. You leave all resources in the same folder, but use a category to<br>
distinguish different types of e.g. news. There are ready made collectors<br>
for this which collect all news only of category A or B. There is also a<br>
category selection widget which you should use in you news XSD, so that the<br>
content manager can easily define the category of the news.<br>
<br>
I recommend option 2 if you don't need the different read/write access.<br>
<br>
Kind Regards,<br>
Alex.<br>
<br>
-------------------<br>
Alexander Kandzior<br>
<br>
Alkacon Software GmbH  - The OpenCms Experts<br>
<a href="http://www.alkacon.com" target="_blank">http://www.alkacon.com</a> - <a href="http://www.opencms.org" target="_blank">http://www.opencms.org</a><br>
<div class="HOEnZb"><div class="h5"><br>
<br>
-----Original Message-----<br>
From: <a href="mailto:opencms-dev-bounces@opencms.org">opencms-dev-bounces@opencms.org</a><br>
[mailto:<a href="mailto:opencms-dev-bounces@opencms.org">opencms-dev-bounces@opencms.org</a>] On Behalf Of Markus Fischböck<br>
Sent: Thursday, July 12, 2012 5:07 PM<br>
To: <a href="mailto:opencms-dev@opencms.org">opencms-dev@opencms.org</a><br>
Subject: [opencms-dev] Custom Module and Detail Page<br>
<br>
Hi everyone!<br>
<br>
I was wondering if there are any specifications or tutorials to get a<br>
details page to work with my custom module.<br>
<br>
>From what i've gathered from various tutorials and the wiki was the<br>
following:<br>
<br>
- Create a own module as well as the module_config (.config) file and<br>
adjust the all Resourcetype values accordingly to my requirements<br>
(Typename, Name within the .content directory, Pattern)<br>
<br>
- Create a config folder within the module and the related<br>
"content.sitemap.config" file. I've supplied (type name, folder, pattern<br>
and formatter settings)<br>
<br>
- Create a details page using the sitemap editor for the related<br>
resourcetype.<br>
<br>
<br>
Further i've created a configurable list (from the provided opencms<br>
module) and configured it to show a listing of the designated resources.<br>
Problem is that the links are not interchanged to the details page, but<br>
still point to the /.content/<resourcetype>/xy_00001.html files.<br>
<br>
<br>
Another question would be if it is possible to have a certain resource<br>
type spread to multiple folders within the /.content/ hierarchy. This<br>
would be required to create collectors showing different articles, but<br>
using the same details page.<br>
Example:<br>
<br>
ResourceType: CustomNews<br>
should be stored in /.content/news<br>
as well as in /.content/archive<br>
<br>
It would work to have 2 different configurable lists showing those<br>
contents, but I'm not able to map it to the same details page.<br>
Any help appreciated!<br>
<br>
Thanks in advance and best regards,<br>
<br>
Markus Fischboeck<br>
<br>
_______________________________________________<br>
This mail is sent to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please visit<br>
<a href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a><br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
This mail is sent to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please visit<br>
<a href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a><br>
<br>
<br>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div><font size="4"><b><img src="http://www.opencmshispano.com/opencms752/export/sites/opencmshispano/galerias/imagenes_uso_externo/firma-correo.png"><br>
</b></font></div></div><div>Visitame en:</div><div><a href="http://www.opencmshispano.com" target="_blank">Comunidad OpenCms Hispano</a></div><div><a href="http://html5pasoapaso.blogspot.com/" target="_blank">HTML5 Paso a Paso</a><br>
</div><div><a href="http://www.sagasoluciones.com" target="_blank">Saga Soluciones</a><br></div><div><a href="http://www.templatesaga.com/" target="_blank">Template Saga</a><br></div><div><br></div><br>