Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Any way to shorten the titles of the videos
20-05-2012, 08:09 AM
Post: #1
Question Any way to shorten the titles of the videos
Is there any way to shorten the titles of the videos?
Some titles are very long and make the site look bad, it would be nice to shorten the titles.

From already thank you very much. Cool
Find all posts by this user
Quote this message in a reply
22-05-2012, 11:00 AM
Post: #2
RE: Any way to shorten the titles of the videos
Hi bblatino,
Just change in include/function.php next:

Find

'.urldecode($row['title']).'

Replace with:

'.substr(urldecode($row['title']),0,30).'...


Hope it will help to you Smile

Regards
Svetoslav

My sites are closed. Google disconnect them and i loose all users.
Visit this user's website Find all posts by this user
Quote this message in a reply
22-05-2012, 12:39 PM
Post: #3
RE: Any way to shorten the titles of the videos
there is two .urldecode($row['title']).

you need to change both.

and to see the effect you need to clean caches
Find all posts by this user
Quote this message in a reply
22-05-2012, 06:01 PM (This post was last modified: 22-05-2012 06:02 PM by bblatino.)
Post: #4
RE: Any way to shorten the titles of the videos
(22-05-2012 11:00 AM)Role-Model Wrote:  Hi bblatino,
Just change in include/function.php next:

Find

'.urldecode($row['title']).'

Replace with:

'.substr(urldecode($row['title']),0,30).'...


Hope it will help to you Smile

Regards
Svetoslav

Yea! substr i remember that! jaja thanks man! you open my mind! Big Grin

(22-05-2012 12:39 PM)admin Wrote:  there is two .urldecode($row['title']).

you need to change both.

and to see the effect you need to clean caches

yes admin thank`s! you rock!
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: