Code Monkey home page Code Monkey logo

easyii's Introduction

EasyiiCMS

Control panel and tools based on php framework Yii2. Easy cms for easy websites.

This repository is development package (yii2 extension).

You can find full information in links bellow

Contacts

Feel free to email me on [email protected]

easyii's People

Contributors

chiliec avatar evgenmil avatar gavintai avatar mikk150 avatar noumo avatar phplego avatar ram0973 avatar see613 avatar valik619 avatar vnenkpet 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  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

easyii's Issues

Admin previllage

As a root user I can access all the control panel tabs. But as an admin user I can not even add a page. Is it created like this on purpose? It would be great if we have a page in the root user where we can control the admin privillages. If it is not already exists please consider this as a request. Thanks

Remove Bootstrap dependency from the front-end navbar

Sometimes loading the bootstrap css and js files can break your layout if your front-end doesn't use bootstrap at all. Can we create a new Asset that only affects easyii-navbar and is loaded alone instead of the Bootstrap asset when not in the /admin area?

Index.php at the root folder

Hi! You have a serious fault: index.php for web in the same folder with controller, model, etc. it MUST be outside of them. please move it with assets and other files into /web folder like in yii2 advanced template

Error in the Russian text

easyii/messages/ru/install.php
10 'Frontend toolbar position' => 'Позизия панели на сайте',
'Позизия' ------> 'Позиция'

error when installing

i m getting this error
Fatal error: require(): Failed opening required 'C:/wamp/www//vendor/noumo/easyii/config/easyii.php' (include_path='.;C:\php\pear') in C:\wamp\www\temp\app\config\web.php on line 69

Where is the web folder and how to get it back?

Why are accessible and non-accessible files mixed together in the same folder instead of using separate web folder for everything that's accessible? .htaccess is a feature of Apache and it might create difficulties for other http-servers.

Добавить роутер для вложенных модулей.

Мне надо добавить вот такой путь:
'admin/module:w+/controller:w+/action:[w-]+/moduleName/moduleName:w+' => 'admin///'

Но я могу его добавить только в конфиге, было бы здорово если я бы мог его добавить в модуле, чтобы не трогать код easyii.

Suffix in the urlManager makes Admin Panel broken

When there is this option configured:

<?php
....

'urlManager'=>[
            'suffix'=>'/',
            ...
]

It makes some javascript-built urls little wrong. For example:

location.href = checkbox.attr('data-link') + '/' + (checkbox.is(':checked') ? 1 : 0);

In the frontend.js

Redactor js not working

Why doesn't work plugins in Redactor.

<?= $form->field($model, 'text')->widget(Redactor::className(),[
    'options' => [
        'minHeight' => 500,
        'imageUpload' => Url::to(['/admin/redactor/upload', 'dir' => 'pages']),
        'fileUpload' => Url::to(['/admin/redactor/upload', 'dir' => 'pages']),
        'plugins' => ['fullscreen','fontcolor','fontsize']
    ]
]) ?>

Generate html

jQuery('#page-text').redactor({"imageUpload":"/admin/redactor/upload?dir=pages","fileUpload":"/admin/redactor/upload?dir=pages","minHeight":500,"plugins":["fullscreen","fontcolor","fontsize"],"imageUploadErrorCallback":function(json){alert(json.error);},"fileUploadErrorCallback":function(json){alert(json.error);},"lang":"ru"});

And js script success loaded

toolbar

Duplicate slugs

When a new item is being created, with slug being manually entered, it doesn't check whether the slug already exists. After submitting the item a database exception is thrown. This happens with most modules I tried, except for the News module, which appends the slug with a number.

Not sure what behaviour should be used, number appending is not bad, but user is not notified about the change to his manually entered slug, and may stay under the impression he knows what the slug is. A message saying "This slug is already in use." might be a better solution. Number appending can be left for the auto-generated slugs.

Feedback answer messages

Sending answers in feedback module don't seem to work properly.
After trying to send the answer alert "An error has occurred" flashes.
I'm not sure if the problem is on my side, but both admin, and robot email are correctly filled in, so I don't see where could the problem be. Does it work for you?

Also as a side note, the subject line of the message should definitely be editable. It can be pre-filled like the message, but user should be able to change it.

Composer installation of the "start" app failed

root@myhost:# php composer.phar create-project noumo/easyii-start start dev-master
Installing noumo/easyii-start (dev-master 7e2a3764da3f80adf4c38583314600cf9f034f3e)
  - Installing noumo/easyii-start (dev-master master)
    Cloning master

Created project in start
Loading composer repositories with package information
Installing dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for noumo/easyii dev-master -> satisfiable by noumo/easyii[dev-master].
    - noumo/easyii dev-master requires bower-asset/fancybox * -> no matching package found.

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://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details.

Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.

attach file to product

like in topic - it would be nice to attach file to product in shop while adding it to cart.

license?

Are the Yii2 extension easyyii is under MIT license ?

FeedBack send message

After replying to a message, an error occurs in the file easyii\modules\feedback\controllers\AController.php. To updated status $model->status = Feedback::STATUS_ANSWER need instead of accessing the property $model->update, contact method, $model->update().

Demo defaced

You have been defaced by some guys. Demo page is unreachable just as the documentation example pages.

Installation Error

Warning: require(C:/xampp/htdocs/vendor/noumo/easyii/config/easyii.php): failed to open stream: No such file or directory in C:\xampp\htdocs\shop\app\config\web.php on line 76

Fatal error: require(): Failed opening required 'C:/xampp/htdocs/vendor/noumo/easyii/config/easyii.php' (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\shop\app\config\web.php on line 76

C:\xampp\htdocs\shop\app\config\web.php

Line NO 76 is

return array_merge_recursive($config, require($_SERVER['DOCUMENT_ROOT'] . '/vendor/noumo/easyii/config/easyii.php'));

Numeric slug error

When title consists of only numeric characters and slug not fill, form clearing and take error: Create error. Slug is invalid.
When fill slug using only numeric characters: Slug is invalid., but at least it checked on the client and data isn't lost.
May be better to use SluggableBehavior?

Installation error

When I use composer create-project noumo/easyii-start cms dev-master
Loading composer repositories with package information
Installing dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

Problem 1
- Installation request for noumo/easyii dev-master -> satisfiable by noumo/easyii[dev-master].
- noumo/easyii dev-master requires bower-asset/fancybox * -> no matching package found.

Potential causes:

Read http://getcomposer.org/doc/articles/troubleshooting.md for further common problems.

store table easyii-shop

how to store all tables from easyii-shop to my db?
i already use yii migrate but not work,
thanks.

Folder structure

I think it'll be more effective to support code in future, if folder structure of this project'll be like that:

app
    config
    controllers
    messages
    migrations
    models
    modules
    runtime
    vendor
    views
    yiic.php
www
    assets
    favicon.ico
    index.php

login issue

i install everything and working fine what i cant login,in table admins no username and password,how to set username and password for admin.table is empty

Tags

You have said you are not going to support the current version after merging from the test branch. Can we use git tags (like v1.0.0, v2.0.0) so the users can choose what version to get from composer that it doesn't accidentally break anything in their codebase?

Мало примеров

Я не могу разобраться, как вновь созданный каталог - отображать на главной странице
куда прописывать:
use yii\easyii\modules\catalog\api\Catalog;

куда
Catalog::cat(1);
Catalog::cat('cat-slug');

и вот это
stdClass Object
(
[id] => 1
[title] => "Category name"
[seo_h1] => "Seo category title"
[seo_title] => "Seo window title"
[seo_keywords] => "seo, website, keywords"
[seo_description] => "Seo description"
[slug] => "cat-slug"
[items] => Array
(
[0] => stdClass Object
(
[id] => 1
[title] => "Item name"
[thumb] => "/path/to/thumb.jpg"
[description] => "Item description"
[slug] => "item-slug"
[field1] => "value1"
[field2] => "value2"
[field3] => "value3"
)

    )

[empty] => false

)
понятное дело, что сначала надо понимать как yii работает, но хотелось бы учится сразу на easyii

Calling unknown method: News::thumb()

При показе последних новостей News::last(), а также показе News::thumb(100, 100), появляется ошибка
Calling unknown method: yii\easyii\modules\news\models\News::thumb()

Если ($i >= 2) { News::last($i) } , то ошибка пропадает.

installation problem

sory for my bad english,
i try to install both of the easyii, start and shop.
for the start its success installation but when i try to setup the second (easyii-shop) i got this msg

"An Error occurred while handling another error:
exception 'yii\base\InvalidConfigException' with message 'The table does not exist: easyii_shopcart_orders' "

thanks..

SEO SluggableBehavior

Здравствуйте. Хотелось бы узнать, планируется ли добавить настройку поведения SluggableBehavior - immutable? Очень необходима для SEO.
Уже задавал этот вопрос: #34

Заранее благодарю!

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.