Page 1 of 1

Title Character Limit

Posted: 30 Mar 2009, 01:53
by koif
Hi,

Is there a way to increase the maximum limit of the display title for a file download?

Thanks

Re: Title Character Limit

Posted: 30 Mar 2009, 17:58
by Jan
Hi, there is 250 characters in the database, so you can change the column in database table to e.g. TEXT type.

Jan

Re: Title Character Limit

Posted: 01 Apr 2009, 01:14
by koif
Hi Jan,

Thanks for replying! I tried editing the joomla database for the table jos_phocadownload. I changed the title to be TEXT, and even VARCHAR(350) instead of VARCHAR(250), however it still doesn't let me type more than 250 in the input box when using the site.

Thanks

Re: Title Character Limit

Posted: 01 Apr 2009, 20:25
by Jan
Hi, varchar can get at the most 255 chars, so you need to set TEXT there then you should be able save there more then 255 characters... Title is not save in textarea type but in input type text, so you need to change the values there too:

E.g. line 60
administrator\components\com_phocadownload\views\phocadownload\tmpl\form.php

Code: Select all

<input class="text_area" type="text" name="title" id="title" size="32" maxlength="250" value="<?php echo $this->phocadownload->title;?>" />
You should change the maxlength

Re: Title Character Limit

Posted: 02 Apr 2009, 00:23
by koif
Thank you very much Jan!!

Re: Title Character Limit

Posted: 16 Apr 2009, 13:34
by Jan
:wink: