Originally Posted by
jvanree
Sorry for kicking this topic up but I really need to know this before monday if it is possible!
Thank you very much in advance!
If it were me, I'd create a new definition file:
tc_external_link_definition.php
The contents of the file would contain the link information
This example is for the english html link
PHP Code:
<?php
define('TC_EXTERNAL_LINK', 'http://www.ad-mineraal.nl/tcenglish.html');
?>
Save the new file to:
includes/languages/english/extra_definitions/tc_external_link_definition.php
includes/languages/german/extra_definitions/tc_external_link_definition.php - this file would have this link definition - define('TC_EXTERNAL_LINK', 'http://your_link.com/');
includes/languages/german/extra_definitions/tc_external_link_definition.php - this file would have this link definition - define('TC_EXTERNAL_LINK', 'http://your_link.com/');
You should then be able to change the TC link in the information sidebox as follows
Code:
if (DEFINE_CONDITIONS_STATUS <= 1) {
$information[] = '<a href="' . zen_href_link(TC_EXTERNAL_LINK) . '">' . BOX_INFORMATION_CONDITIONS . '</a>';
}
Now whenever someone switches languages the appropriate external link will appear in the sidebox.
Hope this is helpful
Bookmarks