Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8335419
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T03:40:20+00:00 2026-06-09T03:40:20+00:00

I wanna load CKEditor in CodeIgniter,I search a lot,but can’t understand their way. I

  • 0

I wanna load CKEditor in CodeIgniter,I search a lot,but can’t understand their way.

I placed ckeditor in application/plugins folder and now I wanna make editor ,so I do following in Controller Method.

include APPPATH.'plugins/ckeditor/ckeditor.php';
$CKEditor = new CKEditor();
$CKEditor->basePath = '/'.APPPATH.'plugins/ckeditor/';
$initialValue = '<p>This is some <strong>sample text</strong>.</p>';
echo $CKEditor->editor("editor1", $initialValue);

but it makes simple teaxaria only ,with

This is some sample text.

value.
where is the problem and how should I solve it?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T03:40:21+00:00Added an answer on June 9, 2026 at 3:40 am

    I use this steps to add ckeditor to my codeigniter apps:

    1) Download these files:

    • This for Ckeditor: http://pastebin.com/fkK9e0RR
    • This for Ckfinder: http://pastebin.com/SvyypmX4

    2) Copy the files you just downloaded into your Application/libraries folder

    3) Download the ckeditor helper here: http://pastebin.com/Cd3GqYbx

    4) Copy the last file in application/helper folder as ckeditor_helper.php

    5) Download the CKeditor controller here: http://pastebin.com/UD0bB9ig

    6) Copy the controller in your application/controllers folder as ckeditor.php

    7) Download the main ckeditor project from the official site: http://ckeditor.com/download/

    8) Copy the ckeditor folder you just download into your asset folder (if you want you can also download the ckfinder project and put it in the same folder)

    9) Add these line of js to your view file (adjust the path):

    <script type="text/javascript" src="/asset/ckeditor/ckeditor.js"></script>
    <script type="text/javascript" src="/asset/ckfinder/ckfinder.js"></script>
    

    10) In your controller add this php code and adjust the path:

    $this->load->library('ckeditor');
    $this->load->library('ckfinder');
    
    
    
    $this->ckeditor->basePath = base_url().'asset/ckeditor/';
    $this->ckeditor->config['toolbar'] = array(
                    array( 'Source', '-', 'Bold', 'Italic', 'Underline', '-','Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo','-','NumberedList','BulletedList' )
                                                        );
    $this->ckeditor->config['language'] = 'it';
    $this->ckeditor->config['width'] = '730px';
    $this->ckeditor->config['height'] = '300px';            
    
    //Add Ckfinder to Ckeditor
    $this->ckfinder->SetupCKEditor($this->ckeditor,'../../asset/ckfinder/'); 
    

    11) In your view print the editor with:

    echo $this->ckeditor->editor("textarea name","default textarea value");
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I wanna build a gallery, but the my problem is how to load the
I have a GWT application and wanna to test load and functionality using a
I'm wondering if i can do the following, I wanna Load and view a
In codeigniter we use a method call like this $this->load->view(); I wanna know what's
I wanna call some ASM functions in VB.NET. How can I do it? It's
On the page load i wanna call a custom validator which validates my page
I wanna show some text (and images) in browser but this text shouldn't be
I wonna to echo totalresults but somethink is wrong. // Get search results from
I'm using AndEngine for a Game 2d. Wanna to load different Activities or better
in my file struts-config.xml I've wrote: When my application start load successfully application.properties .

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.