getgrav / getgrav/grav-plugin-shortcode-ui
ui-tabs in grav modular page
- Dominant language
- CSS
- Stars
- 48
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
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_
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.