How to load a codefight cms block in certain area?
Since i started to code my cms, i have learnt new things and ideas. My latest addition is blocks. I have created blocks of different parts, or say features. This one is currently working for template view files. Because of this, its quite easy to build a new theme for codefight cms.
If you check the file tree image you will get some idea. Or, for more detail you can download the cms. This is how blocks are loaded in the area you want:
$this->blocks->load('block_name');
or, you can even load a different blocks with one call using array as:
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.
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: