2009-03-20 18:09:40Damodar Bashyal
Today I would like to archive my codeigniter pagination addition into my CMS.
My page entries were increasing gradually, so the page size was increasing and it didn't look too good to have multiple entries on the same page. So i thought now its time to add pagination. I had used pagination few years back when I was working at previous company 'visiontech digital media'. But i had totally forgotten by now. So checked the userguide and followed the process as:
More»
2009-04-19 03:58:04Damodar Bashyal
On next release I'll be adding html minify. This will remove unnecessary spaces and lines which are just the waste for bandwidth. The less size the file it loads faster. Also it saves bandwidth of the visitor. I have already applied to my site today. If you view the source code of this page you will understand what i am talking about.
Google's pages are compact, so probably it will like this idea and also other search engines. But of course this feature will be optional, which you can turn on/off for entire size and also set different on/off option for some controllers/pages.
More»
2009-09-05 08:18:14Damodar Bashyal
Update: Below items has been added to codefight CMS version 1.1.3 which is available for download from google code. Also includes fixes of installer.
Today i have added two blocks in the core. Most popular entries which is based on page views. Every time a page is viewed, its counter increases by 1. So, the list is grabbed in a descending order i.e. most viewed to least viewed. There is an option to get number of lists you want to display. Default is 10 list.
And another block is recent entries. This is straight forward. And needs no explaination. The sorting is done according to page ID. In this one also you can pass amount to get number of listings. Default is 10 for this as well.
Currently limiting is pass through block only. I am planning to connect it to admin, so, its easy for non-programmers to easily select the number of entries to fetch from database.
Update 6th sep, 09: Yesterday i added above blocks and today i have updated comment section in frontend and admin. When adding comment now it adds current url as well. Previously i was having problem to find out which page they belong to. Now its easy to know the page, that comment is submitted. Not sure what to add next :) thinkinggggg.........
More»