backdrop-contrib / demo

Manage snapshots of a Backdrop site for demo purposes.
https://backdropcms.org/project/demo
GNU General Public License v2.0
1 stars 3 forks source link

Snapshot list does not show description #11

Closed izmeez closed 1 year ago

izmeez commented 1 year ago

Looking at the Snapshots list the titles with time and size show but the description does not. It would be nice to see this. Thanks.

izmeez commented 1 year ago

Later, I realized that the description DOES show when one clicks on the file name. Maybe it would be helpful to have a note by the heading: Snapshot (Click on file name for description and details)

izmeez commented 1 year ago

Is it possible to have the description appear immediately under the title "Snapshots"?

robertgarrigos commented 1 year ago

This is how backdrop renders a form element. You would need to implement your own theme_form_element function to change that.

izmeez commented 1 year ago

Thanks for the link. I rather suspected it was the standard way.

argiepiano commented 1 year ago

This is how backdrop renders a form element. You would need to implement your own theme_form_element function to change that.

Actually, there is a way to include descriptions in radios and checkboxes FAPI elements. See the explanation in the radios FAPI reference page. This is provided by core.

EDIT: but as @izmeez points out, that description is shown when the label is clicked.