Tags:
prometricexam_1Add my vote for this tag create new tag
view all tags

Question

I'd like a master index of all attachments on every page in a given web (or a few webs). How do I do this from the web side? Thanks!

-- JohnBradshaw - 14 Jan 2005

Answer

The nearest I got to this was using the FormQueryPlugin. You can see my attempt here:

http://wiki.conceptmapping.org/view/Sandbox/PhotoGallery

http://wiki.conceptmapping.org/view/Sandbox/PhotoGallery?raw=on

However, you will note that it does not quite work because '$_up.topic' has become ' $_up.topic '; this might not matter to me but I wanted to produce a set of links of images so that I could create a gallery of all pictures attached to a web, so it breaks for me.

In short: I'd be interested if you manage to solve this one. smile

-- MartinCleaver - 14 Jan 2005

Some time ago I attached a patch for this (is it the same?) in FormQueryPluginDev.

-- ArthurClemens - 14 Jan 2005

Thanks guys for the quick and helpful replies. I'll check these out in more detail next week and get back to you.

-- JohnBradshaw - 14 Jan 2005

Cool! Sorting your problem solved it for me too.

I can't believe I hadn't noticed the patch - I guess I should have looked at the report of CVS vs Released plugins to know that the CVS one was worth looking at. Its all a matter of time wink

Incidently, removing the spaces inside the quotes on that line makes it a no-op. So I commented it out instead.

#      $ret = " $ret ";

-- MartinCleaver - 14 Jan 2005

Just got the plugin installed. When the attachment name is mixed case it is seen as a twiki word and link - adding a <nop> doesn't stop it beoming a link to a (non-existent) page.

%FORMQUERY{name=Allatts search="" extract="attachments"}%

%SHOWQUERY{query=Allatts header="|*Topic*|*Name*|*Size*|" format= "|$_up.topic|$name|$size|"}%

Anyway to fix this? I assume it's the plugin the needs changed. Thanks.

-- JohnBradshaw - 26 Jan 2005

Just to check: You installed the patch?

-- MartinCleaver - 27 Jan 2005

This should work to prevent WikiWord linking:

<noautolink>
your queries containing WikiWords
</noautolink>

-- PeterThoeny - 27 Jan 2005

Martin - the sysadmin did the patch install, I assume it's OK. Peter - the noautolink tag did the trick.

Thanks, John.

-- JohnBradshaw - 08 Mar 2005

related:

-- VickiBrown - 25 Mar 2008

See also AttachmentListPlugin.

-- ArthurClemens - 25 Mar 2008

Edit | Attach | Watch | Print version | History: r12 < r11 < r10 < r9 < r8 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r12 - 2008-03-25 - ArthurClemens
 
  • 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.