CMS Made Simple Forums
https://forum.cmsmadesimple.org/

Extra page attributes limited to 255 carachters
https://forum.cmsmadesimple.org/viewtopic.php?f=2&t=77624
Page 1 of 1

Author:  pierrepercee [ Tue Nov 21, 2017 9:56 am ]
Post subject:  Extra page attributes limited to 255 carachters

Hello,

In database (2.2.3.1 version of cmsms) extra page attributes are defined as varchar(255) in table cms_content_props , same thing for titleattribute in table cms_content.
Is there a technical reason for such a low limitation ?
For SEO purpose this fields are very useful and it would be really interesting to have a larger limit (500 carachters would be great) :)
Consequently, input fields should be transformed into fields of type textearea in the administration interface.

Author:  velden [ Tue Nov 21, 2017 10:12 am ]
Post subject:  Re: Extra page attributes limited to 255 carachters

Not a real answer but of course you can add extra content blocks for those purposes.

You could display those on a separate tab, optionally combined with other input fields (blocks) like e.g. open graph images etc.

Author:  pierrepercee [ Tue Nov 21, 2017 10:38 am ]
Post subject:  Re: Extra page attributes limited to 255 carachters

Hello,

Thanks for the answer Velden. I Know this and for professionnal work I use to...
I took a look and it seems that the limitation to 255 characters for a varchar type field goes back to mysql versions lower than 5.03 (version 5.1 is distributed since September 2007 ...). I do not have the technical skills but it seems to me that if it does not pose a problem of backward compatibility the version 2.3 could perhaps be adopted these minor modifications (I know why not 600 or 2000 characters, well because then you can easily go through an extra block content).

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/