transclusion of links

Jump to: navigation, search

Hi David,

That's an interesting question. The DPL manual page on output order is here. My first thought is that if you are creating the question pages in numerical order, you could use a parameter like ordermethod=firstedit to sort the list based on the creation order of the pages. For instance, this dpl code

{{#dpl:
|titlematch=Math_Exam_Resources/Courses/MATH152/April_2011/Question%
|nottitlematch=Math_Exam_Resources/Courses/MATH152/April_2011/%/%
|replaceintitle=$Math Exam Resources/Courses/MATH152/April 2011/$, 
|namespace=Science
|shownamespace=false
|ordermethod=firstedit
|columns=3
|rowcolformat=width=70%
|noresultsheader=No pages found.
}}

seems to output in the desired order:


However, this method relies entirely on question pages being built in numerical order. Maybe that would work, though? I'll try to think of other options.

Cheers,

18:40, 7 March 2012

I already know that some exam questions were not created in that order, so that would not work as a general solution (I should have thought of that, we could have accommodated that though).

I'm starting to think that having them renamed into 01, 02, ... isn't such a bad thing and is fairly easy to implement in the few exams that require it. I won't implement that for another few days though, so if you come up with another idea, let me know!

Cheers,

18:51, 7 March 2012