Difference between revisions of "Issue:Parser issue (I think)"

From FollowTheScore
Jump to: navigation, search
(Problem)
Line 10: Line 10:
 
I've made a small php-function that outputs something I need as a titlematch-parameter. It's actually for the DPL-calendar, where I want to show the next 5 events coming up in the remainder of this year and the next one.
 
I've made a small php-function that outputs something I need as a titlematch-parameter. It's actually for the DPL-calendar, where I want to show the next 5 events coming up in the remainder of this year and the next one.
  
I call the function with a tag like this: <getCalSpan/>
+
I call the function with a tag like this: <getCalendarSpan/>
  
 
And right now it outputs the following: 2009_08%|2009_09%|2009_10%|2009_11%|2009_12%|2010%
 
And right now it outputs the following: 2009_08%|2009_09%|2009_10%|2009_11%|2009_12%|2010%
Line 25: Line 25:
  
 
[[User:Martinfs|Martinfs]] 01:12, 31 August 2009 (UTC)
 
[[User:Martinfs|Martinfs]] 01:12, 31 August 2009 (UTC)
 
 
  
 
== Reply ==
 
== Reply ==

Revision as of 03:39, 31 August 2009

Description:
Extension / Version: DPL   /   ?
Type / Status: Other   /   open

Problem

I've made a small php-function that outputs something I need as a titlematch-parameter. It's actually for the DPL-calendar, where I want to show the next 5 events coming up in the remainder of this year and the next one.

I call the function with a tag like this: <getCalendarSpan/>

And right now it outputs the following: 2009_08%|2009_09%|2009_10%|2009_11%|2009_12%|2010%

So the following simple DPL-call should output just what I need:

{{#dpl: |titlematch=<getCalendarSpan/> }}

I've tried putting it in a template but I'm not getting any results. Any help would be appreciated.

Martinfs 01:12, 31 August 2009 (UTC)

Reply