Hi, I'm creating a component called Books. when the user clicks on a book it takes them to 'bookitem'.
I want them to be able to click on a field that displays a link to an external book store.
In the backend administrators can type in an external website link.
Am using a 'string' datatype to provide a field to input this external web URL so that when users click on the link it will take them to a specific page on the external bookstore, here is the code below:
Link field in bookitem :
<td>
<?php echo JDom::_('html.fly', array(
'href' => 'link',
'dataKey' => 'link',
'dataObject' => $this->booksitem
));
?>
</td>
What do I have to add/change to make this field go to the external link?
kind regards,
Terry.