Posts Tagged ‘codeigniter’

Codeigniter LiveDocx

Tuesday, April 14th, 2009

Using Nusoap, I’ve put together a simple example of how to convert a word docx to txt in codeigniter php. I’ve left error checking out etc just to keep it simple. Its once again one of those “You build on it for you own usage” snippets.

This function converts to txt then just adds a simple <p> wrapper around paragraphs. I put this into a custom file manager for TinyMCE, and it allows clean embedding of a word document to the editor.

And you can grab the Codeigniter Nusoap library from here: nusoap-codeigniter
And a zipped clean version of the PHP snippet above from here: mswordfunction

Hopefully this helps people.
Check out http://www.livedocx.com/ for information on grabbing a free user account, and to read the API.

jQuery/PHP Form Builder Sourcecode

Saturday, April 11th, 2009

Got a few queries from people wanting to grab the code for the form builder, so thought I’d share it around. Its crudely stripped out of the admin system I’m working on, but its a good stepping stone to make it better.

Screenshot

This needs an update, will work on it over the weekend. Fixed some issues with dragging and the wysiwyg editor, also cleaned up the styles.

UPDATED 9 June 2009.

  • Fixed Stylesheet
  • Fixed TinyMCE issues.
  • Cleaned up DOM Objects.

DEMO

DOWNLOAD

As all the things I share, this comes with limited support, as is, and might require you to fix things yourself with your own mental abilities. This is a stripped Controller from a custom admin system I’m working on. To put it back into a controller, just edit formbuilder.php and wrap in a CodeIgniter controller extend.

Work in progress

Tuesday, February 3rd, 2009

Just a work in progress.

Currently working for:

  • User ACL
  • Group Rights
  • Form Builder
  • User profiles
  • Multisite use
  • jQuery 1.3.1
  • Taxonomy
  • Etc etc etc…

PHP

This is kind of a side project at the moment, getting to work on it in spare time.