Skip to content

juniorhq88/codeigniter-starting-point

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CodeIgniter (2.1.0) Starting Point - Status = production ready
====================================================================

A custom CodeIgniter installation with useful libraries, helpers, fixes, and useful modifications to the standard distributed code released by Ellis Labs.

Changes and Additions
=====================

CI settings
- Saving session data to db
- Autoloading helpers, libraries, and config files

CI restructuring
- Moved application/config/database.php to application/config/database.php-default

.htaccess
- Mod_Rewrite rules to create pretty urls

crossdomain.xml
- None policy so access is not allowed from other domains - e.g. flash

Git ignore
- Ignored application/config/database.php
- Ignored application/config/settings_environment.php
- Ignored log files
- Ignored cache files

Constants - Added useful info
- Website name and slogan
- Meta description and keywords
- Twitter & Blog RSS feeds
- Email address' - support, developer, system

Environment settings - application/config/system_environment.php
- Profiler ON/OFF
- Email error log ON/OFF

Added base controllers
- Frontend
- Admin
- Shared
 
Helpers
- Debug
- Time - https://github.com/ollierattue/codeigniter-time-helper
- URL
- Form
- Tax helper (UK VAT rate)
- Page
- Template

Libraries
- Links library - Save database table names into application/config/database_tables.php and the array key is then used in models. This means a table rename only needs to be updated in one place. 
- Autoresponder - https://github.com/ollierattue/codeigniter-autoresponder 
- SimpleLoginSecure auth library - http://codeigniter.com/wiki/SimpleLoginSecure/
- Router extension - allows controllers to have multiple directories - https://github.com/ollierattue/codeigniter-multi-level-controller-extension
- URI library extension - filter_uri() now allows url_encode characters
- Form validation extension - added greater_than_or_equal(), email_available() with ajax support, current_password_check()
- Log library extension - emails errors to developer - http://wpstorm.net/2009/05/email-log-messages-library-codeigniter/
- Session library extension - set_flashmessage() with 'success' or 'error' status which adds div formatting as applicable.
- DB utility library extension - fixed bug in csv_from_result() and added html encoding

Models and db 
- Countries db table and model

Controllers and views
- Admin login, dashboard, logout functionality
- Amnesia - forgotten password reset

CSS
- Structured in frontend, admin, and shared directories
- Useful generic helper and reset code
- Useful form, development, and flash_data styling

Javascript
- jQuery
- Json js encode/decode functions

Images
- Image directory with useful icons

TODO
====

- Move to Tank Auth library from SimpleLoginSecure

Extra
=====

If you'd like to request changes, report bug fixes, or contact
the developer of this library, please email <orattue[at]toomanytabs.com>

About

A custom CodeIgniter installation with useful libraries, helpers, fixes, and layout modifications.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 96.8%
  • ApacheConf 1.3%
  • CSS 0.8%
  • JavaScript 0.6%
  • HTML 0.3%
  • C 0.2%