- Posts: 27
- Thank you received: 0
Products listing table view / readmore
- Christoph59
-
Topic Author
- Offline
Less
More
13 years 11 months ago #76640
by Christoph59
Products listing table view / readmore was created by Christoph59
Hi,
how can I use the read-more option for the products listing table view (ie I am displaying the product description there but just want to have a short introduction text)
thanks
christoph
how can I use the read-more option for the products listing table view (ie I am displaying the product description there but just want to have a short introduction text)
thanks
christoph
Please Log in or Create an account to join the conversation.
13 years 11 months ago #76879
by Xavier
Replied by Xavier on topic Products listing table view / readmore
Hi,
In a products listing with the type table, you can add a read more option by editing the view "product / listing_table" and use something like:
To have a read more option.
In a products listing with the type table, you can add a read more option by editing the view "product / listing_table" and use something like:
Code:
echo substr($this->row->product_description, 0, 100)."<a href='".$link."'>".JText::_('READ_MORE')."</a>";
Please Log in or Create an account to join the conversation.
Time to create page: 0.083 seconds