Replies: 1 comment
-
Editor shape Module/Host application can have shape visible to both Admin/Frontend so define your editor shape in module |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a Bootstrap theme that I use as a base theme for most of my other themes. It contains some templates for bootstrap-specific content display types, recipes for bootstrap component widgets and providers to inject bootstrap classes into core shapes. I'd like to add a custom 'Carousel' display mode for MediaField but I noticed that
MediaField-Carousel.DisplayOption.cshtml
doesn't get picked up by the dropdown in the field settings editor when I put it in the Views folder of the theme. Probably because shapes are harvested for the 'TheAdmin' theme when you're in the dashboard.Is there a way to provide a display option from a theme without touching the source? Should it be possible for a theme to contribute to admin shape rendering? I understand that it's not a theme's job to add functionality but it would be kind of inconvenient if I had to include and enable an additional module just to put the one option there.
Beta Was this translation helpful? Give feedback.
All reactions