Jump to content


titu

Member Since 06 Dec 2013
Offline Last Active Mar 06 2017 06:25 PM
-----

Posts I've Made

In Topic: Field Type - Rich Text Editor and Plain Textarea

04 March 2017 - 03:20 AM

unset_Texteditor does exactly that.

http://www.grocerycr...nset_texteditor


In Topic: How to debug callback function

22 February 2017 - 10:22 AM

Although callbacks allow fast development I would suggest to move to custom models as soon as you can, it simple and you have much more control.


In Topic: Autocomplete min length

26 June 2016 - 02:49 AM

I believe set relation is not ajax. All options are loaded upon page loading so the options are local data.


In Topic: Adding "where" function for a related table?

27 May 2016 - 02:50 PM

Try this:

 

->set_relation('Users_id','Users','UserName',array('Type'=>2));


In Topic: Callback Functions - Where to place them in Codeigniter MVC Framework

16 May 2016 - 12:57 AM

I stoped using callbacks, instead I starting using custom models, e.g.:

	public function db_delete($primary_key_value){


		    

			$ret = parent::db_delete($primary_key_value);

			$this->refresh($primary_key_value); 
			return $ret;
	}

I definitely recomend this approach for medium size projects.