Forum Discussion
3 Replies
Yes, you can use firebug. The OOB elements have the classes usually stating with 'Lia'
- allisonn10 years agoGenius
That's not quite what I meant... there are OOB components that use the quilt and some that use tables. Apparently those that use tables are more difficult to do custom styling on and you are better off just using the API. I want to know how can I tell which OOB components use the quilt vs. HTML table.
- DougS10 years agoKhoros Oracle
As you know, there are many OOB components, some of them use quilts (which are XML configuration files that can be edited via the Pages tab in Studio), some of them use either a "grid" or a "render order" XML configuration which are currently not available to edit via Studio or the SDK (but services can edit them).
For the most part, quilts are used to render components for an entire page. There are some special components that use quilts to render components on a page. For example, when you are on the Forum Topic Page (the page that displays a thread in a Lithium forum), it uses a special quilt (named the Forum Message page in studio, or res/quilts/ForumMessage.quilt.xml if you are using the Lithium SDK) to render all of the elements of the topic message and for each reply to the topic message on the page:
You can tell if a quilt is being used, but looking at the HTML of the page and looking for a css class named lia-quilt. All of the quilt layout rows will have the lia-quilt-row css class, and each of the quilt layout columns will have the css class lia-quilt-column.
"Grids" are xml files that can be used to customize lists of messages that appear in tables, like the one you find on the Forum Page:
Lithium Professional Services can add grid xmls for these tables that allow you to customize what appears in each cell of the table. We want to expose the ability for developers outside of Lithium Services to add/modify grids and we may add support for this via the Lithium SDK in the future (this is not on a product roadmap at this point). These may be the components that you have heard are better just to build from scratch.
Finally, "Render Orders" are XML files that can be used to customize things like tabs on the "my settings" page, Options drop-downs on messages on the Forum Topic Page:
Lithium Professional Services can add render order xmls for these that let you add custom tabs or options. We want to expose the ability for developers outside of Lithium Services to add/modify render orders and we may add support for this via the Lithium SDK in the future (this is not on a product roadmap at this point).
I hope that helps!
-Doug
Related Content
- 4 years agoInactive User
- 5 months ago