2010-05-23 06:31:29Damodar Bashyal
After weeks of testing with new version of codeigniter which is yet to be released, finally Codefight CMS version 1.4.1 is out now for you to use it for free. Note: CI 2.0 is not released yet and i used the one from Bitbucket. Matchbox didn't work properly with this version so i completely removed it. So, there is no modular separation now. I have decided not to use any modular separation until official update.
If you find any bug, need any kind of help with the use of the software or even request new features then you can do so through our forum at tenthweb.com.
I would like to thank a lot to chaleswa, who provided a great feedback and bug report.
More»
2009-04-05 04:38:26Damodar Bashyal
How does TAG cloud works in Codefight CMS?
Admin/Modules/Pages/Controllers/Pages.php:
In admin when creating page, if tags are set split tags separated with commas. Then clean up every tag for tag-key as $tag. Then insert the tags into tag clouds table.
CODE:
1-
2-<?php
3-if(isset($pages_tags))
4-{
5-$pages_tags = split(',',$pages_tags);
6-if(is_array($pages_tags) && count($pages_tags) > 0) foreach($pages_tags as $v)
7- {
8-//clean tag
9-$tag = $this->data_model->link_clean($v);
10-
11-//add|increment tag count
12-$this->data_model->tag_cloud_add($tag, 'page', $v);
13-
14-//insert tags to tags table
15-$this->db->insert('pages_tags', array('pages_id' => $page_id, 'tags' => $tag));
16- }
17-}
18-?>
19-
Admin/Models/Data_model.php
More»
2009-03-17 16:24:30Damodar Bashyal
Today I extended my Asset Manager to combine several css into one. As i understand, YSLOW Says there should be as less http requests as possible. So i decided to add this optional feature. For now this is controlled through MY_config file located at config folder.
This is how addition config setting looks:
More»