noumo / easyii Goto Github PK
View Code? Open in Web Editor NEWEasy yii2 cms powered by Yii framework 2
Home Page: http://easyiicms.com
Easy yii2 cms powered by Yii framework 2
Home Page: http://easyiicms.com
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.
А изменения делаются в существующих?
Как мне сейчас обновить структуру БД?
how to store all tables from easyii-shop to my db?
i already use yii migrate but not work,
thanks.
не очень наглядная структура. предпочтительнее же админку делать отдельным модулем
при отключении модуля subscribe и выходе с сайта получаю
Unable to locate message source for category 'easyii/subscribe/api'.
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
C:\xampp\htdocs\shop\app\config\web.php
return array_merge_recursive($config, require($_SERVER['DOCUMENT_ROOT'] . '/vendor/noumo/easyii/config/easyii.php'));
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
Just a suggestion. I think that font-awesome is much better in terms of icons quantity and features.
http://fortawesome.github.io/Font-Awesome/
How i can to change root password?
This is looking like the start of a great project but please, please, please use relative urls in all HTML output.
Not everyone will be running this on the root of a domain so hard coded links to '/admin/....' with the leading slash won't always work.
You should really use the URL helper as much as possible - http://www.yiiframework.com/doc-2.0/guide-helper-url.html#creating-urls
I logged in using admin / admin credentials inde the demo site.
Then go to Setting -> Admin email it throws an internal server error.
URL: http://demo.easyiicms.com/admin/settings/edit/7
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
in the test branch, whenver you try to access module which uses categories
http://dl2.joxi.net/drive/0006/1425/402833/150522/16b7e27b00.png
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?
Installation is not in the root folder impossible. basePath
, runtimePath
, vendorPath
have aliases in Yii2.
Здравствуйте. Хотелось бы узнать, планируется ли добавить настройку поведения SluggableBehavior - immutable? Очень необходима для SEO.
Уже задавал этот вопрос: #34
Заранее благодарю!
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
https://github.com/noumo/easyii/blob/master/modules/subscribe/controllers/AController.php#L96
There's a wrong message category used in Subscribe module's controller. It's easyii/unsubscribe
which isn't defined, I presume it should be easyii/subscribe
as in module name.
like in topic - it would be nice to attach file to product in shop while adding it to cart.
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
Are the Yii2 extension easyyii is under MIT license ?
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?
Мне надо добавить вот такой путь:
'admin/module:w+/controller:w+/action:[w-]+/moduleName/moduleName:w+' => 'admin///'
Но я могу его добавить только в конфиге, было бы здорово если я бы мог его добавить в модуле, чтобы не трогать код easyii.
After composer install i have not frontend with models
При показе последних новостей News::last(), а также показе News::thumb(100, 100), появляется ошибка
Calling unknown method: yii\easyii\modules\news\models\News::thumb()
Если ($i >= 2) { News::last($i) } , то ошибка пропадает.
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..
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().
https://github.com/noumo/easyii/blob/master/modules/file/controllers/DownloadController.php#L11
The files does not download properly
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?
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
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.
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.
The form on admin/install has the action set to admin/install. Since the there is no base tag set it will point to [serverroot]/admin/install, which doesn't necessarily have to be the case (usually isn't)
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
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
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.
easyii/messages/ru/install.php
10 'Frontend toolbar position' => 'Позизия панели на сайте',
'Позизия' ------> 'Позиция'
Make allow user to edit feedback answer subject.
Я не могу разобраться, как вновь созданный каталог - отображать на главной странице
куда прописывать:
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
Instead of SQL-files preferably using Migrations, it really gives a lot of advantages.
Is it possible to change the root password on your website?
I think easyii need blamable behavior and timestamp behavior for each news, article etc.
That's very important I think.
Thanks
click the Install button displays a 404 error Not Found
url - http://localhost/admin/install
Hello, trying to set custom controller to app/controleers, to couple with SiteController, but request // generating 404 error. Is it possible? Thank you for work.
You have been defaced by some guys. Demo page is unreachable just as the documentation example pages.
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.
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.