Try the Demo

Magento Forum

   
Add a ‘custom html’ type for widgets! 
 
Bit_32
Jr. Member
 
Total Posts:  14
Joined:  2010-09-23
 

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?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Amasty
Mentor
 
Avatar
Total Posts:  3001
Joined:  2009-11-10
 

Thank you for the input, we have added this feature in the Easy Content Blocks extension.

 Signature 

55+ free & paid Magento extensions

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top