[pmwiki-users] Calendar / Event list

Thomas Lederer celok at gmx.net
Fri Mar 31 11:17:09 CST 2006


Chris Cox schrieb am 31.03.2006 19:08 Uhr:
> Thomas Lederer wrote:
>> Hi all,
>>
>> thank you very much for all your responses... still it seems to be a bit
>> of "overkill" (way to much) ;)
> 
> ok??  Maintaining a complicated set of markup (very complicated)
> on a single page.... that's easier?

Hmm... having a table with alll entries on one page seems (!) to be
easier to me. Reading through for typos, having the same date format for
all entries...

>> Maybe i should be a little more detailed.
>>
>> I would like a page (one) to store the events. Having one page per event
>> seems to be huge unnecessary waste.
> 
> Which implies that you are manipulating ALL of the events
> quite often??

Well actually no, i add entried once every six months, but then i would
like to have them dynamically show "the next event is:".

>> My requirements are: 	date	time	description (less than 10 words)
>>
>> thats basically one line per event.
>>
>> I thought maybe something like this:
>>
>> ||[[#t200604]]|| || ||
>> ||[[#t20060401]]01.04.2006 ||20.00 || Pizzaeating ||
>> ||[[#t20060404]]04.04.2006 ||      || Holiday     ||
>> ||[[#t20060411]]11.04.2006 ||20.00 || Party-Time  ||
>> ||[[#t20060419]]19.04.2006 ||15.00 || Teatime     ||
>> ||[[#t200605]]|| || ||
>>
>> My problem is, that i can't seem to get something like:
>>
>> Next three events
>> (:include Eventpage date>=today lines=3:)
>> must not show past events, but can not be started with #t_today because
>> that might not exist.
>>
>> Events in April
>> (:include Eventspage#t200604#t200605 :) works fine i think
>>
>> Btw: the anchors have that "t" in it, because it seems that only
>> numerical don't work.
>>
>> And that is why PmCal and wikicalender seem to be "way to much", because
>> i do not neet a nice calender image... and they can't offer the "next
>> events" either, can they? (not sure)
> 
> Take a look at:
> http://pmwiki.org/wiki/Test/Cjc
> 
> (:pmcal cals=Cjc caltype=text monthsahead=1 expire=-1 zebra=false textcalfmt=%20 textdatefmt='%A, %B %e, %Y':)
> 
> It shows events starting with today and out for one month comming out of the Cjc calendar.
> 
> textcalfmt gets rid of the identifier showing where the calendar came from (Cjc) and
> textdatefmt isn't necessary... just depends on how you like the dates to be formatted.
> 
> By default (also configurable), the date links will take you to the page on the calendar
> where you could have more detail.
> 
> Just an option.
> 

I appreciate your comments, yet, the layout of the events is not as
staight as the table above (my impression). The code fragment Pm did
come up with, seems to be just what i needed. So please don't feel bad
if i use that one :)

So basically i have 2 Pages for a year, and not 50. As there are no
entries to the events, this seems to be "better" to me.

If i had a blog (which i did in the past) i'd agree with you, and have a
page for each "entry".

best regards,
Tom




More information about the pmwiki-users mailing list