"Read more" link in list view

Permalink Browser Info Environment
Hi

I've been trying to add a "Read more" link in to the list view. How can I do that? I couldn't find a link for that …

Thanks

Type: Discussion
Status: New
wasabili
View Replies: View Best Answer
nickratering replied on at Permalink Best Answer Reply
nickratering
Try this in the main loop.
<?php  
 if(!$controller->truncateSummaries){
  echo $cobj->getCollectionDescription();
 }else{
  echo $textHelper->shorten($cobj->getCollectionDescription(),$controller->truncateChars);
}
?>
<br />
<a href="<?php echo $nh->getLinkToCollection($cobj)?>">Read More</a>
wasabili replied on at Permalink Reply
wasabili
Cool, thanks :-)

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.