Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AdminLTE 3 #183

Open
Inkognitoo opened this issue Feb 4, 2019 · 49 comments
Open

AdminLTE 3 #183

Inkognitoo opened this issue Feb 4, 2019 · 49 comments

Comments

@Inkognitoo
Copy link

Do you planning add AdminLTE 3 templates?

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

@schmunk42
Copy link
Member

Basically yes, PRs welcome!

@daniele-athome
Copy link

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

@Inkognitoo
Copy link
Author

Somebody said, they use it in production

ColorlibHQ/AdminLTE#2046

@developedsoftware
Copy link

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?

@schmunk42
Copy link
Member

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

CC: @githubjeka What's about you?

@KaungZawHtet
Copy link

Any progress?

@schmunk42
Copy link
Member

Is there a stable release from AdminLTE v3 yet?

@KaungZawHtet
Copy link

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

@schmunk42
Copy link
Member

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

@daniele-athome
Copy link

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?

@schmunk42
Copy link
Member

@daniele-athome Sure, PRs are welcome!

@daniele-athome
Copy link

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)

@voinmerk
Copy link

voinmerk commented Oct 9, 2019

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

@papppeter
Copy link

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

@developedsoftware
Copy link

+1

1 similar comment
@Gttma
Copy link

Gttma commented Jan 20, 2020

+1

@sahilr2050
Copy link

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.

@schmunk42
Copy link
Member

A very very rough commit: 16fef79

Demo Pages not updated.

Further PRs highly welcome.

@DesRodman
Copy link

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].

@schmunk42
Copy link
Member

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

@sahilr2050
Copy link

sahilr2050 commented Feb 16, 2020 via email

@DesRodman
Copy link

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.

@schmunk42
Copy link
Member

schmunk42 commented Feb 17, 2020

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.

@mmasruhin28
Copy link

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

@schmunk42
Copy link
Member

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

@DesRodman
Copy link

DesRodman commented Mar 4, 2020

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

@schmunk42
Copy link
Member

Why do you have...

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

in your app?

It's a dev-package for this lib.

@DesRodman
Copy link

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?!

@schmunk42
Copy link
Member

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

@hoaaah
Copy link

hoaaah commented Mar 12, 2020

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

@haifahrul
Copy link

Any progress?

@schmunk42
Copy link
Member

@haifahrul Please have a look at dev-master there was some progress, but we have currently no resources to actively develop it.

@DesRodman
Copy link

I tryed... Install extension and set

     'view' => [
            'theme' => [
                'pathMap' => [
                    '@app/views' => '@vendor/dmstr/yii2-adminlte-asset/example-views/testing/app'
                ],
            ],
        ],

but now i have your menu and header... just my content
current picture - https://prnt.sc/rjvhy5
How can i set my left.php, header.php, rightsidebar.php and so on?

@schmunk42
Copy link
Member

How can i set my left.php, header.php, rightsidebar.php and so on?

This asset bundle provides sample files for layout and view (see folder examples/), they are not meant to be customized directly in the vendor/ folder.

Therefore it is recommended to copy the views into your application and adjust them to your needs.

https://github.com/dmstr/yii2-adminlte-asset#quick-start

@lexizz
Copy link

lexizz commented May 6, 2020

+1 when will version 3 be available?

@schmunk42
Copy link
Member

+1 when will version 3 be available?

@lexizz Can you give us some feedback on (just tagged) 3.0.0-beta1?

@KaungZawHtet
Copy link

Is adminlte 3 stable now ?

@harwoodev
Copy link

any updates?

@raimon-segura
Copy link

raimon-segura commented Mar 31, 2021

@lexizz Can you give us some feedback on (just tagged) 3.0.0-beta1?

I've just migrated from adminlte2 to 3 in yii2 using "3.0.0-beta1" tag ( "dmstr/yii2-adminlte-asset": "dev-master#3.0.0-beta1", )... seems all right but my views and few scripts(PHP, js) needs some fixes, basically for html & css & colors. Also, I've installed fontawesome package: "rmrevin/yii2-fontawesome": "~3.5",

I've followed the first two links:
https://adminlte.io/docs/3.0/upgrade-guide.html
ColorlibHQ/AdminLTE#1896 (comment)
https://getbootstrap.com/docs/4.3/migration/

@schmunk42
Will you create a new branch or a new repository for Bootstrap4 support?

Thanks!

@schmunk42
Copy link
Member

Will you create a new branch or a new repository for Bootstrap4 support?

Master is already on BS4,

"yiisoft/yii2-bootstrap4": "~2.0.8",

@raimon-segura
Copy link

Will you create a new branch or a new repository for Bootstrap4 support?

Master is already on BS4,

"yiisoft/yii2-bootstrap4": "~2.0.8",

I guess because its still in beta, I cannot use 3.0 tag in composer.json, right? ....

Using "3.0.0-beta1" tag ( "dmstr/yii2-adminlte-asset": "dev-master#3.0.0-beta1", ) all works. Also, I've installed fontawesome package: "rmrevin/yii2-fontawesome": "~3.5",

with "dmstr/yii2-adminlte-asset": "^3.0", composer says:

Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires dmstr/yii2-adminlte-asset ^3.0, found dmstr/yii2-adminlte-asset[dev-master, 3.0.0-alpha1, 3.0.0-beta1, 3.x-dev (alias of dev-master)] but it does not match your minimum-stability.

by the way, "dmstr/yii2-adminlte-asset": "^2.1", that I guess is the old version , composer says:

Your requirements could not be resolved to an installable set of packages.
Problem 1
- dmstr/yii2-adminlte-asset[2.1.0, ..., 2.6.2] require rmrevin/yii2-fontawesome ~2.9 -> found rmrevin/yii2-fontawesome[2.9.0, ..., 2.17.1] but it conflicts with your root composer.json require (~3.5).
- Root composer.json requires dmstr/yii2-adminlte-asset ^2.1 -> satisfiable by dmstr/yii2-adminlte-asset[2.1.0, ..., 2.6.2].
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

Thanks!

@schmunk42
Copy link
Member

I guess because its still in beta, I cannot use 3.0 tag in composer.json, right? ....

You need to use the beta either with minimumStability or by adding @beta. See composer docs.

Did you update with -W like the message suggests?

@raimon-segura
Copy link

raimon-segura commented Apr 7, 2021

I guess because its still in beta, I cannot use 3.0 tag in composer.json, right? ....
You need to use the beta either with minimumStability or by adding @beta. See composer docs.

It make sense, for now I will stay with dev-master#3.0.0-beta1 :D

Did you update with -W like the message suggests?

I'm using version 3.5 in my composer.json ( "rmrevin/yii2-fontawesome": "~3.5", ) ... I'm prefer to not use "-w" option, just to lock package version and upgrade manually if needed.

Thanks!

@TylerByte666
Copy link

TylerByte666 commented Jul 15, 2021

Until we can use the bootstrap 4.2.1 or above we cannot go into production 😢

CVE-2018-14042

This would solve this all ❤️ thanks for all the work already done, I can see it is at least a WIP still?

@sihar
Copy link

sihar commented Jul 7, 2023

what can I help with regarding the release 3.0.0-beta1 to 3.0.0 stable version?

@schmunk42
Copy link
Member

To be honest, I think a new asset bundle (github repo) would be the best option.

@sihar
Copy link

sihar commented Jul 11, 2023

To be honest, I think a new asset bundle (github repo) would be the best option.

Do you mean new repo? why do we not add it to this repo?

@schmunk42
Copy link
Member

Do you mean new repo?

Yes.

why do we not add it to this repo?

Because it might be really problematic with composer if you are forced to install only one version of the theme, regarding upgrading existing applications.
Basically the same reason why Yii itself created https://github.com/yiisoft/yii2-bootstrap4 and https://github.com/yiisoft/yii2-bootstrap5

@sihar
Copy link

sihar commented Jul 12, 2023

Thanks for the explanation. If for new repo and the version is adminlte3, I think the repo is already there in this url https://github.com/hail812/yii2-adminlte3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests