Link to this file MOD Link to this file MOD
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Link to this file MOD

Started by carefree, July 26, 2007, 08:49:09 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

carefree

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:

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