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?

truncating title and introtext not working in J1.7
(1 viewing) (1) Guest
Go to bottomPage: 12
TOPIC: truncating title and introtext not working in J1.7
#17781
truncating title and introtext not working in J1.7 13 Years, 5 Months ago Karma: 0
Hi sorry to post again but the reply to my previous post is now giving me:

404: Not Found

Sorry, but the content you requested could not be found

can you please post the required code in reply again for truncating title and intro text in J1.7

Thanks
Regards
Chris Lewis
Last Edit: 2011/07/27 11:11 By outtherechris.Reason: typo
The administrator has disabled public write access.
 
#17782
Re:truncating title and introtext not working in J1.7 13 Years, 5 Months ago Karma: 760
Hello,

Use the next code:

Code:


{$title|truncate:10}



Regards,
ARI Soft
The administrator has disabled public write access.
 
#17783
Re:truncating title and introtext not working in J1.7 13 Years, 5 Months ago Karma: 0
Thanks!

Does the same apply truncating the introtext?

Would you be kind enough to demonstrate what I would need to put in the Item Template field to show 1. the intro text truncated to 350 2. a read more link.

I have attached a screen capture of the front end module when i have entered the readmorelink into the Item Template field

Regards
Chris
Last Edit: 2011/07/27 11:27 By outtherechris.
The administrator has disabled public write access.
 
#17785
Re:truncating title and introtext not working in J1.7 13 Years, 5 Months ago Karma: 760
Yes, use the next code for intro text:

Code:


{$introtext|truncate:10}



Regards,
ARI Soft
The administrator has disabled public write access.
 
#17786
Re:truncating title and introtext not working in J1.7 13 Years, 5 Months ago Karma: 0
Thank you that works perfectly. Though I am still having a problem getting the read more link to show.
I have attached a screen capture of the Item Template field for your info.
Thanks again for the great support.

Regards
Chris
The administrator has disabled public write access.
 
#17787
Re:truncating title and introtext not working in J1.7 13 Years, 5 Months ago Karma: 760
{$readmore_link} predefined variable contains only link, not HTML code. You can use it with custom HTML code that create button or something another. For example you can use the next code:

Code:


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



Regards,
ARI Soft
The administrator has disabled public write access.
 
Go to topPage: 12