Stop rendering widget

Topics: Writing modules
Jul 26, 2012 at 7:12 AM

Lets say i have a widget that is rendered 3 times on the site, and only 2 times it's widget name must show.

The widget don't always have content. When there's no content for the widgets that must show it's widget name, it looks ugly, instead i need to be able to tell from the driver to not render that widget. As now it just prints it's name.

Jul 26, 2012 at 1:45 PM
Edited Jul 26, 2012 at 1:45 PM

Why would you do that from the driver when there is a perfectly good setting on the widget editor to prevent it from rendering its title?