coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: Charity on January 26, 2007, 02:24:45 AM

Title: Album Tittle Too Long?
Post by: Charity 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?
Title: Re: Album Tittle Too Long?
Post by: eruss on January 26, 2007, 05:46:37 AM
Quote from: Charity 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?

You should have 80 characters available.  Is that not enough?  An album name is usually a title or subject rather than a long sentence.
Title: Re: Album Tittle Too Long?
Post by: Charity 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
Title: Re: Album Tittle Too Long?
Post by: Gizmo 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.
Title: Re: Album Tittle Too Long?
Post by: Charity on January 27, 2007, 11:08:28 PM
but if it possible to allow it to be longer
Title: Re: Album Tittle Too Long?
Post by: Nibbler on January 27, 2007, 11:15:55 PM
Edit albmgr.php and up the limit to 255 (imposed by the db schema).


                                <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


                                <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

text = change_name.substring(0, 80);

to

text = change_name.substring(0, 255);
Title: Re: Album Tittle Too Long?
Post by: Charity on January 28, 2007, 05:58:36 PM
Thanks! But I can't find the

text = change_name.substring(0, 80);

in albmgr.php
Title: Re: Album Tittle Too Long?
Post by: Charity on January 29, 2007, 10:45:19 PM
Help?
Title: Re: Album Tittle Too Long?
Post by: Nibbler on January 29, 2007, 10:57:23 PM
It's there, trust me.
Title: Re: Album Tittle Too Long?
Post by: Charity on January 30, 2007, 10:35:03 PM
ok i found it now. and it works great. thanks!