# |
Feb 10th 2020, 15:39 |
FunkadelicRelic |
I'm showing v0.3.2 installed. |
# |
Feb 10th 2020, 15:36 |
ndm |
You can check your `composer.lock` file, the `friendsofcake/bootstrap-ui` entry should show you the exact version number |
# |
Feb 10th 2020, 15:33 |
FunkadelicRelic |
Hmm, not entirely no. I'm installing using composer require friendsofcake/bootstrap-ui @beta. Is there a way I can check? |
# |
Feb 10th 2020, 15:33 |
ndm |
Are you sure that correct BS UI plugin version is installed? |
# |
Feb 10th 2020, 15:31 |
ndm |
Then I don't really know... |
# |
Feb 10th 2020, 15:29 |
FunkadelicRelic |
Migrations |
# |
Feb 10th 2020, 15:29 |
FunkadelicRelic |
WyriHaximus/TwigView |
# |
Feb 10th 2020, 15:29 |
FunkadelicRelic |
DebugKit |
# |
Feb 10th 2020, 15:29 |
FunkadelicRelic |
BootstrapUI |
# |
Feb 10th 2020, 15:29 |
FunkadelicRelic |
Bake |
# |
Feb 10th 2020, 15:29 |
FunkadelicRelic |
@ndm - Yes. It is listed. |
# |
Feb 10th 2020, 15:29 |
FunkadelicRelic |
Just tried on a brand new project too - same issue on the bin/cake bootstrap install. |
# |
Feb 10th 2020, 15:29 |
ndm |
Does BootstrapUI appear in `bin/cake plugin loaded`? |
# |
Feb 10th 2020, 15:24 |
FunkadelicRelic |
I also see this: $this->addPlugin('BootstrapUI'); - added to my application.php file. |
# |
Feb 10th 2020, 15:24 |
FunkadelicRelic |
- bake test |
# |
Feb 10th 2020, 15:24 |
FunkadelicRelic |
- bake task |
# |
Feb 10th 2020, 15:24 |
FunkadelicRelic |
- console |
# |
Feb 10th 2020, 15:24 |
FunkadelicRelic |
- routes |
# |
Feb 10th 2020, 15:24 |
FunkadelicRelic |
Other valid choices: |
# |
Feb 10th 2020, 15:24 |
FunkadelicRelic |
@ndm - I don't see bootstrap in the list off commands no - on that last error - I get: Unknown command `cake bootstrap`. Run `cake --help` to get the list of commands. |
# |
Feb 10th 2020, 15:19 |
ndm |
@FunkadelicRelic That sounds like the plugin actually isn't loaded. Do you see the bootstrap command in the list of available commands? Was the `addPlugin()` call actually added to your `Appplication` class? |
# |
Feb 10th 2020, 15:18 |
ndm |
you're welcome |
# |
Feb 10th 2020, 15:17 |
challgren |
Ty very much |
# |
Feb 10th 2020, 15:15 |
challgren |
Cool I’ll check it out. I think my brain is fried |
# |
Feb 10th 2020, 15:14 |
slackebot |
<ndm> |
# |
Feb 10th 2020, 15:14 |
ndm |
btw, I've update my Bootstrap UI test app that I've used for development to CakePHP 4.x / BS UI 3.x, might be helpful if you're struggling with things, it shows you all controls, generated HTML, config, etc. https://github.com/ndm2/bootstrap-ui-test-app/tree/foc-3.x |
# |
Feb 10th 2020, 15:13 |
challgren |
Ok, yeah this theme is a PITA. But with your hack it works and loads really fast since it doesnt have to redraw the menu |
# |
Feb 10th 2020, 15:12 |
ndm |
@challgren No problem... I'll look into making this a little easier. Making the `<ul>` inherit the ancestor class is certainly doable, but I'll have to double triple check on how to do it, and the possible side effects |
# |
Feb 10th 2020, 15:12 |
FunkadelicRelic |
Are the instructions wrong? Or have I missed something important? |
# |
Feb 10th 2020, 15:11 |
challgren |
Thanks @ndm |
# |
Feb 10th 2020, 15:11 |
challgren |
:parrotparty: it works!!! |
# |
Feb 10th 2020, 15:09 |
FunkadelicRelic |
bin/cake bootstrap install - this doesn't work - I get the error 'Unknown command `cake bootstrap`. Run `cake --help` to get the list of commands.'. |
# |
Feb 10th 2020, 15:09 |
FunkadelicRelic |
bin/cake plugin load BootstrapUI - this works. |
# |
Feb 10th 2020, 15:09 |
ndm |
``` $matcher = new Matcher(); $matcher->addVoter(new UrlVoter($this->request)); $this->Menu->setConfig([ 'renderer' => new AppRenderer($matcher) ]); |
# |
Feb 10th 2020, 15:09 |
FunkadelicRelic |
composer require friendsofcake/bootstrap-ui @beta - this works. |
# |
Feb 10th 2020, 15:08 |
FunkadelicRelic |
Still struggling with the bootstrap-ui install I'm afraid. I'm following the guide on GitHub for the cake-4-bs-4 branch and doing the following: |
# |
Feb 10th 2020, 15:08 |
ndm |
like |
# |
Feb 10th 2020, 15:08 |
ndm |
Ah, sorry, forgot to mention, you'll have to configure the voters directly in that case |
# |
Feb 10th 2020, 15:07 |
slackebot |
<challgren> |
# |
Feb 10th 2020, 15:07 |
ndm |
? |
# |
Feb 10th 2020, 15:07 |
ndm |
But it did before |