Completed

Limit number of title characters in K2 apart from 1st item

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.

Skills: Joomla, PHP, CSS, HTML, MySQL

See more: limit number words textarea, php email limit number spam, limit number products osc, can limit number attendees facebook event, joomla title characters, limit number attendees facebook events, limit number words textarea html, fancy upload limit number uploads, limit number macros excel, javascript limit number words textarea, limit number swf plays, javascript limit number words text area, limit number login joomla, limit number ips accessing web site, program prints number characters number space characters mips, limit number pages allowed print, zen cart limit number subcategories, php xml reader limit number items, fix error item number nonnumeric characters, limit number characters phpmyedit field

About the Employer:
( 82 reviews ) Leeds, United Kingdom

Project ID: #20890697

Awarded to:

azsolution

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 More

$15 USD in 1 day
(29 Reviews)
5.6

8 freelancers are bidding on average $33 for this job

kyleevert

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/ky More

$20 USD in 7 days
(23 Reviews)
6.0
dreammate0621

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.

$20 USD in 1 day
(25 Reviews)
5.5
elliotwebdesign

Client: Cost for task requested would be $25 Delivery within 1 day. Feel free to contact me for further info or to discuss the project. Other than my freelancer experience I have over 500 jobs on Upwork: http://www.u More

$25 USD in 1 day
(83 Reviews)
5.8
phpsolutionsvw

Hello, Nice to meet you.. i had experiance in joomla. i read your work properly. i am ready to work with you right now.. i ll show my works in private [login to view URL] to start work with you .

$15 USD in 1 day
(32 Reviews)
4.7
pinesucceed01

Dear Hiring Manager, Over 8+ Years of experience in developing web applications using technologies like PHP, HTML, AJAX and JavaScript in diverse domains like Finance, Health, Ecommerce, Telecom, Education etc. Dexte More

$20 USD in 7 days
(20 Reviews)
4.9
ninestar801

Hi, I have gone through your requirements and I can do this task. The skills and resources needed for this project are in my genes. I can assure you for a complete professional work in given time [login to view URL] share comp More

$70 USD in 7 days
(11 Reviews)
3.5
alfredennis0325

~~~ Very interested to me! ~~~ Hi, dear! Feel contact me for these kinds of projects. I will provide you the best result on [login to view URL] give me 10 minutes of yours. I am waiting for your message to have a detail discus More

$80 USD in 7 days
(1 Review)
2.1