|
One of the things i really liked about Joomla was the ability to include a class suffix for a module.
Using this you could give a unique name to a particular block and then easily style it with CSS.
It’s something i’ve felt should be easier in Magento and would be super handy.
While in Magento modules are sort of something else to how they work in joomla, you do have widgets.
What would be great is to have add a widget type of custom html (with the possibility of using a text editor) that also includes a separate identifier field for adding a class extension for the widget.
Currently the class name for a widget is as follows…
class="widget widget-static-block"
With an identifier of ‘promo’ the class name for the widget would render like this…
class="widget widget-static-block widget-promo"
An alternative implementation using the current platform would be if you place a static CMS block inside a widget the widget could then append the identifier of that static block to it’s class name.
Anyone know if is this something that could be coded to work without too much difficulty in magento?
|