Skip to content
This repository has been archived by the owner on Feb 8, 2022. It is now read-only.

Unable to save resource when longtitle or description is too long #78

Open
hugopeek opened this issue Jul 27, 2018 · 3 comments
Open

Unable to save resource when longtitle or description is too long #78

hugopeek opened this issue Jul 27, 2018 · 3 comments

Comments

@hugopeek
Copy link

I think this behavior changed in SEO Pro 1.2.2 pl: Add count back to pagetitle & longtitle.

This becomes problematic when updating SEO Pro on an existing site that contains resources with page- and longtitles beyond the limit. Users can't save these resources anymore now all of a sudden.

I would personally prefer to control this with a system setting. Strictly enforce character count: yes/no. There are other scenarios where you'd want to allow longer titles, for example when you import content or take over an old site for optimization.

@Jako
Copy link
Contributor

Jako commented Aug 20, 2018

In between you could change the seopro.fields system setting to i.e.

pagetitle:191,longtitle:191,description:2023,alias:2023,menutitle:2023

The description field will be changed in MODX Revolution 2.7 to TEXT. So it could a lot more text than now.

@cercamon
Copy link

cercamon commented Apr 7, 2019

This workaround isn't working with ModX Revo 2.7.1 - seoPro 1.3.0 and Articles 1.7.11. Editing already stored blog records results in a warning for Article Title fields exceeding the number of allowed characters.

pagetitle3

@SnowCreative
Copy link

SnowCreative commented Apr 8, 2020

We really need to be able to specify whether SEOPro will prevent saving if fields are over the character count. I have a client who wants to use this as a guide, but not something that prevents saving resources. For now, I've disabled the line in the code that alters the maximum allowed field length.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants