yiiopencms

Open Source CMS based on Yii 1.1.15, Full Multilanguage Support I18n

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

Github星跟踪图

Yii OpenCMS

Demo: http://www.mediatic.com.co/proyectos/yiiopencms/

FEATURES

DIRECTORY STRUCTURE

Reference: https://github.com/bryglen/yii-advanced-template

/protected
    config
        backend.php       contains backend configurations
        common.php        contains shared configurations
	      dbconnect.php     contains DB configuration
        frontend.php      contains frontend configurations
	      params.php        contains global app parameters
	      routes-back.php   contains routes for backend app
        routes-front.php  contains routes for frontend app
    controllers
        backend/        contains backend controller
        frontend/       contains frontend controller
    models
        _base           contains base models (generated by gii)
        _common         contains common classes used in backend, frontend
        backend         contains backend-specific classes
        frontend        contains frontend-specific classes

/environment.php        contains production or develop config
/index.php         	contains Yii Route

GETTING STARTED

Change Permission for:
1. /assets - change permission to writable by webserver
2. /protected/runtime - change permission to writable by webserver
3. /uploads - change permission to writable by webserver
4. /files - change permission to writable by webserver

Open /index.php and modify it according to the following example:

<?php

$environment = require_once(dirname(__FILE__).'/environment.php');
$config = dirname(__FILE__) . "/protected/config/frontend.php";

// change the following paths
$yii=dirname(__FILE__).'/../framework/yii.php';
require_once($yii);
Yii::createWebApplication($config)->runEnd('frontend');

Open /backend.php and modify it according to the following example:

<?php

$environment = require_once(dirname(__FILE__).'/environment.php');
$config = dirname(__FILE__) . "/protected/config/backend.php";

// change the following paths
$yii=dirname(__FILE__).'/../framework/yii.php';
require_once($yii);
Yii::createWebApplication($config)->runEnd('backend');

Import database:

// Create db yiiopencms and import de following
protected/data/yiiopencms.sql

Open protected/config/dbconnect.php and modify it according to the following example:

<?php

return array(
    'connectionString' => 'mysql:host=localhost;dbname=yiiopencms',
    'emulatePrepare' => true,
    'username' => 'admin',
    'password' => 'admin',
    'charset' => 'utf8',
    'schemaCachingDuration' => 60*60,
);

Enjoy

Open your browser:

// Go to:
http://localhost/yiiopencms
http://localhost/yiiopencms/backend
user:admin
paswd:admin

Author: juankaka@gmail.com

Version: 0.2.1

Demo: http://www.mediatic.com.co/proyectos/yiiopencms/

主要指标

概览
名称与所有者juankamilo/yiiopencms
主编程语言PHP
编程语言Perl (语言数: 5)
平台
许可证
所有者活动
创建于2014-03-22 02:55:10
推送于2014-07-31 23:40:09
最后一次提交2014-07-31 18:39:56
发布数3
最新版本名称v0.2.1 (发布于 2014-07-31 18:29:40)
第一版名称v0.1.0 (发布于 2014-07-20 13:02:41)
用户参与
星数11
关注者数4
派生数8
提交数18
已启用问题?
问题数1
打开的问题数1
拉请求数0
打开的拉请求数0
关闭的拉请求数0
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?