Dear Community

Unfortunately I have enabled the Meta Tag Quick fields with the default size of 160 chars. Now I would like to increase the size for the enabled content types. Is there any way to archive this?

For your support many thanks in advance, Raffaele

Comments

Do you have data in that field?

Yes. But even after removing any meta-content it was not possible to reset the field-size for already enabled meta-node types (pages, articles etc.). In the meantime I have uninstalled the module Meta Tags Quick.

Raffaele

I was just trying to do the same thing. I think the only way is to use the admin fields section, and remove all the instances of that meta tag field. I think then it should allow the change. at least that's what I'm going to try.

Any news on this? Did it work by removing the field?

Same question here.
Can it be changed in the database?

Priority:Normal» Major

Is there a solution for this? It would be great to have a way to increase the desc. beyond 160 charters. I do not remember this being an issue with previous releases when D7 first came out.

Version:7.x-2.4» 7.x-2.x-dev

I'm looking into this currently. There is no reason to disable increasing field length

If you already have data and the size limit field is locked, run this mysql query to change the Meta Description field limit to 255:

Make sure to create a DB backup before you execute these queries. Test first!!

ALTER TABLE field_data_meta_description MODIFY COLUMN meta_description_metatags_quick VARCHAR(255);
ALTER TABLE field_revision_meta_description MODIFY COLUMN meta_description_metatags_quick VARCHAR(255);
update field_config set data = 'a:7:{s:8:"settings";a:2:{s:9:"meta_name";s:11:"description";s:10:"max_length";s:3:"255";}s:12:"entity_types";a:0:{}s:12:"translatable";s:1:"0";s:7:"storage";a:5:{s:4:"type";s:17:"field_sql_storage";s:8:"settings";a:0:{}s:6:"module";s:17:"field_sql_storage";s:6:"active";s:1:"1";s:7:"details";a:1:{s:3:"sql";a:2:{s:18:"FIELD_LOAD_CURRENT";a:1:{s:27:"field_data_meta_description";a:1:{s:14:"metatags_quick";s:31:"meta_description_metatags_quick";}}s:19:"FIELD_LOAD_REVISION";a:1:{s:31:"field_revision_meta_description";a:1:{s:14:"metatags_quick";s:31:"meta_description_metatags_quick";}}}}}s:12:"foreign keys";a:0:{}s:7:"indexes";a:0:{}s:2:"id";s:1:"5";}' where field_name = 'meta_description';