ClipShare Community Forums  

Go Back   ClipShare Community Forums > ClipShare - Standard & PRO - Version 2 and Previous > Styles / Templates
Register FAQ Bug Tracker Members List Calendar Mark Forums Read

Styles / Templates Use this forum to share or find help on creating CSS style sheets or full ClipShare templates.


Reply
 
Thread Tools Display Modes
Old 11-03-2007, 04:44 AM   #1
snoopgst
Member
|Forum Regular|
 
Join Date: Mar 2007
Posts: 192
snoopgst is on a distinguished road
Default Show more of the video name (sky blue/vista)

How do show more of the video name on the new templates (sky blue/vista themes)
snoopgst is offline   Reply With Quote
Old 11-03-2007, 11:09 AM   #2
pheal
Member
|Forum Junior|
 
Join Date: Oct 2007
Posts: 81
pheal is on a distinguished road
Default

Quote:
Originally Posted by snoopgst View Post
How do show more of the video name on the new templates (sky blue/vista themes)
You mean in the "WATCH" lists, where the video titles are cut by dots? I would also like to know how to do it. I had removed the php code in the beginning of the template but it returned an error so I had to put it back. If anyone has an idea on how to show the full name it would be awesome.
pheal is offline   Reply With Quote
Old 11-03-2007, 09:34 PM   #3
Aryos
Member
|Forum Guru|
 
Join Date: Apr 2007
Posts: 1,372
Aryos is on a distinguished road
Default

The "cut" option can be done by using Smarty.
If the variable of the video name in the template is:
Quote:
{$video_name}
you can use
Quote:
{$video_name|truncate:XXX}
where "XXX" is the number of characters you want displayed.
Aryos is offline   Reply With Quote
Old 11-04-2007, 02:44 PM   #4
pheal
Member
|Forum Junior|
 
Join Date: Oct 2007
Posts: 81
pheal is on a distinguished road
Default

Awesome! Thanks a lot Aryos, I will try this asap.
pheal is offline   Reply With Quote
Old 11-05-2007, 03:00 AM   #5
rokk
Banned
|Forum Newbie|
 
Join Date: Nov 2007
Posts: 13
rokk is on a distinguished road
Default

How can we make it word wrap so it doesn't throw the rows off?
rokk is offline   Reply With Quote
Old 11-06-2007, 11:09 AM   #6
welburn1010
Member
|Forum Newbie|
 
Join Date: Sep 2007
Posts: 21
welburn1010 is on a distinguished road
Default

Hi

When users was typing in titles too long for the DIV section it was in, the title was going off the row (very messy) so i decided to include php code were if the title length was too long then only use so much of the title followed by ...

Check my site out to see how it works:

www.wollybox.com - share videos, funny videos, upload videos

Regards,

Mark
welburn1010 is offline   Reply With Quote
Old 11-06-2007, 12:26 PM   #7
rokk
Banned
|Forum Newbie|
 
Join Date: Nov 2007
Posts: 13
rokk is on a distinguished road
Default

Quote:
Originally Posted by welburn1010 View Post
Hi

When users was typing in titles too long for the DIV section it was in, the title was going off the row (very messy) so i decided to include php code were if the title length was too long then only use so much of the title followed by ...

Check my site out to see how it works:

www.wollybox.com - share videos, funny videos, upload videos

Regards,

Mark
That's it it comes by default.
rokk is offline   Reply With Quote
Old 02-16-2008, 05:04 AM   #8
hantousha
Member
|Forum Newbie|
 
Join Date: Nov 2007
Posts: 11
hantousha is on a distinguished road
Default

How do we adjust the number of characters in version 2.6? I searched for video_name etc don't find it. Can you specify the file name please.. Thanks
hantousha is offline   Reply With Quote
Old 02-16-2008, 02:01 PM   #9
dargre
Member
|Forum Guru|
 
dargre's Avatar
 
Join Date: Nov 2007
Posts: 2,501
dargre will become famous soon enough
Default

Quote:
Originally Posted by welburn1010 View Post
Hi

When users was typing in titles too long for the DIV section it was in, the title was going off the row (very messy) so i decided to include php code were if the title length was too long then only use so much of the title followed by ...
and what for php code if you have smarty modifier: "truncate", which is far easier to use and additionally can be configured.
http://www.smarty.net/manual/en/lang...r.truncate.php
dargre is offline   Reply With Quote
Old 02-18-2008, 04:13 AM   #10
hantousha
Member
|Forum Newbie|
 
Join Date: Nov 2007
Posts: 11
hantousha is on a distinguished road
Default

A little more details, and which file to edit etc.. I am using version 2.6. Thanks.
hantousha is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Vista : Tableless CSS Templates ShqipTube Pre-Sales Questions 2 10-19-2007 01:13 PM
Blue/red template..?? richsar General Discussion 2 06-05-2007 01:42 PM



All times are GMT +1. The time now is 08:41 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright © 2006-2008 Envient. All Rights Reserved.

An Envient product.