Application MVC Structure
Controllers Models Views Helpers Libraries
Controllers
Blog index :collection of latest postscategory : collection of latest posts based on categoryarchives : collection of latest posts based on date
post : gives all details of a single post (blog)page : gives all details of a single pagesearch :search a keyword with a where location such as post,page,tags
do_search : search processor
Users Register : loads a register formForgetPassword : loads forget password formLogout : Kill all users session.
Feed rss : generate RSS 2 feedatom : generate atom feed
Admin index : Loads admin dashboard.Logout : Kills current admin session.GeneralSettings : All points underneath are subpoints.- BLOG Name
- BLOG Title
- BLOG Maintained By
- Can guest browse blog
- Show Recent Comments
- Show Recent Posts
- Show Calendar
- Enable Comments
- Enable Registration
- Enable Guest Comment
AdvancedSettings : All points underneath are subpoints.- New User Default Role
- Show Categories
- Show Archives
- Send Mail To New Users
- Send Registration Message
- Number Of Posts Home
- Number of Posts Archives
CreateBlog : create a new blogManageBlogs($page_id=1) : view, Edit, delete already existing blogs.DeleteBlog($post_id,$page_id,$post_title) : delete a current blog of $post_id and redirect it to $page_idEditBlog($post_id,$page_id=1) : Edit a blog of $post_id and redirect it to $page_idCreatePage() : Create a new page.ManagePages($page_id=1) : view, Edit, delete already existing pages.DeletePage($id,$page_id) : delete a current blog of $id and redirect it to $page_idEditPage($blogpage_id,$page_id=1) Edit a page of $blogpage_id and redirect it to $page_idManageUsers($page_id=1) : view, activate, decativate, Edit, delete already existing users..CreateUser() : Create a new userDeleteUser($id,$page_id) : Delete a user of $id and redirect it to $page_idEditUser($user_id,$page_id=1) : Edit a user of $user_id and redirect it to $page_idActivateUser($id,$page_id) : Activate a user so that user can access member level features.DeactivateUser($id,$page_id) : Opposite of activate.CreateCategory() : Create a new categoryManageCategories($page_id=1) : View, Edit, delete already existing categoriesEditCategory($cat_id,$page_id=1) : Edit a category of $cat_id and redirect it to $page_idDeleteCategory($cat_id,$page_id=1) : Delete a category of $cat_id and redirect it to $page_idManageComments($page_id=1) : View, Edit, delete already existing comments.EditComment($comment_id,$page_id=1) : Edit a comment of $comment_id and redirect it to $page_idDeleteComment($comment_id,$page_id=1) : Delete a comment of $comment_id and redirect it to $page_idThemes() : Access theme sectionand Saves theme name and theme folder name into database.
Login MemberLogin : member loginadmin_login : admin login
Models
admin Posts_model Pages_model Users_model Comments_model Settings_model Categories_model
general Main_model Sidebar_model
Views
main info -
admin user_add user_edit cat_add cat_edit blog_add blog_edit page_add page_edit comment_edit info login main themes settings_general settings_advanced dashboard
feed feed_rss2 feed_atom
general about help license team
users comment_add forget_password login registration
required search_form search_form_full
Helpers
blog_helper MY_url_helper search_helper
Libraries
MY_pagination