Plugin does not support the sidepanel-flyout from the core

Open Beginner friendly
#47 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
php, tailwindcss
Domain
backend

Research direction

Start in layouts/default.php and inspect the surrounding layout markup where the sidepanel-flyout should be rendered. Restore the missing sidepanel-flyout structure shown in the issue, then verify that the builder plugin displays and toggles the flyout correctly.

Written by the indexing model from the issue text.

Description

<?php $flyoutContent = Block::placeholder('sidepanel-flyout') ?>

                <div class="layout-row">
                    <div class="layout flyout-container"
                        <?php if ($flyoutContent): ?>
                            data-control="flyout"
                            data-flyout-width="400"
                            data-flyout-toggle="#layout-sidenav"
                        <?php endif ?>
                    >
                        <?php if ($flyoutContent): ?>
                            <div class="layout-cell flyout"> <?= $flyoutContent ?></div>
                        <?php endif ?>
                    </div>
                </div>

The above code is missing from layouts/default.php; as a result, the builder plugin does not function.

Dominant language
PHP
Stars
20
Forks
10
Avg merge
3h 16m
Merged PRs (30d)
1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from wintercms/wn-tailwindui-plugin

All issues in wintercms/wn-tailwindui-plugin

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.