Talk:Test calendar

From FollowTheScore
Revision as of 17:26, 16 April 2007 by Eiland (talk | contribs)
Jump to: navigation, search

Customization questions

Five questions:

  1. I want the date syntax to be 2007-04-05 whatever event, so dashes instead of slashes; where do I modify this template?
  2. And in my multilingual wiki the page "Calendar travnja 2007" was created, which looks like
    Predložak:!30Predložak:!Predložak:!Predložak:!Predložak:! Predložak:!Predložak:! Predložak:!Predložak:! Predložak:!Predložak:! Predložak:!Predložak:! Predložak:!colspan="7"Predložak:!2007
    Where Predložak means template. What is that? The source of the page just says what it should say under Test_calendar#Create_a_page_for_each_month
    • my guess is that your website does not have this template: Template:!. Please add it and let me know if it works. --Ycombarnous 15:26, 16 April 2007 (CEST)
    Yep that's it! --Eiland 17:26, 16 April 2007 (CEST)
  3. Is it possible to make a template for upcoming events? So for example the 10 next upcoming events? Or the ten next days?
    • Next ten days should be easy, as dpl can take several arguments for "titlematch". Create a template with the following code, and insert it in a page (you may change the "order" method at the last line, depending on how you want to see things):
{{#dpl:category=Events
  |titlematch={{#time:Y/m/d | +1 days}}%¦{{#time:Y/m/d | +2 days}}%
  |include=#Summary,#Participants
  |mode=userformat
  |resultsheader=There are %PAGES% events planned in the next 2 days.
  |noresultsheader=No events planned so far for the next 2 days.
  |listseparators=¶{¦ class="wikitable" ¶!Date / Event name ¶!Categories ¶!Event summary ¶!Participants,¶¦-¶¦<h5>[[%PAGE%]]</h5>¶¦ %CATLIST%,,¶¦}
  |secseparators=¶¦
  |ordermethod=title
  |addcategories=true
  |order=descending
}}
  1. Can these events be imported/RSSFeed' anywhere (maybe this is a DPL function?)
  2. On the monthly calendar layout, the date of the month could have __<<__ april __>>__-links for moving to the previous/next month.

--Eiland 15:44, 13 April 2007 (CEST)

backlink

Maybe the individual event pages should contain a back-link to the calendar page? --Gero 07:01, 16 April 2007 (CEST)