Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Add a ‘custom html’ type for widgets! 
 
Bit 32
Jr. Member
 
Total Posts:  16
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:  3988
Joined:  2009-11-10
 

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

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