Shortcodes breaking inside page templates

Hello,

I am using Sage 11, and I am trying to render The Events Calendar shortcode. I have already installed the recommended supermundano package, and I am able to edit the templates.

However, if I create a component that is supposed to render the shortcode within page.blade.php or page-content.blade.php, the CSS and Javascript does not render. However, if I add the shortcode directly into app.blade.php the shortcode renders perfectly. There seems to be something being lost within the @yield(‘content’).

Has anyone experienced this and have a solution?

Thanks!

The supermundano package has outlined some specific limitations that appears to explain what is happening.

For the time being there can only be a blade view, the default-template.blade.php file, that allows the events page to work loading the Sage blade layout.

Does this help at all?

The events page is loading correctly. It is strictly the shortcodes for the calendar that will not render the javascript and CSS.

So on one of my pages I have the shortcode for the calendar that renders from page-content.blade.php and it renders with no styling and no javascript. However, if I take the shortcode and place it directly in the app.blade.php file, the shortcode will render with the CSS and JS.