View Full Version : How can I limit titles.
August 2nd, 2010, 08:32 AM
It's throwing off the size of the page on the index page showing the last X uploads and so on.
Any help would be great!
August 2nd, 2010, 09:03 AM
Can you show me where your talking featured photo blocks?
You could possibly alter the code in the display_gallery function in pp-inc.php to shorten long titles if this is where your talking about.
$ptitle[$count] = "<br />". $features['title'];
would say become this
$ptitle[$count] = ( strlen($features['title']) < 20 ? $features['title'] : substr($features['title'], 0, 20) );
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.