Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

remove header tag from Orchard CMS widget

Tags:

orchardcms

Removing tag from the default widget not working by using any of the templates it appears (eg widget.cshtml/common) templates.

(not duplicate of Orchard CMS - Remove Title and Metadata(published date) in a post)

Also overriding widget.cshtml doesnt appear to work as and is wrapper around this/inserted. Appears no doc on using Placement.info to do this either.. Appreciate any ideas..

like image 948
Nicolaas van den Broek Avatar asked Dec 12 '25 20:12

Nicolaas van den Broek


1 Answers

You need to override Widget.Wrapper.cshtml in your theme.

The original one can be found in /Modules/Orchard.Widgets/Views/

like image 69
Richard Garside Avatar answered Dec 16 '25 22:12

Richard Garside



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!