You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is what I tried, but I get error which I don't understand. Argument 1 passed to Grav\Plugin\ShortcodeManager::getId() must implement interface Thunder\Shortcode\Shortcode\ShortcodeInterface, null given, called in .../user/plugins/shortcode-ui/shortcodes/TabsShortcode.php on line 34
The text was updated successfully, but these errors were encountered:
Hi. Sorry for writing to an old issue, but I didn't find any rescent post on the subject. I am trying to include tabs in a template.
When I use your code in the content of a default page, it works (with twig enabled).
When I inspect the source code of the page, ui-tabs.css and ui-tabs.js are included in the header.
When I try to include the same code in a template html.twig, the tabs won't work, and these are displayed wrong.
When I inspect the source code, the css and js are missing.
If I add : <link href="/user/plugins/shortcode-ui/css/ui-tabs.css" type="text/css" rel="stylesheet">
and <script src="/user/plugins/shortcode-ui/js/ui-tabs.js"></script> in my template
It works, but being new at twig, I am not sure it is good practice to include css and js at this point in code.
What do you think ? Am I missing something ? or is it the way to do it ?
Thanks by advance for any highlight.
Could you please example how ui-tabs would be implemented in modular page.
This is what I tried, but I get error which I don't understand.
Argument 1 passed to Grav\Plugin\ShortcodeManager::getId() must implement interface Thunder\Shortcode\Shortcode\ShortcodeInterface, null given, called in .../user/plugins/shortcode-ui/shortcodes/TabsShortcode.php on line 34
The text was updated successfully, but these errors were encountered: