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 i can to change root password?
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
Здравствуйте. Хотелось бы узнать, планируется ли добавить настройку поведения SluggableBehavior - immutable? Очень необходима для SEO.
Уже задавал этот вопрос: #34
Заранее благодарю!
click the Install button displays a 404 error Not Found
url - http://localhost/admin/install
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?
I think easyii need blamable behavior and timestamp behavior for each news, article etc.
That's very important I think.
Thanks
при отключении модуля subscribe и выходе с сайта получаю
Unable to locate message source for category 'easyii/subscribe/api'.
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.
Are the Yii2 extension easyyii is under MIT license ?
Мне надо добавить вот такой путь:
'admin/module:w+/controller:w+/action:[w-]+/moduleName/moduleName:w+' => 'admin///'
Но я могу его добавить только в конфиге, было бы здорово если я бы мог его добавить в модуле, чтобы не трогать код easyii.
easyii/messages/ru/install.php
10 'Frontend toolbar position' => 'Позизия панели на сайте',
'Позизия' ------> 'Позиция'
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
При показе последних новостей News::last(), а также показе News::thumb(100, 100), появляется ошибка
Calling unknown method: yii\easyii\modules\news\models\News::thumb()
Если ($i >= 2) { News::last($i) } , то ошибка пропадает.
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
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
like in topic - it would be nice to attach file to product in shop while adding it to cart.
А изменения делаются в существующих?
Как мне сейчас обновить структуру БД?
Instead of SQL-files preferably using Migrations, it really gives a lot of advantages.
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.
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'));
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.
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
Is it possible to change the root password on your website?
https://github.com/noumo/easyii/blob/master/modules/file/controllers/DownloadController.php#L11
The files does not download properly
After composer install i have not frontend with models
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?
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.
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.
Я не могу разобраться, как вновь созданный каталог - отображать на главной странице
куда прописывать:
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
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.
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..
You have been defaced by some guys. Demo page is unreachable just as the documentation example pages.
Make allow user to edit feedback answer subject.
Just a suggestion. I think that font-awesome is much better in terms of icons quantity and features.
http://fortawesome.github.io/Font-Awesome/
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
how to store all tables from easyii-shop to my db?
i already use yii migrate but not work,
thanks.
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)
in the test branch, whenver you try to access module which uses categories
http://dl2.joxi.net/drive/0006/1425/402833/150522/16b7e27b00.png
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
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
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().
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 is not in the root folder impossible. basePath
, runtimePath
, vendorPath
have aliases in Yii2.
не очень наглядная структура. предпочтительнее же админку делать отдельным модулем
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
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.