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?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?