Difference between revisions of "Issue:Event template appears in list of all events"

From FollowTheScore
Jump to: navigation, search
Line 23: Line 23:
  
 
You can make these changes in your wiki or download the latest version.
 
You can make these changes in your wiki or download the latest version.
 +
[[User:Gero|Gero]] 08:46, 20 January 2008 (CET)
  
[[User:Gero|Gero]] 08:46, 20 January 2008 (CET)
+
:Cool, thanks. [[User:XApple|XApple]] 19:05, 24 January 2008 (CET)

Revision as of 20:05, 24 January 2008

Description: Event template appears in list of all events
Extension / Version: Calendar   /   1.0
Type / Status: Bug   /   open

Problem

When I place the following code on a page:

{{:Current events|
|eventList=all
}}

Amongst the list containing all the events, also appears the event template itself... this is very ugly, can it be avoided ? XApple 01:26, 20 January 2008 (CET)

Reply

I made the following changes (which prevents templates from being taken as event definitions in general):

  • moved "Event Template" to "Template:Event Template" (make sure to delete the normale article named "Event Template")
  • changed the reference in "Template:Create Event"
  • added "notnamespace=Template" in "Template:Calendar month"
  • chnaged the Chinese version accordingly

You can make these changes in your wiki or download the latest version. Gero 08:46, 20 January 2008 (CET)

Cool, thanks. XApple 19:05, 24 January 2008 (CET)