Current Version of Codefight CMS Available for Download:

            « Version 1.5.0 »

            NOTE: The code available is same as the code used for this site at the time of release.

            Codefight CMS is based on Codeigniter PHP Framework which is very easy to learn.

            It would be nice to hear back some feedback. Also you can contribute with code and helping translating language files in your language.

            You can use this CMS in anyway you want. You can modify as you like and use commercially for free.

 

 

Select Language.[TESTING For Next Release.]

English | नेपाली | French | German | Korean

Login | Select Language | Thu, 29 Jul 10 17:08:57 -0600

Whats new in codefight cms version 1.0.3?

2009-05-15 22:02:37Damodar Bashyal

 

Added MY_Controller to extend codeigniter's Controller.

Why?

To define commonly and frequently used options in just one controller, so we don't have to call those stuff every time in every controller. And making easy to access setting keys and values. Now setting values can be accessed as:

CODE:

1-<?php$this->settings['pagination_per_page']; ?>

Like what?

Like site enabled or not. Loading settings before anything. Now you don't have to worry about these things as they are loaded by default when you extend your controller to MY_Controller.

Any more update?

Added settings for pagination. Now you can control pagination from admin. You can define how many page number links you want to show. Default is 2. And, how many articles you want to show per page. Default is 3.

When you set the site to maintenance, the site will be unavailable for normal users but it will still be available for admin.

Registration, Login and forgot password moved to blocks and working better than next time. But it still need modification, which will be done in future releases when time permits.

CODE:

1-<?php
2-class Page extends MY_Controller {
3-function Page()
4- {
5-/*
6- | define an array $load with keys model,library etc
7- | you can load multiple models etc separated by + sign
8- | you can load the CI way as well though :)
9- */

10-$load = array(
11-'model' => 'page_model + menu_model',
12-'library' => 'phpcolor + bbcode',
13-'helper' => 'text + form'
14- )
;
15-
16- parent::MY_Controller($load);
17- ...
18- ...
19-?>

Bookmark and Share
 

 





Javascript must be enabled to post comments!