Hello
I have set up a gallery which uses the image title for a german image description and image comment for the english description.
The problem is, the title field seems to be limited in size, it only stores about 260 characters. But I can not find any reference to this so I dont know what to change to make it like the comment field (unlimited or a much higher character number).
Any ideas what I could try to find out where to change it?
Thanks
Thom
[SOLVED] Gallery - longer image titles
[SOLVED] Gallery - longer image titles
Last edited by thomahawk on Mon Apr 15, 2013 7:31 am, edited 1 time in total.
Re: Gallery - longer image titles
Hi Thom
In the db table cms_module_gallery the title column is a varchar(255) you would need to change it to text and in the admin template you will also probably have to change the maxlength of the field. You may be better adding a custom field and using that as doing above could be an issue if updating the module.
You could ask Jos the module dev to change this.
In the db table cms_module_gallery the title column is a varchar(255) you would need to change it to text and in the admin template you will also probably have to change the maxlength of the field. You may be better adding a custom field and using that as doing above could be an issue if updating the module.
You could ask Jos the module dev to change this.
Re: Gallery - longer image titles
Thanks, Applejack. I was able to adjust it.
As you suggested: In php my admin, I opened cms_module_gallery, went into "structure" and made the "title" column the same properties (TEXT) (and empty limit field) like the "comment" column.
Now it works. No change necessary in editgallery.tpl or any other file.
Thank you!
Thom
As you suggested: In php my admin, I opened cms_module_gallery, went into "structure" and made the "title" column the same properties (TEXT) (and empty limit field) like the "comment" column.
Now it works. No change necessary in editgallery.tpl or any other file.
Thank you!
Thom

