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

Include Page TSConfig example for DemanedPosts Plugin Category-Selection #252

Open
Schweriner opened this issue May 6, 2022 · 1 comment

Comments

@Schweriner
Copy link

Inside the documentation we already got an example for the correct PAGE_TSCONFIG_ID setup for categories and more.
But there is no documentation yet for the category selection inside the Demanded Posts Plugin and the category selection there will stay empty if there is not a PAGE_TSCONFIG_ID set.
So include something like this into the docs:

TCEFORM.tt_content.pi_flexform.blog_demandedposts.sDEF.settings.demand.categories.PAGE_TSCONFIG_ID = 91

@DkdTerbium
Copy link

DkdTerbium commented Aug 10, 2022

Thank you for this comment.
We ran into the same issue today.

Keep in mind that "settings.demand.categories" is a single key word. So those dots needs to be escaped.

This config worked for us in the end (204 => ID of blog data folder):

TCEFORM.tt_content.pi_flexform.blog_demandedposts.sDEF.settings\.demand\.categories.PAGE_TSCONFIG_ID = 204
TCEFORM.tt_content.pi_flexform.blog_demandedposts.sDEF.settings\.demand\.tags.PAGE_TSCONFIG_ID = 204

Please note that this configuration only worked when loaded from our projects PageTS.tsconfig file, but not when directly entered into the Ressources Tab of the Root-Page in the TYPO3 BE. There seems to be an issue with the Backend TSConfig Parser and escaped dots.

Now we can configure categories and tags inside the Demanded Posts Plugin in the TYPO3 backend.

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

No branches or pull requests

2 participants