How to include custom CSS or Javascript on a Content Item in Orchard
Asked Answered
A

1

2

Sometimes I want to add some custom CSS or Javascript to a page but the HTML editor doesn't handle this gracefully, even when using text dialog.

I could use an alternate view but then I have to upload the view file to my host every edit.

Any ideas?

Allwein answered 24/7, 2011 at 16:4 Comment(0)
A
2

Ok, I found a module (Vandelay.Classy) that does exactly this.

http://orchardproject.net/gallery/List/Modules/Orchard.Module.Vandelay.Classy

Allwein answered 24/7, 2011 at 23:19 Comment(2)
That project has been updated to orchardproject.net/gallery/List/Modules/…Fingernail
gallery.orchardproject.net/List/Modules/…Cogitate

© 2022 - 2024 — McMap. All rights reserved.