SID-00511: List attachments with SEARCH-Variables
| Status: |
Answered |
TWiki version: |
4.1.2 |
Perl version: |
|
| Category: |
CategoryAttachments |
Server OS: |
|
Last update: |
14 years ago |
Hello,
we want to list our attachments in a topic. We also list our topics with the SEARCH-Variable. Are there any other possibilities to list the attached files in a topic?
I hope you can help me!
bye
--
TWikiGuest - 2009-08-31
Discussion and Answer
I think the answer to
SID-00473 will help here.
--
SeanCMorgan - 2009-08-31
Yes, but i don't want to output the topics where attachments are attached. We wan't to list the attachments like in the attachment-table ("Do not show attachment in table" - Function).
Can i / you realize that with twiki?
P.S.: very much "attach"
--
TWikiGuest - 2009-09-01
You might be able to reuse the existing
TWikiTemplates for that (e.g.,
attachtables.tmpl).
--
SeanCMorgan - 2009-09-01
Note 1:
I build a table with the following variables:
META{ "attachments" all="on" title="<b>Dokumente</b>" }%
But we don't want, that our list (table of attachments) looks like the usually TWiki-Attachtable.
Note 2:
I don't find anything at the
TWikiTemplates page. I don't know why, but i can't find anything like attachtables.tmpl
--
TWikiGuest - 2009-09-02
Now, i found the attachtables.tmpl..but not in
TWikiTemplates. I found it in
TWikiSkins. But i don't know, how i can change the styles and skins of the table.
--
TWikiGuest - 2009-09-02
OK, one more suggestion (this
has to work!)
AttachmentListPlugin
--
SeanCMorgan - 2009-09-02
Oh nice. I will try it today
--
TWikiGuest - 2009-09-03
What is being output, if i am use this plugin? I need to install this plugin first? I dont get any output. I input this syntax: %ATTACHMENTLIST{topic="TestAttachment" web="Sandbox"}%
Is it right?
--
TWikiGuest - 2009-09-04
Yes, you need to install this plugin first.
--
SeanCMorgan - 2009-09-08
oh okay
--
TWikiGuest - 2009-09-11
Sadly, the original question (showing attacmnets using SEARCH) was never answered.
--
VickiBrown - 2011-09-06
Happily, the community still supports your workplace, even though the company never contributed a single line of code to the open source TWiki project in spite of having a have a huge mission critical TWiki deployment.
See
$query() variable in
FormattedSearch.
--
PeterThoeny - 2011-09-06
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.