I'm trying to integrate a pre-existing users table that is called users, but it's clashing with Fuel_users when I create a module, is there anything I can do to prevent this?
I've actually tried all that, I went as far as renaming the model, renaming the module to members, but the construct is where I think it throws it off. function __construct() { parent::__construct('users'); }
What if you add this to your MY_config: $config['tables']['old_users'] = 'users'; And then in your model use: function __construct()
{
parent::__construct('old_users');
}
Comments
http://www.getfuelcms.com/user_guide/modules/simple
function __construct()
{
parent::__construct('users');
}
$config['tables']['old_users'] = 'users';
And then in your model use:
function __construct() { parent::__construct('old_users'); }
Thanks a bunch.