Source of inspiration
In the past, I have worked a lot with CommunityBuilder, and this is my source of inspiration. It makes heavy use of jQuery and it has some interesting features in regards of Conditional display and general markup... it has an almost complete CSS output for each template area, each field and its label. This seems to be the key for accessing the individual pieces of page content. It is also very handy for custom design.
I know, there might be some picky markup guys, that might complain about using IDs for that purposes. I guess, even Classes could do the same, since jQuery has evolved in the past. I remember, there were times where it was limited to IDs for certain tasks. I think, this is much more easier and extended now... (Maybe 1 unique container ID plus field CLASSES is enough)
Cobalt - current output
I noticed, that Cobalt has a similar output on labels only!?
i.e. a Text field with ID99 gets a label with id=99-lbl.
But the actual field data has just a generic class input-field.
There is no automatic default like: id=99-fld or class=99-fld
Ideas & possibilities
I am aware of the Custom Field Class parameter...
but shouldn´t fields offer a common output markup by default? PLUS the provided custom class.
I think, this would make some things possible, that we currently don´t have, e.g.:
- conditional display
- mentions with image hover etc.
- etc. ...
I found a little issue with Custom Field Class in BLOG template. It`s not in output, It's missing. Only label gets the custom class.
Thanks for listening. Any thoughts are much appreciated!
EDIT / TODO: Still wrong related links to old AngelDesk forum
(related to this C7 topic - Conditional fields, and my single comment, because of an AngelDesk issue)