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