Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Link to this file MOD  (Read 2140 times)

0 Members and 1 Guest are viewing this topic.

carefree

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 32
Link to this file MOD
« on: July 26, 2007, 08:49:09 am »

Im trying to create a "link to this file" mod for my theme but dont know the extensions for url, directories etc

Heres what im trying to do:

Code: [Select]
<b>Link to this file!</b><br />
<textarea rows='5' cols='40' style='font-size: 9px; font-family: Verdana;'><a target=_blank href="{SITE_TITLE}directory_folder/{FILE_URL_EXTENSION}/">{FILE_NAME}</a></textarea>

If I add this to the theme the links will change with the file.

I just need help with the {} coding.
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.