Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Set Offset of Title length #293

Open
anderlk opened this issue Apr 24, 2022 · 2 comments
Open

Feature: Set Offset of Title length #293

anderlk opened this issue Apr 24, 2022 · 2 comments
Assignees

Comments

@anderlk
Copy link

anderlk commented Apr 24, 2022

By determining the title length in the frontend, a discrepancy occurs when additional text is added to the title tag.

On many websites the title tag almost always consists of two parts. The first part from page:title and a second part which is set statically via TypoScript. This is usually the name of the web page.

I can configure the optimal length of the title in the extension, but in the backend, the editor can still enter more characters, because the second part of the title is not counted. If I limit the number of characters to the maximum possible, every page will get an evalation error, because the second part is counted.

I would consider here the configuration of an offset useful, so that one can also really limit the editor to the required number of characters, but in the backend during the evaluation no error message appears.

@mhirdes
Copy link
Collaborator

mhirdes commented May 13, 2022

Hi, an offset option is not provided by the TCA. Can you send a pull request including you suggestion?

@anderlk
Copy link
Author

anderlk commented May 17, 2022

Hello, I am new on Github and also not a PHP programmer. Can you please explain me again what exactly I need to do?

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

No branches or pull requests

2 participants