This project is read-only.

How to hide the title of a widget from the front end

Topics: Customizing Orchard, General, Writing modules
Dec 21, 2012 at 9:34 PM

I've gone about writing a widget, and it's come up nicely, however I've noticed that in the orchard architecture a widget part must have a title, which makes sense from a management perspective. However I was wondering how could I hide the title of the widget from the front end. I'm thinking something along the lines of modifying a file, but not exactly how and where. Any guidance would be greatly appreciated.

Dec 21, 2012 at 10:12 PM

Although the Title is mandatory, you have the option of not rendering it (see the checkbox underneath the title field). Alternatively, you have the option of overriding the widget template that renders the title. In your overridden version, simply don't render that title.