Tags:
create new tag
, view all tags

Question

Hi, I have been trying to figure out how to include attachments from a page into another page using %INCLUDE. Right now what happens is that %INCLUDE just copies all the text from the original page to the referring page, but since it does not have attachments like images, for instance, they do not show up...I know there must be an easy way around this, I just cant seem to find the answer. Thanks

Environment

TWiki version: TWikiRelease04x02x01
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Ubuntu 7.10
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories:  

-- JinalSurti - 03 Dec 2008

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

-- JinalSurti - 03 Dec 2008

Not sure I understand what you'd like to accomplish. If you want to show images in a wiki page do this:

  1. If attached to same page: %ATTACHURL%/picture.jpg
  2. If attached to other page in same web: %PUBURL%/%WEB%/OtherPage/picture.jpg
  3. If attached to other page in another web: %PUBURL%/OtherWeb/OtherPage/picture.jpg

-- PeterThoeny - 04 Dec 2008

Hi Peter, thanks for your response; I was actually doing something really stupid and I just fixed it...Thanks.

-- JinalSurti - 04 Dec 2008

 
Change status to:
Topic revision: r3 - 2008-12-04 - JinalSurti
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.