Tags:
create new tag
view all tags

SID-00511: List attachments with SEARCH-Variables

Status: Answered 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" wink

-- 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 frown

-- 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!) smile AttachmentListPlugin

-- SeanCMorgan - 2009-09-02

Oh nice. I will try it today wink

-- 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 smile

-- TWikiGuest - 2009-09-11

Sadly, the original question (showing attacmnets using SEARCH) was never answered. frown

-- 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

      Change status to:
ALERT! 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.
SupportForm
Status Answered
Title List attachments with SEARCH-Variables
SupportCategory CategoryAttachments
TWiki version 4.1.2
Server OS

Web server

Perl version

Edit | Attach | Watch | Print version | History: r12 < r11 < r10 < r9 < r8 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r12 - 2011-09-06 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.