Comments (3)
How did you define in the CSS Groups widget that it is an opt group?
from contao-component-style-manager.
Sorry for the late answer, but you reply made me realize the backend was indeed not ready for managing optgroup.
I did create a GoupKeyValueWizard
widget (aka a KeyValueWizard
with a field dedicated to the group) and used it on the cssClasses
field, modified a bit the prepareData
function in tl_style_manager
and added the saveData
function as the save_callback
for the cssClasses
field.
You can find details here : https://github.com/Web-Ex-Machina/contao-component-style-manager/pull/2/files
from contao-component-style-manager.
Feel free to repoen it when you have a new approach
from contao-component-style-manager.
Related Issues (20)
- Contao 4.9.2 kompatibilität HOT 2
- Add base class per category HOT 2
- Config does not work if cssId field is hidden HOT 4
- Default value for CSS class HOT 4
- Description for style group HOT 2
- compatibility with Contao 4.12.4 HOT 9
- Attempt to assign property "styleManager" on null HOT 6
- Contao 4.13 RC2 and Stylemanager HOT 5
- Standardscope in Kategorien einstellen HOT 8
- error in CE using v3.0.0 HOT 4
- Unbuffered queries in ObjectConversionMigration HOT 3
- Klassenauswahl Einträge doppelt / unvollständig HOT 1
- Migration message keeps appearing HOT 7
- Error opening content element HOT 3
- FR: Disable the SCSS cache HOT 9
- Bootstrap template HOT 3
- Problem updating database after uninstalling extension HOT 7
- StyleManager Widget does not keep state on Contao 5.2
- Controller / Route Problem HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.