Ticket #3018 (closed Bug: fixed)
Duplication CSS styles
| Reported by: | Anonymous User | Owned by: | |
|---|---|---|---|
| Priority: | trivial | Milestone: | 2.1 |
| Component: | Templates/CSS | Version: | |
| Severity: | Keywords: | ||
| Cc: |
Description
Sample for undestanding. In templates /plone_templates/main_template /plone_tableless/main_template
Now
<div id="portal-footer" metal:use-macro="here/footer/macros/portal_footer"></div>
But in template /plone_templates/footer same construction <div id="portal-footer" metal:use-macro="here/footer/macros/portal_footer"></div>
We have not good construction for style (CSS) management <div id="portal-footer">
<div id="portal-footer"></div>
</div>
Better change in all temlates call of macro from <div id="foo" metal:use-macro= ...
to
<tal:block metal:use-macro=" ...
and all style (id and classes) define in macro modules
Change History
Note: See
TracTickets for help on using
tickets.

Yes, this should be made consistent.