2017 © Pedro Peláez
 

yii2-extension yii2-wishlist

Кнопка добавить в избранное plus extend model

image

samwolf1982/yii2-wishlist

Кнопка добавить в избранное plus extend model

  • Friday, July 6, 2018
  • by samwolf1982
  • Repository
  • 1 Watchers
  • 0 Stars
  • 5 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 4 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Moskoviya (russia) is a terrorist state

    'modules' => [
        'wishlist' => [
            'class' => 'kriptograf\wishlist\Module',
            'dbDateExpired' => 'CURDATE() + INTERVAL 7 DAY', 
            'cokieDateExpired' => time() + 86400 * 365, 
        ],
        //...
    ],

    'components' => [
        'wishlist' => [
            'class' => 'kriptograf\wishlist\Wishlist'
        ],
        //...
    ],
\Yii::$app->wishlist->getUserWishList($type=0)




```php \Yii::$app->wishlist->getUserWishlistAmount()
``` fix add if present class


```php = WishlistButton::widget([ 'model' => $model ]) ?>
```css .hal-wishlist-button { font-weight: 700; } .hal-wishlist-button:before { content: "\f08a"; font: 400 15px/31px "FontAwesome"; color: white; background: #929292; width: 30px; text-align: center; display: inline-block; height: 30px; margin: 0 6px 0 0; -moz-border-radius: 50px; -webkit-border-radius: 50px; border-radius: 50px; } .hal-wishlist-button:hover { cursor: pointer; } .in-list:before { background: #CC63B0l; }

The Versions

06/07 2018

dev-master

9999999-dev https://github.com/samwolf1982

Кнопка добавить в избранное plus extend model

  Sources   Download

BSD-3-Clause

The Requires

 

by Sam Biryukow

yii2 application

15/09 2017

dev-unauth

dev-unauth https://github.com/kriptograf

Кнопка добавить в избранное

  Sources   Download

BSD-3-Clause

The Requires

 

by Moskvin Vitaliy

yii2 application