Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 23/11/2024 Black Friday 2024

    BIG SALE, 30% discount for all our extensions. Use BF24 coupon code. Hurry up the discount is valid till 3 December.

  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

Filter Truncate not working
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Filter Truncate not working
#41307
Filter Truncate not working 11 Years, 7 Months ago Karma: 0
as the title states it doesnt work for me.

if i go with {$fulltext} the text shows up, when i set it to {$fulltext\|truncate:10} it just shows the command and not the text.
as well as {$readmore_link} just prints out the url (eg.: "/this_is_a_page_link/test.html") and doesn't make a readmore link -> (<a href"url">url</a>)

Joomla 3.1.1
Last Edit: 2013/05/28 14:00 By lavaground.
The administrator has disabled public write access.
 
#41314
Re:Filter Truncate not working 11 Years, 7 Months ago Karma: 760
Hello,

Use the following code:

{$fulltext|truncate:10}

and this code:

<a href="{$readmore_link}">Read more...</a>

{$readmore_link} contains only a link and it can be wrapped with necessary HTML code (it can be a hyperlink or an image and etc.).

Regards,
ARI Soft
The administrator has disabled public write access.
 
#41318
Re:Filter Truncate not working 11 Years, 7 Months ago Karma: 0
thank you very much
The administrator has disabled public write access.
 
Go to topPage: 1