Open zoglo opened 1 week ago
This does not use the config from Contao, right?
It doesn't, it uses the manager.json, yeah. Couldn't find a better way to do so without coding a new route and I don't know if it should :/ (I found the already implemented config route for the manager.json tho, unsure if it's what it was for)
None of the json files are supposed to be edited by users atm, thats kinda why we have the manager in the first place ๐
But isnโt there a route or already some ways to dump the container configuration? Something though the ContaoConsole
?
Didn't think of using the php console rn. Been working within the app and there wasn't a route I could use.
You'd want it to match the same badge title as in contao, right?
You'd want it to match the same badge title as in contao, right?
Absolutely, anything else wouldn't make sense to me.
The API I was referring to is /server/contao
. It already contains the config
key (if supported by the given Contao version) ๐. Maybe you can try with that?
Done - will only work when debug:config --format
exists tho - most likely Symfony 6 aka Contao 5 :)
Implements the badge_title into the Contao Manager.
Description
Also only allows one line of text and get's cut on mobile. I made sure to wrap it down when it get's too long. See the screenshots below
Screenshots
Mobile
![image](https://github.com/contao/contao-manager/assets/55794780/2eecf126-c7a4-4234-b786-aefc27e7d5b3)
Long badge in new row![image](https://github.com/contao/contao-manager/assets/55794780/88f11523-5364-468e-8d92-4204e66a6b1b)
Long badge![image](https://github.com/contao/contao-manager/assets/55794780/576cbad6-838c-4806-be5b-83a4ab316675)
Lifestory badge![image](https://github.com/contao/contao-manager/assets/55794780/d2cc8983-e973-4a48-8c9e-96d2f675cc77)