background preloader


Facebook Twitter

Howto: CodeIgniter 2.1 + Ckeditor 3.6.1 + kcfinder 2.51 | El Blog de Héctor Costa Guzmán. CI & KCFinder integration with CKEditor & how to secure it / Forums / Community / EllisLab. KCFinder Integration Guide - SunHater Projects. To link selected file(s) from KCFinder to your web applications, you should create window.KCFinder object and window.KCFinder.callBack() method for single file or window.KCFinder.callBackMultiple() for multiple files. To avoid collisions it's recommended to add the object and method when KCFinder loads and remove them once the file(s) are selected and KCFinder is closed. Examples: function openKCFinder_singleFile() { window.KCFinder = {}; window.KCFinder.callBack = function(url) { window.KCFinder = null; };'/kcfinder/browse.php', 'kcfinder_single'); } function openKCFinder_multipleFiles() { window.KCFinder = {}; window.KCFinder.callBackMultiple = function(files) { for (var i; i < files.length; i++) { } window.KCFinder = null; };'/kcfinder/browse.php', 'kcfinder_multiple'); } The second parameter of defines the name of the opened popup window.

If you are using multiple integrations on one page, it's recommended to use different window names. How can I use Ckfinder with Ckeditor? BIOSTALL/CodeIgniter-Google-Maps-V3-API-Library · GitHub. 6 CodeIgniter Hacks for the Masters. CodeIgniter is a simple and powerful open source web application framework for PHP. Today, we'll do some core "hacks" to this framework to change and improve its functionality. In the process, you'll gain a better understanding of the intricacies of CodeIgniter. It is not recommended to apply these hacks to an existing project. Since they change some of CodeIgniter's core functionality, it can break the existing code.As of this writing, CodeIgniter 1.7.2 is the latest stable release. These hacks are not guaranteed to work for future (or past) releases.Even though CodeIgniter is designed to be PHP 4 compatible, some of these hacks are not.

So you will need a server with PHP 5 installed.When you make any changes to the files inside the system folder, you should document it somewhere for future reference. Next time you upgrade CodeIgniter (even though they do not release updates very often), you may need to reapply those changes. There are two more side effects of this hack. That is all. Benedmunds/CodeIgniter-Ion-Auth · GitHub. Setup HMVC with Codeigniter 2.1.4 - ExtraDRM : Design Ressource Management. HMVC is an evolution of the MVC pattern used for most web applications today. It came as an answer to the salability problems within applications which used MVC. This extension for CodeIgniter enables the use of the Hierarchical Model View Controller(HMVC) pattern and makes your application modular. This allows easy distribution of independent components (MVC) in a single directory across other CodeIgniter applications. All modules are grouped in their own folder and can have their own controller, model, view, library, config, helper and language files.

The image below illustrates how this works : Key advantages to implementing the HMVC pattern : in the development cycle, these advantages will allow you to get more out of your application with less problems. How to set up HMVC in CodeIgniter It is very simple to setup HMVC in codeigniter : Step 1. Step 2. Step 3. Step 4. Step 5. Important notes about HMVC with Codeigniter 2.1.3 $this->load->model('module/model'); How tu use Modules Run <? The best way to make codeigniter website multi-language. calling from lang arrays depends on lang session?