Bug #24988
closedOwn flag directories doesn't work anymore
0%
Description
Problem:
In 4.4 and below it was possible to define own flag directories for special needs. This isn't working anymore since 4.5, because the usage of sprites for the flags.
Add something like this into your extTables.php to define own flag directories:
t3lib_div::loadTCA('sys_language');
$TCA['sys_language']['columns']['flag']['config']['fileFolder'] = 'fileadmin/images/flags/';
Afterwards you can select the flags from this folder in your sys_language records on the root page. Unfortunatly they are not shown anymore in the different modules, e.g. the localisation column of the list module or the page module.
(issue imported from #M17523)
Updated by Stefan Galinski almost 14 years ago
Hi Steffen,
I have assigned this report to you as the author of the flag sprites patch. I gave up after two hours of debugging. Maybe you have a nice idea how this feature can be reintegrated or the sprite API can handle such cases.
Updated by Steffen Ritter almost 14 years ago
TCA fileFolder Feature is just: filling select from files.
It has been a nice workaround about manually filling the array.
As we are filling flags from another "source" now, this won't be possible, anymore.
I do not know if this had been a "official feature" or just a undocumented possibility.
If it would be about the first, we would have to create a helper function...
Updated by Stefan Galinski almost 14 years ago
Seems to be just a undocumented possibility as I don't find much by a google search. Just this indirect description in a book, but I don't think that this makes that more official.
However it's not that critical anymore, because 4.5 contains much more flags than the versions before. Just close the issue if you think that it's not worth the trouble. Thanks for your comment!
Updated by Steffen Ritter almost 13 years ago
- Status changed from Accepted to Closed
- Target version deleted (
0)
As requested by the "creator" - closed