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


Recent Events
  • 18/11/2017 Black Friday is coming

    Don't wait BLACK FRIDAY, use FRIDAY17 coupon code to get 35% discount for all our extensions right now.

  • 05/09/2017 BIG Autumn SALE

    Use AUTUMN17 coupon code to buy our WordPress or Joomla! extensions with 25% discount. Hurry up! The offer is valid till 11 September.


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 4 Years, 6 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 08:00 By lavaground.
The administrator has disabled public write access.
 
#41314
Re:Filter Truncate not working 4 Years, 6 Months ago Karma: 670
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 4 Years, 6 Months ago Karma: 0
thank you very much
The administrator has disabled public write access.
 
Go to topPage: 1