Giter Site home page Giter Site logo

yii2-gentelella's People

Contributors

algushchin avatar fps01 avatar maksimkiselev avatar mohdqasim98 avatar sammousa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

yii2-gentelella's Issues

Composer error [InvalidArgumentException]

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

Cannot install: bower-asset/gentelella ~1.3 -> no matching package found.

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.

Use proper @bower alias.

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.

Error on install yii2-gentelella

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

A circular dependency is detected for bundle 'yii\web\YiiAsset'

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.

Cannot install because of requirements

Hi,

Thanks for this plugin but when I start "composer update" I get this error message :

  • The requested package yiister/yii2-gentelella * is satisfiable by yiister/yii2-gentelella[dev-master] but these conflict with your requirements or minimum-stability.

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

Bootstrap progressbar missing

After downloading template when going to setup then it shows bellow error
vendor\bower/gentelella/vendors/bootstrap-progressbar

Menu auto open

Hello. How can I stop auto open menu when I redirected to some route from the menu?

composer install error

system:
macos

step:

  1. git clone
  2. composer install

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.

Demo code in @bower/gentelella/build/js/custom.js

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.

Make FlashAlert widget array compatible

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.

no matching package found.

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.

how to set an custom icon for menu items?

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?

welp

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.

  • Root composer.json requires yiister/yii2-gentelella ~1.0 -> satisfiable by yiister/yii2-gentelella[1.0.0, ..., 1.3.1].

Potential causes:

Could not get this to work

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 =)

Activate specific sub-menu in Menu widget

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

  • User
    -- All User
    -- Add User
  • Other Menu
  • Another Menu

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.

Overlaping modals closing all modals

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.

Proper way to include animate.css in login 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

Create collapsible widget

Yii-bootstrap already has a collapsible widget, it should be relatively simple to create one that's styled like gentelella's version.

Did you really need php 5.5?

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.

minimal installation

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

Jquery Error progressbar is not a function

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 скрипт

image

Не работает js перелючение меню и кнопка на скрине указал
http://joxi.ru/a2XDPQliDYGz72
Все скрипты подключены
Фреймворк yii2
Ошибок в консоле нет не понятно в чем дело.
Установил стандартным образом через composer

Sub-menu is not opened when `menu_toggle` is collapsed

How to reproduce the issue :

  • Click the menu_toggle button.
  • Click on any link or refresh the page.
  • Click the menu_toggle button again. The nav menu is now expanded.
  • Refresh the page or click on any link, that used by the nav menu to be 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.

RTL Support

Hi, is this extension supports rtl layout ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.