Sue Firth wrote on 03 Sep 2009 10:30
Is there a simple way to add a docs section and wiki section to the issue tracker template without copying files one at a time from one of the other templates that does have these sections?
More generally, an idea for all the templates: would it be possible to offer the various menu sections as modules that can be added to the basic task specific template as the user sees fit? So I choose the task of "issue tracking", but then decide a wiki would help that site to be more effective, so add that module by clicking a button, or whatever.
This was the idea behind packages.
Now, we're also planning a version of the Clone module that will copy categories from one site to another, together with configuration. This would let us import chunks from some master site that has carefully-defined categories for each package.
Portfolio
This sounds brilliant. So I can get started with using a basic issue tracker system and then add the wiki category to it when the new cloning tool arrives! Cool. I'll be your guinea pig for that, if it helps.
I'm a bit stuck with this bit of code from the file include:today
I assume it is trying to create a file called today:yyyy-mm-dd but don't really know how and this code doesn't seem to work on my site. When I click on "Start today page" I get a white screen with "No such page" for page sitename.wdfiles.com/local—code/today when I think I'm expecting to get the usual create page screen. Consequently, no today file is created. Is the code in this include file incorrect or have I missed something else in the setup of my site? Is the top section of code supposed to be in a comment block to make it work, or has it been commented out to stop it from being executed? Sorry to be a bit thick.
It looks like it's adding the date into the page name.
So the page name you should be looking for is not /today …. but /today:2009-09-06
Does that work?
~ Leiger - Wikidot Community Admin - Volunteer
Wikidot: Official Documentation | Wikidot Discord server | NEW: Wikiroo, backup tool (in development)
Shane, thanks for your reply. So we both agree that the new filename will be in the format /today:yyyy-mm-dd/edit/true so that's a step forward! Do you understand how this string gets translated into (I presume) /today/code which seems to be referring to the page pointed to by the "Start today page" link?
Not sure 100% what you mean. Can you provide the link to an example?
~ Leiger - Wikidot Community Admin - Volunteer
Wikidot: Official Documentation | Wikidot Discord server | NEW: Wikiroo, backup tool (in development)
Yes, sorry that I didn't do this earlier. I haven't changed any of this code on my site (private), so you can use the template to generate the same error:
http://issuetracker-template.wikidot.com/include:today
This is an included file, activated from http://issuetracker-template.wikidot.com/start, by expanding the collapsible block "+ Show today", then clicking the "Start today page" link.
Hope this helps!