Avatar

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

soonerdm

About

Username
soonerdm
Joined
Visits
223
Last Active
Roles
Member

Comments

  • I figured it out. I used the $options = array('a' => 'option A', 'b' => 'option B', 'c' => 'option C'); $fields['select_example'] = array('type' => 'select', 'options' => $options, 'model' => 'people', 'first_option' => 'Sele…
  • public function options_list($key = 'id', $val = '', $where = array('id !=0 ', 'active =1'), $order = TRUE, $group = TRUE){
    $val = "CONCAT(clients.first_name, ' ', clients.last_name, ' ', clients.email_address)";
    $order =…
  • I'm actually using clients table instead of users table. So I want to pull client_id, first name, last_name and email from clients that have signed up through the site.
  • I tried that and it's pulling from the table the model is pulling in the constructor so I get this error Unknown column 'user.first_name' in 'field list' SELECT user_package.id, CONCAT(user.first_name, ' ', user.last_name, ' ', user.email) FRO…
  • I moved the column with the ALTER command and it worked. Thank you.
    in Foreign Key Comment by soonerdm May 2018
  • I get the code. But Still not happening <?php if (!defined('BASEPATH')) exit('No direct script access allowed'); require_once(FUEL_PATH.'models/Base_module_model.php'); class Selections_model extends Base_module_model { public $foreign…
    in Foreign Key Comment by soonerdm May 2018
  • This is my Selection_model <?php if (!defined('BASEPATH')) exit('No direct script access allowed'); require_once(FUEL_PATH.'models/Base_module_model.php'); class Selections_model extends Base_module_model { public $foreign_keys = array…
    in Foreign Key Comment by soonerdm May 2018
  • Thank you. I'll plug it in
    in Foreign Key Comment by soonerdm May 2018
  • Yeah that wasn't very clear. I want my my default block editor to be the ckeditor. I don't see where to change that.