Image Upload - Make image link to story

Register an Account
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 07-21-2008, 04:28 PM
Casual Pligger
Pligg Version: 9.9
 
Join Date: Apr 2008
Posts: 39
I need to change the image upload module so that the story thumbnail links to the story instead of the larger image but I cannot find any variable that gives me access to the story link from within the image upload module.

Does anybody know how I can access the current story's URL? I'm using Pligg 9.9.
Reply With Quote
  #2 (permalink)  
Old 07-22-2008, 10:07 PM
joehunk's Avatar
Casual Pligger
 
Join Date: Oct 2007
Posts: 66
Quote:
Originally Posted by swese44 View Post
I need to change the image upload module so that the story thumbnail links to the story instead of the larger image but I cannot find any variable that gives me access to the story link from within the image upload module.

Does anybody know how I can access the current story's URL? I'm using Pligg 9.9.
I'm not using 9.9 but you can use the hack on link_summary.tpl file of your template. The idea is using field1 where image is uploaded.

My small hack is to point the image to this url using this variable. I'll post the solution on my blog. Keep checking.
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Upload Module (File and Image Attachment) Yankidank Free Modules 268 02-03-2012 12:19 PM
Image Upload -> Link Image to Story MikeF Questions and Comments 9 04-11-2011 07:30 PM
[SOLVED] regarding image upload 1.03 thumbnail can i make it float crowng Questions and Comments 3 12-14-2008 07:18 PM
[SOLVED] When I upload a image when submitting a news story... gossipqueenie Questions and Comments 3 10-27-2007 12:44 PM
Image Upload / Image display with stories mod - Will pay for dev and share adampoots Questions and Comments 8 04-10-2007 08:22 PM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development