Change "View the item details"
Hi,
I am trying to change "View the item details" to "Read more".
With my limited PHP skills I have so far:
Code:
<?php str_replace ($entry['link'] ,'Read more'); ?>
Which does not work :-(
Can anyone help me out with the code required?
Thanks,
Gary.
Re: Change "View the item details"
This is set-up in a language string, so you can override it in the config/langconfig.php file, but as the template variables also contain the ['url'] variable (just the link, without any text in it), you can use that and wrap it in whatever hyperlink you desire in your template string.
Re: Change "View the item details"
Many thanks for this, it worked a treat!!
Code:
<?php echo $entry['url']; ?>">Read more</a>