<div dir="ltr"><div class="gmail_extra"><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr">Hi Kai, thanks for your help</div><div dir="ltr"><br></div><div dir="ltr">i'm modifying "events" and they shown in normal font and this are in folder "./content/events/"</div><div dir="ltr">i have 50 events and i modified only one event from context menu "Date released" = 11/29/17 09:29 AM and "Date expired" = 12/1/17 09:29 AM and it shown in italic font i did same with other event but i created those same dates from  nav tab "avability" located in "content" of event and it shown in normal font, i deleted those dates from other events and i publish they after</div><div dir="ltr"><br></div><div dir="ltr">In System element "list of content" i add the path on option "Folder" = "./content/events/" and the Sorl query in "Filter options" = "&fq=released:[NOW TO NOW+10MONTH]" without this query the list show all events exept the event with dates created in context menu "Advanced->Availability" it shown only in offline mode<br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr">********************************************************************************************</div><div dir="ltr"><br></div><div>event.xsd source (path: /system/modules/org.opencms.apollo/schemas/)</div><div><br></div><div><div><xsd:schema xmlns:xsd="<a href="http://www.w3.org/2001/XMLSchema">http://www.w3.org/2001/XMLSchema</a>" elementFormDefault="qualified"></div><div><br></div><div><span style="white-space:pre">      </span><xsd:include schemaLocation="opencms://opencms-xmlcontent.xsd" /></div><div><span style="white-space:pre">     </span><xsd:include schemaLocation="opencms://system/modules/org.opencms.apollo/schemas/nested/paragraph.xsd" /></div><div><span style="white-space:pre">     </span><xsd:include schemaLocation="opencms://system/modules/org.opencms.apollo/schemas/nested/address.xsd" /></div><div><span style="white-space:pre">       </span><xsd:include schemaLocation="opencms://system/modules/org.opencms.apollo/schemas/nested/availability.xsd" /></div><div><br></div><div><span style="white-space:pre"> </span><xsd:element name="ApolloEvents" type="OpenCmsApolloEvents" /></div><div><br></div><div><span style="white-space:pre">     </span><xsd:complexType name="OpenCmsApolloEvents"></div><div><span style="white-space:pre">          </span><xsd:sequence></div><div><span style="white-space:pre">                  </span><xsd:element name="ApolloEvent" type="OpenCmsApolloEvent" minOccurs="0" maxOccurs="unbounded" /></div><div><span style="white-space:pre">                </span></xsd:sequence></div><div><span style="white-space:pre"> </span></xsd:complexType></div><div><br></div><div><span style="white-space:pre">     </span><xsd:complexType name="OpenCmsApolloEvent"></div><div><span style="white-space:pre">           </span><xsd:sequence></div><div><span style="white-space:pre">                  </span><xsd:element name="Title" type="OpenCmsString" /></div><div><span style="white-space:pre">                   </span><xsd:element name="Date" type="OpenCmsDateTime" /></div><div><span style="white-space:pre">                  </span><xsd:element name="EndDate" type="OpenCmsDateTime" minOccurs="0" /></div><div><span style="white-space:pre">                       </span><xsd:element name="Type" type="OpenCmsString" minOccurs="0" /></div><div><span style="white-space:pre">                    </span><xsd:element name="Teaser" type="OpenCmsString" minOccurs="0" /></div><div><span style="white-space:pre">                  </span><xsd:element name="Paragraph" type="OpenCmsApolloParagraph" maxOccurs="5" /></div><div><span style="white-space:pre">                      </span><xsd:element name="Location" type="OpenCmsString" minOccurs="0" /></div><div><span style="white-space:pre">                        </span><xsd:element name="Address" type="OpenCmsHtml" minOccurs="0" /></div><div><span style="white-space:pre">                   </span><xsd:element name="AddressDetails" type="OpenCmsApolloAddress" minOccurs="0" /></div><div><span style="white-space:pre">                   </span><xsd:element name="Category" type="OpenCmsDynamicCategory" /></div><div><span style="white-space:pre">                       </span><xsd:element name="Availability" type="OpenCmsApolloAvailability" minOccurs="0" /></div><div><span style="white-space:pre">                        </span><xsd:element name="GalleryTitle" type="OpenCmsString" minOccurs="0" /></div><div><span style="white-space:pre">            </span></xsd:sequence></div><div><span style="white-space:pre">         </span><xsd:attribute name="language" type="OpenCmsLocale" use="required" /></div><div><span style="white-space:pre">     </span></xsd:complexType></div><div><br></div><div><span style="white-space:pre">     </span><xsd:annotation></div><div><span style="white-space:pre">                </span><xsd:appinfo></div><div><span style="white-space:pre">                   </span><resourcebundle name="org.opencms.apollo.template.event.messages" /></div><div><span style="white-space:pre">                  </span><tabs></div><div><span style="white-space:pre">                          </span><tab element="Title" collapse="false" name="TabGeneral" /></div><div><span style="white-space:pre">                                </span><tab element="Location" collapse="false" name="TabLocation" /></div><div><span style="white-space:pre">                            </span><tab element="Category" collapse="true" name="TabAvailability" /></div><div><span style="white-space:pre">                 </span></tabs></div><div><span style="white-space:pre">                 </span><mappings></div><div><span style="white-space:pre">                              </span><mapping element="GalleryTitle" mapto="property:Title" useDefault="true" /></div><div><span style="white-space:pre">                               </span><mapping element="GalleryTitle" mapto="urlName" useDefault="true" /></div><div><span style="white-space:pre">                              </span><!--mapping element="Availability/Release" mapto="attribute:datereleased" /></div><div><span style="white-space:pre">                                </span><mapping element="Availability/Expiration" mapto="attribute:dateexpired" / --></div><div><span style="white-space:pre">                      </span></mappings></div><div><span style="white-space:pre">                     </span><defaults></div><div><span style="white-space:pre">                              </span><default element="Title" value="%(key.title.a-event)" /></div><div><span style="white-space:pre">                            </span><default element="Paragraph/Text" value="%(key.apollo.event.default.Text)" /></div><div><span style="white-space:pre">                               </span><default element="Date" value="%(currenttime)" /></div><div><span style="white-space:pre">                           </span><default element="EndDate" value="%(currenttime + 604800000)" /></div><div><span style="white-space:pre">                            </span><default element="Availability/Release" value="%(currenttime)" /></div><div><span style="white-space:pre">                           </span><default element="Availability/Expiration" value="%(currenttime + 31536000000)" /></div><div><span style="white-space:pre">                          </span><default element="GalleryTitle" value="%(value:Title)" resolveMacros="false" /></div><div><span style="white-space:pre">                   </span></defaults></div><div><span style="white-space:pre">                     </span><layouts></div><div><span style="white-space:pre">                               </span><layout element="Teaser" widget="TextareaWidget" configuration="4" /></div><div><span style="white-space:pre">                             </span><layout element="Category" widget="CategoryWidget" configuration="onlyleafs=false" /></div><div><span style="white-space:pre">                     </span></layouts></div><div><span style="white-space:pre">                      </span><validationrules></div><div><span style="white-space:pre">                               </span><rule element="Title" regex=".+" type="error" message="Title must not be empty." /></div><div><span style="white-space:pre">                     </span></validationrules></div><div><span style="white-space:pre">                      </span><relations></div><div><span style="white-space:pre">                             </span><relation element="Paragraph/Image/Image" invalidate="parent" /></div><div><span style="white-space:pre">                    </span></relations></div><div><span style="white-space:pre">                    </span><searchsettings containerPageOnly="false"></div><div><span style="white-space:pre">                            </span><searchsetting element="Date" searchcontent="false"></div><div><span style="white-space:pre">                                        </span><solrfield targetfield="event-date" sourcefield="*_dt" /></div><div><span style="white-space:pre">                                   </span><solrfield targetfield="newsdate" sourcefield="*_dt" /></div><div><span style="white-space:pre">                             </span></searchsetting></div><div><span style="white-space:pre">                                </span><searchsetting element="Title" searchcontent="false"></div><div><span style="white-space:pre">                                       </span><solrfield targetfield="disptitle" sourcefield="*_s" /></div><div><span style="white-space:pre">                             </span></searchsetting></div><div><span style="white-space:pre">                                </span><searchsetting element="Type"></div><div><span style="white-space:pre">                                        </span><solrfield targetfield="event-type" sourcefield="*_s" /></div><div><span style="white-space:pre">                            </span></searchsetting></div><div><span style="white-space:pre">                                </span><searchsetting element="Location"></div><div><span style="white-space:pre">                                    </span><solrfield targetfield="event-location" sourcefield="*_s" /></div><div><span style="white-space:pre">                                </span></searchsetting></div><div><span style="white-space:pre">                                </span><searchsetting element="AddressDetails/Locality"></div><div><span style="white-space:pre">                                     </span><solrfield targetfield="event-locality" sourcefield="*_s" /></div><div><span style="white-space:pre">                                </span></searchsetting></div><div><span style="white-space:pre">                                </span><searchsetting element="GalleryTitle" searchcontent="false" /></div><div><span style="white-space:pre">                      </span></searchsettings></div><div><span style="white-space:pre">                       </span><visibilities></div><div><span style="white-space:pre">                          </span><visibility element="GalleryTitle" params="ROLE.GALLERY_EDITOR" /></div><div><span style="white-space:pre">                  </span></visibilities></div><div><span style="white-space:pre">                 </span><editorchangehandlers></div><div><span style="white-space:pre">                          </span><editorchangehandler</div><div><span style="white-space:pre">                                       </span>class="org.opencms.ade.contenteditor.CmsEditorChangeHandlerProperty"</div><div><span style="white-space:pre">                                        </span>scope="Paragraph*/Image*/Image" configuration="Copyright|../Copyright" /></div><div><span style="white-space:pre">                      </span></editorchangehandlers></div><div><span style="white-space:pre">         </span></xsd:appinfo></div><div><span style="white-space:pre">  </span></xsd:annotation></div><div><br></div><div></xsd:schema></div></div><div><br></div><div>******************************************************************************************************************************************************</div><div><br></div><div>List source (controlcode)</div><div><br></div><div><div><?xml version="1.0" encoding="UTF-8"?></div><div><br></div><div><ApolloLists xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>" xsi:noNamespaceSchemaLocation="opencms://system/modules/org.opencms.apollo/schemas/list.xsd"></div><div>  <ApolloList language="en"></div><div>    <Headline><![CDATA[Eventos]]></Headline></div><div>    <TypesToCollect>a-event:194e26bc-c5b6-11e5-a73e-0242ac11002b</TypesToCollect></div><div>    <Folder></div><div>      <link type="WEAK"></div><div>        <target><![CDATA[/sites/default/.content/eventos/]]></target></div><div>        <uuid>03dc9088-463f-11e7-8919-52540022b94b</uuid></div><div>      </link></div><div>    </Folder></div><div>    <Category></div><div>      <!--Categories are read dynamically--></div><div>    </Category></div><div>    <SortOrder><![CDATA[dateasc]]></SortOrder></div><div>    <ItemsPerPage><![CDATA[15]]></ItemsPerPage></div><div>    <Parameters></div><div>      <Key><![CDATA[teaserLength]]></Key></div><div>      <Value><![CDATA[1]]></Value></div><div>    </Parameters></div><div>    <Parameters></div><div>      <Key><![CDATA[displayOption]]></Key></div><div>      <Value><![CDATA[showCalendar]]></Value></div><div>    </Parameters></div><div>    <Parameters></div><div>      <Key><![CDATA[entryButtonText]]></Key></div><div>      <Value><![CDATA[Ver evento]]></Value></div><div>    </Parameters></div><div>    <Parameters></div><div>      <Key><![CDATA[listWrapper]]></Key></div><div>      <Value><![CDATA[eventsList]]></Value></div><div>    </Parameters></div><div>    <Parameters></div><div>      <Key><![CDATA[showExpired]]></Key></div><div>      <Value><![CDATA[true]]></Value></div><div>    </Parameters></div><div>    <FilterQueries><![CDATA[&fq=released:[NOW TO NOW+10MONTH]]]></FilterQueries></div><div>  </ApolloList></div><div></ApolloLists></div></div><div><br></div><div dir="ltr">*****************************************************************************************************************************</div><div dir="ltr"><br></div><div>event-teaser-elaborate.jsp source (path /system/modules/org.opencms.apollo/formatters/)</div><div><br></div><div><div><%@page</div><div>    buffer="none"</div><div>    session="false"</div><div>    trimDirectiveWhitespaces="true"%></div><div><br></div><div><%@ taglib prefix="c" uri="<a href="http://java.sun.com/jsp/jstl/core">http://java.sun.com/jsp/jstl/core</a>" %></div><div><%@ taglib prefix="cms" uri="<a href="http://www.opencms.org/taglib/cms">http://www.opencms.org/taglib/cms</a>"%></div><div><%@ taglib prefix="fn" uri="<a href="http://java.sun.com/jsp/jstl/functions">http://java.sun.com/jsp/jstl/functions</a>"%></div><div><%@ taglib prefix="fmt" uri="<a href="http://java.sun.com/jsp/jstl/fmt">http://java.sun.com/jsp/jstl/fmt</a>"%></div><div><%@ taglib prefix="apollo" tagdir="/WEB-INF/tags/apollo" %></div><div><br></div><div><cms:secureparams /></div><div><apollo:init-messages></div><div><br></div><div><cms:formatter var="content" val="value"></div><div><fmt:setLocale value="${cms.locale}" /></div><div><cms:bundle basename="org.opencms.apollo.template.event.messages"></div><div><br></div><div><c:set var="paragraph" value="${content.valueList.Paragraph['0']}" /></div><div><c:set var="teaserLength" value="${cms.element.settings.teaserLength}" /></div><div><c:set var="showDate" value="${cms.element.settings.showDate}" /></div><div><c:set var="baseUri" value="${cms.element.settings.pageUri}" /></div><div><br></div><div><c:set var="showImageLarge" value="${paragraph.value.Image.exists and (cms.element.settings.displayOption == 'largeImage')}" /></div><div><c:set var="showImageSmall" value="${paragraph.value.Image.exists and (cms.element.settings.displayOption == 'smallImage')}" /></div><div><c:set var="showCalendar" value="${cms.element.settings.displayOption == 'showCalendar'}" /></div><div><br></div><div><c:choose></div><div>    <c:when test="${showImageSmall}"></div><div>        <c:set var='divStart' value='<div class="col-sm-4 hidden-xs teaser-visual">' /></div><div>        <c:set var='divCenter' value='</div><div class="col-sm-8 teaser-body">' /></div><div>        <c:set var='divEnd' value='</div>' /></div><div>        <c:set var="animationClass" value="${cms.element.settings.ieffect != 'none' ? cms.element.settings.ieffect : ''}" /></div><div>    </c:when></div><div>    <c:when test="${showCalendar}"></div><div>        <c:set var='divStart' value='<div class="fixcol-sm-125 hidden-xs teaser-visual">' /></div><div>        <c:set var='divCenter' value='</div><div class="col-xs-12 fixcol-sm-125-rest teaser-body">' /></div><div>        <c:set var='divEnd' value='</div>' /></div><div>        <c:set var="animationClass" value="ap-raise-animation " /></div><div>    </c:when></div><div>    <c:otherwise></div><div>        <c:set var='divStart' value='' /></div><div>        <c:set var='divCenter' value='<div class="col-xs-12 teaser-body">' /></div><div>        <c:set var='divEnd' value='</div>' /></div><div>        <c:set var="animationClass" value="${cms.element.settings.ieffect != 'none' ? cms.element.settings.ieffect : ''}" /></div><div>    </c:otherwise></div><div></c:choose></div><div><br></div><div><div class="row ap-teaser ap-event-teaser ${animationClass}${' '}${cms.element.settings.cssWrapper}"></div><div><br></div><div>    <c:if test="${showImageSmall or showCalendar}"></div><div>        <c:out value="${divStart}" escapeXml="false" /></div><div>        <a class="link" href="<cms:link baseUri="${baseUri}">${content.filename}</cms:link>" ></div><div>            <c:choose></div><div>                <%-- ####### Show small image ######## --%></div><div>                <c:when test="${showImageSmall}"></div><div>                    <apollo:image-animated image="${paragraph.value.Image}" /></div><div>                </c:when></div><div>                <%-- ####### Show calendar sheet ######## --%></div><div>                <c:otherwise></div><div>                    <div class="calendar-sheet animated-box"></div><div>                        <div class="day"></div><div>                            <fmt:formatDate value="${cms:convertDate(content.value.Date)}"</div><div>                                pattern="EEEE" type="date" /></div><div>                        </div></div><div>                        <h3></div><div>                            <fmt:formatDate value="${cms:convertDate(content.value.Date)}"</div><div>                                pattern="d" type="date" /></div><div>                        </h3></div><div>                        <div class="monthYear"></div><div>                            <fmt:formatDate value="${cms:convertDate(content.value.Date)}"</div><div>                                pattern="MMM yyyy" type="date" /></div><div>                        </div></div><div>                    </div></div><div>                </c:otherwise></div><div>            </c:choose></div><div>        </a></div><div>    </c:if></div><div><br></div><div>    <c:out value="${divCenter}" escapeXml="false" /></div><div><br></div><div>        <c:if test="${showImageLarge}"></div><div>            <c:set var="imgLink"><cms:link baseUri="${baseUri}">${content.filename}</cms:link></c:set></div><div>            <a href="${imgLink}" class="event-image"><apollo:image-animated image="${paragraph.value.Image}" /></a></div><div>        </c:if></div><div><br></div><div>        <c:set var="text">${content.value.Teaser}</c:set></div><div>        <c:if test="${empty text}"><c:set var="text">${cms:trimToSize(cms:stripHtml(paragraph.value.Text), teaserLength)}</c:set></c:if></div><div>        <c:set var="href"><cms:link baseUri="${baseUri}">${content.filename}</cms:link></c:set></div><div><br></div><div>        <apollo:teaserbody</div><div>            text="${text}"</div><div>            textlength="${teaserLength}"</div><div>            title="${content.value.Title}"</div><div>            href="${href}"</div><div>            date="${content.value.Date}"</div><div>            enddate="${content.value.EndDate}"</div><div>            showdate="${showDate}"</div><div>        /></div><div><br></div><div>    <c:out value="${divEnd}" escapeXml="false" /></div><div><br></div><div></div></div><div><br></div><div></cms:bundle></div><div></cms:formatter></div><div><br></div><div></apollo:init-messages></div></div><div><br></div><div>Thank you so much</div><div dir="ltr"><br></div><div dir="ltr"><span style="color:rgb(80,0,80);font-size:12.8px">Regards</span><br style="color:rgb(80,0,80);font-size:12.8px"><br style="color:rgb(80,0,80);font-size:12.8px"><span style="color:rgb(80,0,80);font-size:12.8px">Yamit Moreno</span><br></div></div></div></div></div></div></div></div></div></div></div>
</div></div>

<br>
<font color="gray" size="1"><b>AVISO DE CONFIDENCIALIDAD</b>: 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. <br><br><b>CONFIDENTIALITY NOTICE</b>: 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.<br></font><br>