Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Album Tittle Too Long?  (Read 3494 times)

0 Members and 1 Guest are viewing this topic.

Charity

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Female
  • Posts: 60
  • I LOVE AMANDA BYNES <33
    • Bynes-Source.Net
Album Tittle Too Long?
« on: January 26, 2007, 02:24:45 am »

The album tittle is long and it won't let me fit in the whole thing. Is there anyway I can change the setting to allow it to be longer?
« Last Edit: January 30, 2007, 10:37:08 pm by Nibbler »
Logged

eruss

  • Supporter
  • Coppermine frequent poster
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 105
Re: Album Tittle Too Long?
« Reply #1 on: January 26, 2007, 05:46:37 am »

The album tittle is long and it won't let me fit in the whole thing. Is there anyway I can change the setting to allow it to be longer?

You should have 80 characters available.  Is that not enough?  An album name is usually a title or subject rather than a long sentence.
Logged

Charity

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Female
  • Posts: 60
  • I LOVE AMANDA BYNES <33
    • Bynes-Source.Net
Re: Album Tittle Too Long?
« Reply #2 on: January 27, 2007, 03:05:00 am »

Well here's an example:

Jessica Simpson & Nick Lachey Host Sony Ericsson T610/T616 "Shoot For The Stars" Charity Auction - November 13, 2003 [HQ]

It's just that I don't want to take words out because they are all important including the date and stuff
Logged

Gizmo

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1015
    • BullsEye Photos
Re: Album Tittle Too Long?
« Reply #3 on: January 27, 2007, 04:49:33 am »

Why not use the album description field? It will then display along with the title and thumbnail.
Logged
Did you read the manual first???? Taking 2 minutes to backup your files can save you hours of wondering what you screwed up.
Billy Bullock - BullsEyePhotos Blog of Indecision

Charity

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Female
  • Posts: 60
  • I LOVE AMANDA BYNES <33
    • Bynes-Source.Net
Re: Album Tittle Too Long?
« Reply #4 on: January 27, 2007, 11:08:28 pm »

but if it possible to allow it to be longer
Logged

Nibbler

  • Guest
Re: Album Tittle Too Long?
« Reply #5 on: January 27, 2007, 11:15:55 pm »

Edit albmgr.php and up the limit to 255 (imposed by the db schema).

Code: [Select]
                                <input type="text" name="album_nm" size="27" maxlength="80" class="textinput" style="width: 300px;" onChange="Album_NameChange(this.value);" onKeyUp="Album_NameChange(this.value);" />

to

Code: [Select]
                                <input type="text" name="album_nm" size="27" maxlength="255" class="textinput" style="width: 300px;" onChange="Album_NameChange(this.value);" onKeyUp="Album_NameChange(this.value);" />

and

Code: [Select]
text = change_name.substring(0, 80);
to

Code: [Select]
text = change_name.substring(0, 255);
Logged

Charity

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Female
  • Posts: 60
  • I LOVE AMANDA BYNES <33
    • Bynes-Source.Net
Re: Album Tittle Too Long?
« Reply #6 on: January 28, 2007, 05:58:36 pm »

Thanks! But I can't find the

Code: [Select]
text = change_name.substring(0, 80);

in albmgr.php
Logged

Charity

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Female
  • Posts: 60
  • I LOVE AMANDA BYNES <33
    • Bynes-Source.Net
Re: Album Tittle Too Long?
« Reply #7 on: January 29, 2007, 10:45:19 pm »

Help?
Logged

Nibbler

  • Guest
Re: Album Tittle Too Long?
« Reply #8 on: January 29, 2007, 10:57:23 pm »

It's there, trust me.
Logged

Charity

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Female
  • Posts: 60
  • I LOVE AMANDA BYNES <33
    • Bynes-Source.Net
Re: Album Tittle Too Long?
« Reply #9 on: January 30, 2007, 10:35:03 pm »

ok i found it now. and it works great. thanks!
Logged
Pages: [1]   Go Up
 

Page created in 0.03 seconds with 20 queries.