-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
Could you please example how ui-tabs would be implemented in modular page.
{% extends 'partials/base.html.twig' %}
{% block content %}
{{"[ui-tabs position='top-left' active='0' theme='lite']"|shortcodes}}
{% for module in page.collection() %}
{{"[ui-tab title='{{module.title}}']"|shortcodes}}
{{module.content}}
{{"[/ui-tab]"|shortcodes}}
{% endfor %}
{{"[/ui-tabs]"|shortcodes}}
{% endblock %}
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels