xenomedia / xeno_hero

Drupal 8 module that creates a Hero Paragraphs bundle.
GNU General Public License v2.0
23 stars 18 forks source link

Not able to get the content on overlays #5

Closed preritmohan closed 7 years ago

thejimbirch commented 7 years ago

Please provide more information.

preritmohan commented 7 years ago

Hi Jim, So here is what I did. I Installed "bootstrap paragraphs" , "paragraphs" and xeno_hero module. After that I added paragraphs "entity reference" to my custom content type.

Now when I create the paragraph of any type say "Simple" or "Xeno Hero" the color and width classes are not being added the wrapping div instead they are dumped on the screen itself. Same with Xeno Hero. I only get a full image with title and other settings at the bottom on the paragraphs. More info here https://drupal.stackexchange.com/questions/235479/drupal-8-bootstrap-paragraphs-not-rendering-color-and-width-classes

Am I missing any config? Attaching xeno hero implementation screenshot.

xeno hero

Thanks

thejimbirch commented 7 years ago

I asked some questions at: https://drupal.stackexchange.com/questions/235479/drupal-8-bootstrap-paragraphs-not-rendering-color-and-width-classes

preritmohan commented 7 years ago

Please check my response on the stackexchange.

preritmohan commented 7 years ago

Works after disabling "Field Layout" and "Layout Discovery" which in turn are required by "DS and Bootstrap Layouts". What are your thoughts on this. Is it overriding templates?

thejimbirch commented 7 years ago

From your screenshots, it looks like it is adding template suggestions back in for the width and color fields. That makes it ignore what we are specifying in the Paragraphs bundle level templates, to print the content without those two fields.

preritmohan commented 7 years ago

Understood. Thanks for the help. Appreciate it.