Hi,
Is there a way to increase the maximum limit of the display title for a file download?
Thanks
Title Character Limit
- Jan
- Phoca Hero
- Posts: 48714
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Title Character Limit
Hi, there is 250 characters in the database, so you can change the column in database table to e.g. TEXT type.
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 9
- Joined: 25 Mar 2009, 04:32
Re: Title Character Limit
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
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
- Jan
- Phoca Hero
- Posts: 48714
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Title Character Limit
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
You should change the maxlength
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;?>" />
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 9
- Joined: 25 Mar 2009, 04:32
Re: Title Character Limit
Thank you very much Jan!!
- Jan
- Phoca Hero
- Posts: 48714
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact: