Well, this has been an ongoing thing for me of late.
I love SPAW Editor, but I have had trouble integrating it into my CodeIgniter CMS.
In particular, the quicklinks to link to my database pages.
After much deliberation, it seems, Ive been going around it the wrong way.
First off I used this fellows custom integration
, which seemed to work well out of the box, but for the life of me couldn't figure out how to integrate the quicklinks.
After loading the library in your 'Controller', call it like this
// Load up Spaw Editor
$config = array(
'name' => 'content_data[body]',
'caption' => 'Images',
'content' => $data['content_data']->body
$quicklinks = $this->admin_content_model->get_quicklinks();
$this->spaw->setConfigItem("quick_links", $quicklinks, SPAW_CFG_TRANSFER_SECURE);
Obviously you will have to create a function in "admin_content_model" model to pull the links from your database.
Basically just 2 lines of code in the Controller passing the Spaw instance back to the view.
Worked a treat!