sluggi
sluggi copied to clipboard
[FEATURE] Support for Content Blocks
Content Blocks uses a custom palette content_blocks_titleonly for the title and slug.
It would be nice to add this in the TCA overrides as well so users don't have to add the sluggi fields by their own.
@nhovratov You mean I should include this in the standard configuration in ext_conf_template.txt?
What would that look like? As you have Content Blocks in use, send me a working configuration and I can change that.
# cat=basic; type=string; label=Use the following page fields for slug generation (valid JSON array!)
pages_fields=[["nav_title","title", "content_blocks_titleonly"]]
🤷
No, I mean include the Palette here in addition:
https://github.com/wazum/sluggi/blob/d859466959fecdf34aca26ec8c04def737bdef58/Configuration/TCA/Overrides/pages.php#L97-L102