yii_catalog_module

Module based on nested set behavior,have create,edit,delete sections and elements,with pagination and route comments

  • 所有者: graymatterforge/yii_catalog_module
  • 平台:
  • 许可证:
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

yii_catalog_module admin part only

Module based on nested set behavior.
No rules for access (you can add it by auth module and check isGuest or RBAC rules)
This module have only catalog/admin , create element,edit element,delete element,create category,edit category,delete category,show category(show elements in category). Supports show elements for ancestors category,sub category etc. (its by nested set behavior in ext dir module).

For add field for element, add field in database,add in model,add in view.
Some settings stored in CatalogModule.php
like valute for example
$this->setParams(array(
'valute' => 'RUB'
));

Installation:
Copy to the protected/modules/catalog for your project
Import tables from module/catalog/data

In main.php (protected/config) need set routes and setup module in modules => array('catalog'...)

main.php routes
'catalog/id:\d+'=>'catalog/default/section',
'catalog/admin/edit_category/id:\d+'=>'catalog/admin/edit_category',
'catalog/admin/edit_element/id:\d+'=>'catalog/admin/edit_element',
'catalog/admin/delete_category/id:\d+'=>'catalog/admin/delete_category',
'catalog/admin/show_category/id:\d+'=>'catalog/admin/show_category',
'catalog/admin/show_category/id:\d+/page:\d+'=>'catalog/admin/show_category',

all routes commented in controllers

主要指标

概览
名称与所有者graymatterforge/yii_catalog_module
主编程语言PHP
编程语言PHP (语言数: 1)
平台
许可证
所有者活动
创建于2015-03-23 00:05:47
推送于2014-01-06 18:11:56
最后一次提交2014-01-06 22:10:45
发布数0
用户参与
星数1
关注者数1
派生数0
提交数14
已启用问题?
问题数0
打开的问题数0
拉请求数0
打开的拉请求数0
关闭的拉请求数0
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?