Re: Events-Plugin: a nicer Date

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

On 4.1.2006 19:18 Uhr, Adrian Nussbaum wrote:
> my .configxml (in /events/overview) now looks like this:
> 
> 
> <bxcms xmlns="http://bitflux.org/config">
>     <plugins>
>         <parameter name="xslt" type="pipeline" value="events.xsl"/>
>         <extension type="html"/>
> <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>
>         <plugin type="navitree"></plugin>
>     </plugins>
> 
> 
> </bxcms>
> 
> should this work?

I don't know, according to the code, it should work and your .configxml
looks ok.

Which Flux CMS version do you have (the login screen tells you that)?
It was checked in in r6056 , which was committed on the 19th December 2005.

If you have a revision below r6056, you should upgrade your installation.

chregu


> the date didn't change...

> 
> 
>>
>>
>> On 4.1.2006 17:27 Uhr, Adrian Nussbaum wrote:
>>
>>> Hi
>>>
>>> I want to change the output-date of the event to a "swiss-  Format"
>>> (e.g.
>>> 04.01.2006, 17:24).
>>>
>>> once someone told me I have to have a look at events.php. But if I
>>> change the Format of the "$von"-Variable the output doesn't change...
>>> Can i do anything in events.xsl?
>>
>>
>> There's a new option in the event plugin (since quite some time). Try
>>
>>  <plugin type="events">
>>             <parameter name="dateformat" value="d.m.Y H:i"/>
>>         </plugin>
>>
>> in your .configxml
>> chregu
>>
>>>
>>>
>>>
>>>
>>> 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
>>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>
>>>
>>
>> -- 
>> 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
> 
> 

-- 
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.