New Zenner
- Join Date:
- Jul 2005
- Posts:
- 67
- Plugin Contributions:
- 0
New Zenner
Totally Zenned
<a href="http://domain.com/filename.pdf" target="_blank">Link text here</a>Totally Zenned
Totally Zenned
Ryk:
Either enter the link in the code view of the editor using<a href="http://domain.com/filename.pdf" target="_blank">Link text here</a>
Or, if you're not using the products url for anything else, use that, and change the text in the language file.
Totally Zenned
Totally Zenned
Totally Zenned
Totally Zenned
Totally Zenned
Totally Zenned
fairestcape:
Here are the files that contain the text string you wish to alter:-
/includes/languages/english/document_general_info.php
Line #11 : define('TEXT_MORE_INFORMATION', 'For more information, please visit this product\'s <a href="%s" target="_blank">webpage</a>.');
/includes/languages/english/document_product_info.php
Line #11 : define('TEXT_MORE_INFORMATION', 'For more information, please visit this product\'s <a href="%s" target="_blank">webpage</a>.');
/includes/languages/english/product_free_shipping_info.php
Line #11 : define('TEXT_MORE_INFORMATION', 'For more information, please visit this product\'s <a href="%s" target="_blank">webpage</a>.');
/includes/languages/english/product_info.php
Line #11 : define('TEXT_MORE_INFORMATION', 'For more information, please visit this product\'s <a href="%s" target="_blank">webpage</a>.');
/includes/languages/english/product_music_info.php
Line #11 : define('TEXT_RECORD_COMPANY_URL', 'For more information, please visit the Record Company\'s <a href="%s" target="_blank">webpage</a>.');
Line #12 : define('TEXT_ARTIST_URL', 'For more information, please visit the Artist\'s <a href="%s" target="_blank">webpage</a>.');
So, you would probably do this to the DEFINE...
define('TEXT_MORE_INFORMATION', 'For more information, please click the pdf symbol:- <a href="%s" target="_blank"><img border=0" src="images/YOUR-PDF-SYMBOL.jpg" width="10" height="10"></a>.');
Where:-
images/YOUR-PDF-SYMBOL.jpg is the PATH to, and NAME OF the little pdf icon you created.
width="10" height="10" are the desired display sizes for that icon
Totally Zenned
Mike_Dean:
Only one issue, not all my produts have actual pdf's associated, some sites just have direct links to the manufacurers site.. Is there another way to do this so that if its pdf, show as above, but if it's just a URL, leave it as it was ?
Totally Zenned
Destination thread ID and reason are required when shown.
Tell staff why this post should be reviewed.
Required for login, security, and core site functionality.
Help us understand how the site is used so we can improve it.
Used for promotion and personalized campaign measurement.