validAliasCharacters field will be inserted in a "random" section
Closed this issue · 2 comments
fritzmg commented
In the tl_page.php
you are using
$GLOBALS['TL_DCA']['tl_page']['palettes']['root'] = str_replace(';{sitemap_legend', ',validAliasCharacters;{sitemap_legend', $GLOBALS['TL_DCA']['tl_page']['palettes']['root']);
This means the validAliasCharacters
field will be inserted into whatever section comes before the sitemap_legend
section. You are probably intending to insert the field into the Global settings section - however, if an extension happens to insert another section after that section, the validAliasCharacters
field will end up being in that section instead.
For instance, if you have the news_categories
extension installed, the validAliasCharacters
field will be part of the News categories settings section of the palette.
fritzmg commented
Hm, I think you forgot a use
statement.
ausi commented
Fixed in version 1.0.3