[opencms-dev] Show content expired or unreleased in online mode

Schliemann, Kai K.Schliemann at comundus.com
Fri Nov 10 17:56:52 CET 2017


Hi Yamit,
of course.
In your schema should be a section looking like this (field names my vary):

       <mappings>
         <mapping element="Date1" mapto="attribute:datereleased" />

         <mapping element="Date2" mapto="attribute:datelastmodified" />
       </mappings>

You can completely remove this section.
The blog articles already created with the mappings need to be edited again in order to get the dates removed from the attribute dates.
If you want to show the modified date of your blog articles on your web page, you can leave the mapping for date2.

HTH
Best regards
Kai


Von: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] Im Auftrag von Yamit David Moreno Socha
Gesendet: Freitag, 10. November 2017 14:54
An: The OpenCms mailing list <opencms-dev at opencms.org>
Betreff: Re: [opencms-dev] Show content expired or unreleased in online mode

Thanks Kai

I wish create a dynamic list and show future "events" and other list with "blog articles" using Solr query ([NOW TO 10MONTH]) in index.html page and show all events in history_events.html page and same with history_blogs.html.

I'nt expert in OpenCms, i know the schema.xml file and its fields but i dont know how modifie it to my case without damaging it.

Can you explain me your solve? "The easiest way might be to remove the mapping of the date fields in your xml schema to the OpenCms date fields."

I appreciate your help

Regards

Yamit Moreno

AVISO DE CONFIDENCIALIDAD: Este mensaje y sus adjuntos se dirigen exclusivamente a su destinatario, puede contener información privilegiada o confidencial y es para uso exclusivo de la persona o entidad de destino. Si no es usted. el destinatario indicado, queda notificado de que la lectura, utilización, divulgación y/o copia sin autorización puede estar prohibida en virtud de la legislación vigente. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma vía y proceda a su dest! rucción.

CONFIDENTIALITY NOTICE: The information contained in this transmission is privileged and confidential information intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this transmission in error, do not read it. Please immediately reply to the sender that you have received this communication in error and then delete it.

AVISO DE CONFIDENCIALIDAD: Este mensaje y sus adjuntos se dirigen exclusivamente a su destinatario, puede contener información privilegiada o confidencial y es para uso exclusivo de la persona o entidad de destino. Si no es usted. el destinatario indicado, queda notificado de que la lectura, utilización, divulgación y/o copia sin autorización puede estar prohibida en virtud de la legislación vigente. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma vía y proceda a su destrucción.

CONFIDENTIALITY NOTICE: The information contained in this transmission is privileged and confidential information intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this transmission in error, do not read it. Please immediately reply to the sender that you have received this communication in error and then delete it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20171110/e0454f80/attachment.htm>


More information about the opencms-dev mailing list