Now all i need to get right is to return the $par_weblink from the module parameters to where www.google.co.za is in the code below....
Any help would be much appreciated
Code: Select all
$par_showlink = $params->get( 'showlink'); // Radio Button * Yes *No in module parameters
$par_weblink = $params->get( 'weblink'); // Text Box in module parameters
if($par_showlink=="1")
{ // Exit PHP and display HTML.
?>
<CODE>
<script type="text/javascript" src="http://***.**********.check.js"></script>
<a href="weblink:www.google.co.za?gotonow"><img src="http://***.**********.******.png" style="border: none;" width="80" height="14" alt="My Weblink" /></a>
</CODE>
<?php // Re-Enter PHP.
}