-
Convert z3c.form field desc. to tooltip
Read more »: Convert z3c.form field desc. to tooltipLet’s say you have a typical form with some input fields. By default z3c.form displays a description (if provided in form definition) above each form field, like in the screenshot below for example: Sometimes however, you might want to make things a little bit different. Perhaps you want to save some screen space by hiding…
-
How to change element’s ID with Diazo?
Read more »: How to change element’s ID with Diazo?A common scenario: on your website all subpages share a common header, but you want a different header on the front page. Let’s say you differentiate between both header versions by their ID attribute and define two different sets of CSS rules for each version. When applying Diazo rules to a theme file, you therefore…