Question
I want to be able to sort the
FileAttachments by Name. Presently the Attachment column in the Table links to the
FileAttachment topic. I want to be able to configure Twiki so that I can sort by that column.
I suspect that I'll have to modify a perl module, perhaps Attach.pm.
The first thing I need to figure out is how is this link to the
FileAttachment Topic being set?
Environment
--
MattRodriguez - 21 Oct 2005
Answer
I suggest you install the forthcoming
DakarRelease as it provides this feature.
Try mousing over the Attachment column of
http://develop.twiki.org/~develop/cgi-bin/view/Sandbox/TestTopicAttachmentS
If you are wondering when it will be released, just as soon as the
Bugs:WebHome
have been squashed.
You can help by installing Beta 3 and giving feedback, especially in terms of testing and fixing any plugin compatibility issues.
--
MartinCleaver - 21 Oct 2005
In Cairo you can edit
attachtables.pattern.tmpl (in templates folder).
Change line 6:
| *I* | *[[%TWIKIWEB%.FileAttachment][Attachment]]* | *Action* | *Size* | *Date* | *Who* | *Comment* |%TMPL:END%
to:
| *I* | *Attachment* | *Action* | *Size* | *Date* | *Who* | *Comment* |%TMPL:END%
--
ArthurClemens - 22 Oct 2005
I've successfully used the Attachment sorting featurn on the development twiki. I've changed to the attachtables.pattern.tmpl file and then the attachtables.tmpl. The link was still pointing to the
FileAttachment Topic.
--
MattRodriguez - 24 Oct 2005
Ok I've finally figured this out. It can be done by editing the attachtables.pattern.tmpl file. I was editing the template file, but I wasn't in the $cfg{TemplateDir}, so my changes had no effect.
--
MattRodriguez - 14 Nov 2005