Limit number of title characters in K2 apart from 1st item
$15-25 USD
Completed
Posted over 4 years ago
$15-25 USD
Paid on delivery
Earlier I posted a project looking for the best solution to limit the number of characters in titles for category listings powered by the K2 extension on a Joomla website. However soon after posting, I tried using a simple if else statement that used the PHP strlen() function. This worked fine but it applies the function to every item whilst I need the first title to be full length and not trimmed.
I briefly considered using the K2 content module to display the first K2 item but there is no where within K2 to apply an offset value. Therefore this displays the first K2 item twice which is not a satisfactory solution.
The way forward I believe is to modify my earlier code amendment to use $key variable but I am not sure how to do this.
Any decent PHP coder with knowledge of K2/Joomla should be able to do this in less than an hour.
Hello,
Nice to meet you.
Can you please give me this job?
I have checked and got the issue. I can fix it for you.
My portfolio: [login to view URL]
I'm looking forward to hearing from you.
Regards,
Huy
$15 USD in 1 day
5.0 (32 reviews)
5.7
5.7
6 freelancers are bidding on average $19 USD for this job
Dear Client!
I am very happy to see your project detail.
I think it is just my project. :)
I already read your requirement and understood fully.
As you can see in my profile,
(my review: https://www.freelancer.com/u/kyleevert?w=f)
I have much experience with your job.
I think you can contact me and discuss more your project.
I will provide good service and high quality.
Regards!
Hello!
I am a web developer.
I have checked your project description.
I can do it fast
I guarantee the good result.
I will wait for your reply.
Thank you.