yiiopencms

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

  • Owner: juankamilo/yiiopencms
  • Platform:
  • License::
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

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/

Main metrics

Overview
Name With Ownerjuankamilo/yiiopencms
Primary LanguagePHP
Program languagePerl (Language Count: 5)
Platform
License:
所有者活动
Created At2014-03-22 02:55:10
Pushed At2014-07-31 23:40:09
Last Commit At2014-07-31 18:39:56
Release Count3
Last Release Namev0.2.1 (Posted on 2014-07-31 18:29:40)
First Release Namev0.1.0 (Posted on 2014-07-20 13:02:41)
用户参与
Stargazers Count11
Watchers Count4
Fork Count8
Commits Count18
Has Issues Enabled
Issues Count1
Issue Open Count1
Pull Requests Count0
Pull Requests Open Count0
Pull Requests Close Count0
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private