yii2-adminlte-asset icon indicating copy to clipboard operation
yii2-adminlte-asset copied to clipboard

AdminLTE 3

Open Inkognitoo opened this issue 6 years ago • 49 comments

Do you planning add AdminLTE 3 templates?

https://adminlte.io/themes/dev/AdminLTE/index3.html

Inkognitoo avatar Feb 04 '19 12:02 Inkognitoo

Basically yes, PRs welcome!

schmunk42 avatar Feb 05 '19 18:02 schmunk42

Problem is it hasn't been released yet :-(

daniele-athome avatar Feb 10 '19 17:02 daniele-athome

Somebody said, they use it in production

https://github.com/almasaeed2010/AdminLTE/issues/2046

Inkognitoo avatar Feb 11 '19 10:02 Inkognitoo

Looks like AdminLTE3 by almaseed2010 is soon to be released. Will this repo be updated to work with this change or should I spin up a branch to start working on it?

developedsoftware avatar Feb 20 '19 14:02 developedsoftware

Contributions are very welcome! We are currently not working on it.

CC: @githubjeka What's about you?

schmunk42 avatar Feb 20 '19 17:02 schmunk42

Any progress?

KaungZawHtet avatar Jun 13 '19 09:06 KaungZawHtet

Is there a stable release from AdminLTE v3 yet?

schmunk42 avatar Jun 13 '19 12:06 schmunk42

They are inactive in v3 project too. How about switching to sb admin 2. https://github.com/BlackrockDigital/startbootstrap-sb-admin-2

KaungZawHtet avatar Jun 13 '19 15:06 KaungZawHtet

We won't switch to SB Admin with this package.

schmunk42 avatar Jun 16 '19 22:06 schmunk42

AdminLTE 3.0.0-rc1 was released a few days ago. Feeling like accepting a PR to make perhaps a beta version of your Yii plugin?

daniele-athome avatar Sep 07 '19 09:09 daniele-athome

@daniele-athome Sure, PRs are welcome!

schmunk42 avatar Sep 09 '19 09:09 schmunk42

Oh my, Bootstrap 4... this is going to take some time (I'd like to port my web app too so I can test everything)

daniele-athome avatar Sep 11 '19 08:09 daniele-athome

Бро, версия альфа ^3 стабильная? Могу заюзать?

voinmerk avatar Oct 09 '19 11:10 voinmerk

https://github.com/ColorlibHQ/AdminLTE/releases/tag/v3.0.0 is just released. Do you have any time to create a v3 version?

papppeter avatar Nov 04 '19 06:11 papppeter

+1

developedsoftware avatar Nov 14 '19 10:11 developedsoftware

+1

Gttma avatar Jan 20 '20 01:01 Gttma

Hello Guys, Thanks for the best Admin theme ever.

I would like to know when can I expect this update. As I am looking for admin theme (Yii2 Framework) for new project.

Thank you.

sahilr2050 avatar Jan 24 '20 07:01 sahilr2050

A very very rough commit: https://github.com/dmstr/yii2-adminlte-asset/commit/16fef79dd976e8d97c014883d34054b8f24c1379

Demo Pages not updated.

Further PRs highly welcome.

schmunk42 avatar Jan 24 '20 13:01 schmunk42

i tried to install with same compose.json and result

root@laptop:/var/www/smpp-gateway# composer update
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - roave/better-reflection 3.1.1 requires php >=7.1.0,<7.3.0 -> your PHP version (7.3.11) does not satisfy that requirement.
    - roave/better-reflection 3.1.0 requires php >=7.1.0,<7.3.0 -> your PHP version (7.3.11) does not satisfy that requirement.
    - roave/better-reflection 3.0.0 requires php >=7.1.0,<7.3.0 -> your PHP version (7.3.11) does not satisfy that requirement.
    - Installation request for composer/composer ^1.8 -> satisfiable by composer/composer[1.8.0, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.8.5, 1.8.6, 1.9.0, 1.9.1, 1.9.2, 1.9.3].
    - Conclusion: remove nikic/php-parser v3.1.5
    - Conclusion: don't install symfony/console v2.8.38
    - Conclusion: remove phpstan/phpstan 0.7|install symfony/console v2.8.38
    - Installation request for phpstan/phpstan ^0.7 -> satisfiable by phpstan/phpstan[0.7].
    - Conclusion: don't install nikic/php-parser v3.1.5
    - Conclusion: don't install nikic/php-parser v3.1.4
    - Conclusion: don't install nikic/php-parser v3.1.3
    - Conclusion: don't install nikic/php-parser v3.1.2
    - Conclusion: don't install nikic/php-parser v3.1.1
    - Conclusion: don't install nikic/php-parser v3.1.0
    - Conclusion: don't install nikic/php-parser v3.0.6
    - Conclusion: don't install nikic/php-parser v3.0.5
    - Conclusion: don't install nikic/php-parser v3.0.4
    - Conclusion: don't install nikic/php-parser v3.0.3
    - Conclusion: don't install nikic/php-parser v3.0.2
    - roave/backward-compatibility-check 2.1.0 requires roave/better-reflection ^3.0 -> satisfiable by roave/better-reflection[3.0.0, 3.1.0, 3.1.1, 3.2.0, 3.3.0, 3.4.0, 3.5.0].
    - roave/backward-compatibility-check 2.0.0 requires roave/better-reflection ^3.0 -> satisfiable by roave/better-reflection[3.0.0, 3.1.0, 3.1.1, 3.2.0, 3.3.0, 3.4.0, 3.5.0].
    - roave/better-reflection 3.2.0 requires nikic/php-parser ^4.0.4 -> satisfiable by nikic/php-parser[v4.0.4, v4.1.0, v4.1.1, v4.2.0, v4.2.1, v4.2.2, v4.2.3, v4.2.4, v4.2.5, v4.3.0].
    - roave/better-reflection 3.3.0 requires nikic/php-parser ^4.0.4 -> satisfiable by nikic/php-parser[v4.0.4, v4.1.0, v4.1.1, v4.2.0, v4.2.1, v4.2.2, v4.2.3, v4.2.4, v4.2.5, v4.3.0].
    - roave/better-reflection 3.4.0 requires nikic/php-parser ^4.0.4 -> satisfiable by nikic/php-parser[v4.0.4, v4.1.0, v4.1.1, v4.2.0, v4.2.1, v4.2.2, v4.2.3, v4.2.4, v4.2.5, v4.3.0].
    - roave/better-reflection 3.5.0 requires nikic/php-parser ^4.2.1 -> satisfiable by nikic/php-parser[v4.2.1, v4.2.2, v4.2.3, v4.2.4, v4.2.5, v4.3.0].
    - Can only install one of: nikic/php-parser[v4.0.4, v2.1.0].
    - Can only install one of: nikic/php-parser[v4.1.0, v2.1.0].
    - Can only install one of: nikic/php-parser[v4.1.1, v2.1.0].
    - Can only install one of: nikic/php-parser[v4.2.0, v2.1.0].
    - Can only install one of: nikic/php-parser[v4.2.1, v2.1.0].
    - Can only install one of: nikic/php-parser[v4.2.2, v2.1.0].
    - Can only install one of: nikic/php-parser[v4.2.3, v2.1.0].
    - Can only install one of: nikic/php-parser[v4.2.4, v2.1.0].
    - Can only install one of: nikic/php-parser[v4.2.5, v2.1.0].
    - Can only install one of: nikic/php-parser[v4.3.0, v2.1.0].
    - phpstan/phpstan 0.7 requires nikic/php-parser ^2.1 || ^3.0.2 -> satisfiable by nikic/php-parser[v3.1.5, v2.1.0, v2.1.1, v3.0.2, v3.0.3, v3.0.4, v3.0.5, v3.0.6, v3.1.0, v3.1.1, v3.1.2, v3.1.3, v3.1.4].
    - Conclusion: don't install nikic/php-parser v2.1.1
    - Installation request for roave/backward-compatibility-check ^2.0 -> satisfiable by roave/backward-compatibility-check[2.0.0, 2.1.0].

DesRodman avatar Feb 16 '20 19:02 DesRodman

@DesRodman Did you try to run composer install in this repo or did you require AdminLTE in a project?

schmunk42 avatar Feb 16 '20 19:02 schmunk42

Simply, downgrade your php to 7.2.xx this will help resolve most of errors. Also do not run composer command on Root access this may be cause a big issue anyday.

sahilr2050 avatar Feb 16 '20 19:02 sahilr2050

I have advanced yii2 project on my dev pc

i set

"require": {
       ....
       "yiisoft/yii2-bootstrap4": "~2.0.8",
       "almasaeed2010/adminlte": "^3.0.2"
   },
   "suggest": {
       "cebe/yii2-gravatar": "Display user icons",
       "rmrevin/yii2-fontawesome": "Font icons"
   },
    ...
   "require-dev": {
       "roave/backward-compatibility-check": "^2.0"
   }

and made "composer update"

PS: back to php7.2 - its bad idea.

DesRodman avatar Feb 17 '20 08:02 DesRodman

This is the package causing the problem, I think:

"roave/backward-compatibility-check": "^2.0"

or run

composer why -r nikic/php-parser

to see who is requiring this in another version.

schmunk42 avatar Feb 17 '20 11:02 schmunk42

how to change menu with Menu::widget???

mmasruhin28 avatar Feb 25 '20 22:02 mmasruhin28

how to change menu with Menu::widget???

see https://github.com/dmstr/yii2-adminlte-asset/blob/master/example-views/yiisoft/yii2-app/layouts/left.php#L29 for an example

schmunk42 avatar Feb 26 '20 05:02 schmunk42

This is the package causing the problem, I think:

"roave/backward-compatibility-check": "^2.0"

or run

composer why -r nikic/php-parser

to see who is requiring this in another version.

user@laptop:/var/www/gateway# composer why -r nikic/php-parser
yiisoft/yii2-app-advanced  dev-master  requires (for development)  phpstan/phpstan (^0.7)             
phpstan/phpstan            0.7         requires                    nikic/php-parser (^2.1 || ^3.0.2) 

trully such debug i never used... but can give you response for checking

DesRodman avatar Mar 04 '20 09:03 DesRodman

Why do you have...

   "require-dev": {
       "roave/backward-compatibility-check": "^2.0"
   }

in your app?

It's a dev-package for this lib.

schmunk42 avatar Mar 04 '20 15:03 schmunk42

Currently i dont have it in my project, i think i added it from your examples, which i saw in your commit

Can you please tell me what necessary extensions i need anyway?!

DesRodman avatar Mar 04 '20 15:03 DesRodman

Currently i dont have it in my project, i think i added it from your examples, which i saw in your commit

Can you please tell me what necessary extensions i need anyway?!

composer require dmstr/yii2-adminlte-asset dev-master

schmunk42 avatar Mar 04 '20 15:03 schmunk42

Happy to see this repository support AdminLTE 3. Try to see if I could help in some way...

They are inactive in v3 project too. How about switching to sb admin 2. https://github.com/BlackrockDigital/startbootstrap-sb-admin-2

If you want to use SBAdmin-2 try this repo https://github.com/hoaaah/yii2-startbootstrap-sb-admin-2-asset

hoaaah avatar Mar 12 '20 02:03 hoaaah