yiister / yii2-gentelella Goto Github PK
View Code? Open in Web Editor NEWFree admin template for backend
License: MIT License
Free admin template for backend
License: MIT License
After this fix the following issue appeared:
Installation failed, reverting ./composer.json to its original content.
[InvalidArgumentException]
Package bower-asset/gentelella--9999999.9999999.9999999.9999999 must have a source or dist specified
require [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-update] [--no-scripts] [--update-no-dev] [--update-with-dependencies] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--] [<packages>]...
please update rmrevin/yii2-fontawesome up to 3.6.0
Here's the error message.
$ composer require --prefer-dist yiister/yii2-gentelella "~1.0"
./composer.json has been updated
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
- yiister/yii2-gentelella 1.1.4 requires bower-asset/gentelella ~1.3 -> no matching package found.
- yiister/yii2-gentelella 1.1.3 requires bower-asset/gentelella ~1.3 -> no matching package found.
- yiister/yii2-gentelella 1.1.2 requires bower-asset/gentelella ~1.3 -> no matching package found.
- yiister/yii2-gentelella 1.1.1 requires bower-asset/gentelella ~1.3 -> no matching package found.
- yiister/yii2-gentelella 1.1.0 requires bower-asset/gentelella ~1.3 -> no matching package found.
- yiister/yii2-gentelella 1.0.0 requires bower-asset/gentelella ~1.3 -> no matching package found.
- Installation request for yiister/yii2-gentelella ~1.0 -> satisfiable by yiister/yii2-gentelella[1.0.0, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4].
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.
Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
Installation failed, reverting ./composer.json to its original content.
The assets use the following path:
public $sourcePath = '@vendor/bower/gentelella/build/';
However, Yii2 defined an alias @bower
.
In any environment where the bower asset path is changed and @bower
is updated to reflect this change, this package will fail.
Installation failed, reverting ./composer.json to its original content.
[InvalidArgumentException]
Package bower-asset/gentelella--9999999.9999999.9999999.9999999 must have a source or dist specified
I have an error message, after cloned a new repo. But the problem is not show up with the old repo. I am not sure I am missing something, since everything is installed using composer and tracked under git repo.
An Error occurred while handling another error:
exception 'yii\base\InvalidConfigException' with message 'A circular dependency is detected for bundle 'yii\web\YiiAsset'.' in /Users/sangprabo/Sites/vendor/yiisoft/yii2/web/View.php:295
Any clue or suggestion on how to solve the problem, will be much appreciated, thank you.
Hi,
Thanks for this plugin but when I start "composer update" I get this error message :
I tried to change PHP version requirement to 5.5.0 but nothing.
I'm running basic app without any changes for information.
thanks for your help
After downloading template when going to setup then it shows bellow error
vendor\bower/gentelella/vendors/bootstrap-progressbar
Hello. How can I stop auto open menu when I redirected to some route from the menu?
system:
macos
step:
info:
➜ yii2-gentelella git:(master) composer install
You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug
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
- The requested package bower-asset/gentelella could not be found in any version, there may be a typo in the package name.
Problem 2
- yiisoft/yii2 2.0.9 requires bower-asset/jquery 2.2.*@stable | 2.1.*@stable | 1.11.*@stable | 1.12.*@stable -> no matching package found.
- yiisoft/yii2 2.0.8 requires bower-asset/jquery 2.2.*@stable | 2.1.*@stable | 1.11.*@stable -> no matching package found.
- yiisoft/yii2 2.0.7 requires bower-asset/jquery 2.2.*@stable | 2.1.*@stable | 1.11.*@stable -> no matching package found.
- yiisoft/yii2 2.0.6 requires bower-asset/jquery 2.1.*@stable | 1.11.*@stable -> no matching package found.
- yiisoft/yii2 2.0.5 requires bower-asset/jquery 2.1.*@stable | 1.11.*@stable -> no matching package found.
- yiisoft/yii2 2.0.4 requires bower-asset/jquery 2.1.*@stable | 1.11.*@stable -> no matching package found.
- yiisoft/yii2 2.0.3 requires bower-asset/jquery 2.1.*@stable | 1.11.*@stable -> no matching package found.
- yiisoft/yii2 2.0.2 requires ext-mcrypt * -> the requested PHP extension mcrypt is missing from your system.
- yiisoft/yii2 2.0.1 requires bower-asset/jquery 2.1.*@stable | 1.11.*@stable -> no matching package found.
- yiisoft/yii2 2.0.0 requires bower-asset/jquery 2.1.*@stable | 1.11.*@stable -> no matching package found.
- Installation request for yiisoft/yii2 ~2.0.0 -> satisfiable by yiisoft/yii2[2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.5, 2.0.6, 2.0.7, 2.0.8, 2.0.9].
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.
Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
To enable extensions, verify that they are enabled in those .ini files:
- /usr/local/etc/php/5.6/php.ini
- /usr/local/etc/php/5.6/conf.d/ext-xdebug.ini
You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
Hi,
https://github.com/rmrevin/yii2-fontawesome/releases has 3.0 release, can you do upgrade from ~2.0?
custom.js is placed in theme asset. It has been taken from @bower/gentelella/build/js directory, becouse there is in vendor\yiister\yii2-gentelella\assets\ThemeAsset.php stand:
public $sourcePath = '@bower/gentelella/build/';
custom.js has demo code for Charts, Autocomplete, etc. It has 116Kb!
Maybe need use custom.js from @bower/gentelella/src/js/ ? It has no demo data and its size is 7Kb.
getFlash() method returns an array if addFlash() method was used, so in 74 line of FlashAlert.php we get array to string conversion:
echo Alert::widget(
[
'body' => $header . Yii::$app->session->getFlash($flashName),
'options' => [
'class' => 'alert alert-' . $alert['class'],
],
]
);
I can do PR if you want.
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
- yiister/yii2-gentelella 1.3.1 requires bower-asset/gentelella * -> no matching package found.
- yiister/yii2-gentelella 1.3.0 requires bower-asset/gentelella * -> no matching package found.
- yiister/yii2-gentelella 1.2.5 requires bower-asset/gentelella * -> no matching package found.
- yiister/yii2-gentelella 1.2.4 requires bower-asset/gentelella * -> no matching package found.
- yiister/yii2-gentelella 1.2.3 requires bower-asset/gentelella * -> no matching package found.
- yiister/yii2-gentelella 1.2.2 requires bower-asset/gentelella * -> no matching package found.
- yiister/yii2-gentelella 1.2.1 requires bower-asset/gentelella * -> no matching package found.
- yiister/yii2-gentelella 1.2.0 requires bower-asset/gentelella * -> no matching package found.
- yiister/yii2-gentelella 1.1.4 requires bower-asset/gentelella ~1.3 -> no matching package found.
- yiister/yii2-gentelella 1.1.3 requires bower-asset/gentelella ~1.3 -> no matching package found.
- yiister/yii2-gentelella 1.1.2 requires bower-asset/gentelella ~1.3 -> no matching package found.
- yiister/yii2-gentelella 1.1.1 requires bower-asset/gentelella ~1.3 -> no matching package found.
- yiister/yii2-gentelella 1.1.0 requires bower-asset/gentelella ~1.3 -> no matching package found.
- yiister/yii2-gentelella 1.0.0 requires bower-asset/gentelella ~1.3 -> no matching package found.
- yiister/yii2-gentelella 1.3.1 requires bower-asset/gentelella * -> no matching package found.
- yiister/yii2-gentelella 1.3.0 requires bower-asset/gentelella * -> no matching package found.
- yiister/yii2-gentelella 1.2.5 requires bower-asset/gentelella * -> no matching package found.
- yiister/yii2-gentelella 1.2.4 requires bower-asset/gentelella * -> no matching package found.
- yiister/yii2-gentelella 1.2.3 requires bower-asset/gentelella * -> no matching package found.
- yiister/yii2-gentelella 1.2.2 requires bower-asset/gentelella * -> no matching package found.
- yiister/yii2-gentelella 1.2.1 requires bower-asset/gentelella * -> no matching package found.
- yiister/yii2-gentelella 1.2.0 requires bower-asset/gentelella * -> no matching package found.
- yiister/yii2-gentelella 1.1.4 requires bower-asset/gentelella ~1.3 -> no matching package found.
- yiister/yii2-gentelella 1.1.3 requires bower-asset/gentelella ~1.3 -> no matching package found.
- yiister/yii2-gentelella 1.1.2 requires bower-asset/gentelella ~1.3 -> no matching package found.
- yiister/yii2-gentelella 1.1.1 requires bower-asset/gentelella ~1.3 -> no matching package found.
- yiister/yii2-gentelella 1.1.0 requires bower-asset/gentelella ~1.3 -> no matching package found.
- yiister/yii2-gentelella 1.0.0 requires bower-asset/gentelella ~1.3 -> no matching package found.
- Installation request for yiister/yii2-gentelella ~1.0 -> satisfiable by yiister/yii2-gentelella[1.0.0, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.2.0, 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.2.5, 1.3.0, 1.3.1].
Potential causes:
Read https://getcomposer.org/doc/articles/troubleshooting.md for further common problems.
That's all.
Add an ability to keep a sidebar state.
I want to set my custom icon for menu items. now we use follow:
$results[] = array('id' => '1', 'label' => 'item1', 'parentId' => '', "icon" => "home", 'url' => '/controller/action');
but i want to use follow:
$results[] = array('id' => '1', 'label' => 'item1', 'parentId' => '', "icon" => "/images/1.png", 'url' => '/controller/action');
is it possible? if it is not possible, how to see all list of icons for choose the best icon for my menu item?
Problem 1
- yiister/yii2-gentelella[1.0.0, ..., 1.1.4] require bower-asset/gentelella
~1.3 -> could not be found in any version, there may be a typo in the package na
me.
- yiister/yii2-gentelella[1.2.0, ..., 1.3.1] require bower-asset/gentelella
-> could not be found in any version, there may be a typo in the package name.
Potential causes:
Hi.
The usage section in the description didn´t give enough instructions/information to get this layout to work.
Please provied more "install/usage" information and examples, like a quick start guide =)
Is it possible to let the sub-menu open / active although we are not currently on the page. For example, I have a menu named "User" and it has 2 sub menus : "All User" and "Add User".
For example I have another submenu : "User Update" (user/update) and "User View" (user/view). When I open those pages, I need the "User" menu and all submenus to be open / showed.
A simple hack to solve the style
<style type="text/css">
/* temporary sidebar hack */
li.active ul.nav.child_menu {
display: block;
}
li>ul.nav.child_menu {
display: none;
}
</style>
then we set the active
to true on the sub menu
[
"label" => "User",
"icon" => "user-o",
"url" => "#",
"items" => [
["label" => "All User", "url" => ["user/index"],
'active' => $this->context->route == 'user/view' || $this->context->route == 'user/update'
],
["label" => "Add User", "url" => ["user/create"]],
],
],
What is your suggestion? Thank you.
When calling a modal from inside another modal, on clicking on submit, all modals are closed and the back screen (fade) remains. The only way to regain control off screen is refreshing the page.
What is the best practice to include css file animate
and all javascripts in login page?
On my custom AppAsset/ Asset extends from yiister\gentelella\assets\Asset
...
public function loadLoginAsset()
{
$this->css[] = 'css/animate.min.css';
}
....
Thank you
Yii-bootstrap already has a collapsible widget, it should be relatively simple to create one that's styled like gentelella's version.
In yii2-app-advanced.
"yiister/yii2-gentelella": "^1.2"
Hello, how can I use the other elements that are not in the \ yiister \ yii2-gentelella \ widgets \ folder like the form_wizards and the rest that is not found as a widget?
If this extension don't need php 5.5 please set to 5.4 because I'm having issues with it. And I can't update the php version on this specific server.
I have found there are a lot of things that are just waste and somone can install what he want (all plotting stuffs et al,) plus duplication of things like Jquery which Yii2 already bundles. I suggest they get removed and instruction on how to add them for anyone in need will be handy.
I wanted to make pull request but unfortunately have not found time to do so
when I use bootstrap progressbar in my view page , console log displays the error as
custom.js:138 Uncaught TypeError: $(...).progressbar is not a function
@ line 138 in custom.js
and
Uncaught TypeError: $(...).smartresize is not a function
@ line 83 in custom js
in custom.js following block of code causes error
// Progressbar
if ($(".progress .progress-bar")[0]) {
$('.progress .progress-bar').progressbar();
}
// /Progressbar
Не работает js перелючение меню и кнопка на скрине указал
http://joxi.ru/a2XDPQliDYGz72
Все скрипты подключены
Фреймворк yii2
Ошибок в консоле нет не понятно в чем дело.
Установил стандартным образом через composer
How to reproduce the issue :
active
. For example : I have['label' => 'All Events', 'url' => ['event/index'], 'active' => ($controller_name == 'event' && in_array($action_name, ['index', 'update', 'view', 'attendance']))],
but when I visit /event/update or /event/view, the sub-menu is not expanded / active.
Hi, is this extension supports rtl layout ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.