yii_catalog_module

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

  • Owner: graymatterforge/yii_catalog_module
  • Platform:
  • License::
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

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

Main metrics

Overview
Name With Ownergraymatterforge/yii_catalog_module
Primary LanguagePHP
Program languagePHP (Language Count: 1)
Platform
License:
所有者活动
Created At2015-03-23 00:05:47
Pushed At2014-01-06 18:11:56
Last Commit At2014-01-06 22:10:45
Release Count0
用户参与
Stargazers Count1
Watchers Count1
Fork Count0
Commits Count14
Has Issues Enabled
Issues Count0
Issue Open Count0
Pull Requests Count0
Pull Requests Open Count0
Pull Requests Close Count0
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private