Re: No Date in Events after Update

Christian Stocker <[email protected]>
Newsgroups gmane.comp.cms.bitflux.general
Organization Bitflux GmbH
Message-ID <[email protected]>
Hi

On 8.1.2006 22:23 Uhr, Adrian Nussbaum wrote:
> hi
> 
>> What says your XML? Try, www.yourdomain.com/events/?XML=1.
> 
> 
> one event-entry as an example:
> 
> -----
> <event title="Sommercamp 2006" link="" von="" bis="" 
> description="Weitere Informationen zum Sommercamp folgen"/>
> -----
> 
> von and bis are empty. it's since my flux-cms has been updated to 
> 1.3.0-dev/r6175 (in r5995 it worked fine, just the date format  (see
> .configxml) wasn't that nice.)

Looks like

  <parameter name="dateformat" value="d.m.Y H:i"/>

is missing in

>      <plugins>
>          <parameter name="xslt" type="pipeline" value="events.xsl"/>
>          <extension type="html"/>
>          <plugin type="events"></plugin>
>          <plugin type="navitree"></plugin>
>      </plugins>

chregu

> 
> 
> 
> adrian
> 
> 
>>
>> Matthias
>>
>>
>>
>>
>>>
>>> Hi
>>>
>>> After my Flux-CMS-Installation has been updatet (to 1.3.0-dev/r6175)
>>> the date in my events-overview has gone.
>>>
>>> see the xsl snippet of this part:
>>> ----
>>> <xsl:template name="overviewEvent">
>>>
>>> <h1><i18n:text>Events</i18n:text></h1>
>>> <div id="tab">
>>>      <table>
>>>      <xsl:for-each select="/bx/plugin[@name='events']/events/event">
>>>      <tr>
>>>          <td>
>>>          <xsl:value-of select="@title" />
>>>          </td>
>>>          <td>
>>>          <xsl:value-of select="@von" />
>>>          <xsl:choose>
>>>              <xsl:when test = "string-length(@bis) &gt; 0 and @bis  !
>>> = '0000-00-00'">
>>>                  <xsl:value-of select="@bis" />
>>>              </xsl:when>
>>>              <xsl:otherwise>
>>>
>>>              </xsl:otherwise>
>>>          </xsl:choose>
>>>          </td>
>>>          <td><a href="http://{@link}">[<i18n:text>read more here</
>>> i18n:text>...]</a></td>
>>>      </tr>
>>>      </xsl:for-each>
>>>      </table></div>
>>>
>>> </xsl:template>
>>> -----------------------
>>>
>>>
>>> my .configxml looks like this:
>>>
>>> -----------------
>>> <bxcms xmlns="http://bitflux.org/config">
>>>      <plugins>
>>>          <parameter name="xslt" type="pipeline" value="events.xsl"/>
>>>          <extension type="html"/>
>>>          <plugin type="events"></plugin>
>>>          <plugin type="navitree"></plugin>
>>>      </plugins>
>>>
>>>      <plugins>
>>>          <parameter name="xslt" type="pipeline" value="../standard/
>>> text.xsl"/>
>>>          <parameter name="output-mimetype" type="pipeline"
>>> value="text/plain"/>
>>>          <extension type="ics"/>
>>>          <plugin type="events">
>>>              <parameter name="dateformat" value="d.m.Y H:i"/>
>>>              <parameter name="calid" value="somerandomid"/>
>>>              <parameter name="calname" value="Test Events2"/>
>>>              <parameter name="caldesc" value="This is a test"/>
>>>          </plugin>
>>>      </plugins>
>>> </bxcms>
>>> -----------
>>
>>
>>
>>
>>>
>>>
>>> any suggestions?
>>>
>>> adrian
>>>
>>>
>>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>    xpure - communication. digital and printed - www.xpure.ch
>>>    adrian nussbaum | linsentalstrasse 5 | ch-8482 sennhof
>>>    mobile: + 41 764 283 913 | [email protected] | http://www.xpure.ch |
>>> http://blogomanie.xpure.ch
>>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>
>>>
>>
>> -- 
>> DSL-Aktion wegen großer Nachfrage bis 28.2.2006 verlängert:
>> GMX DSL-Flatrate 1 Jahr kostenlos* http://www.gmx.net/de/go/dsl
> 
> 

-- 
christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich
phone +41 44 240 56 70 | mobile +41 76 561 88 60 | fax +41 1 240 56 71
http://www.bitflux.ch | [email protected] |  GPG 0x5CE1DECB
-- 
bitflux-cms mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.