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

-- 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:
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2008-12-04 - JinalSurti
 
  • 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-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.