View Full Version : Title length in recent photos section
August 12th, 2010, 03:33 PM
Is there anyway to set the max title length in the recent/random featured box? If an image has a really long title, it throws my whole website out of alignment.
August 12th, 2010, 08:33 PM
Make line 1314 of pp-inc.php this
$ptitle[$count] = ( strlen($features['title']) < 20 ? $features['title'] : substr($features['title'], 0, 20) );
August 12th, 2010, 08:48 PM
Awesome, thanks Chuck. I will test it out.
August 12th, 2010, 09:23 PM
enjoy your evening.
August 16th, 2010, 09:58 AM
Chuck, is there anyway to limit the title length upon upload?
August 18th, 2010, 10:57 AM
I like this. Chuck is there any way to set it to 30 letters?
August 18th, 2010, 11:00 AM
There is no way to limit title on upload in the program
August 18th, 2010, 12:44 PM
How could I truncate the length in the random/most popular photos too?
August 18th, 2010, 01:50 PM
I believe the post in this threads shows how to cut off long titles on the feature boxes.
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.