I've actually found solution for this. It's not perfect but does what is has to do.
By extending fuel_users_model and adding extra one function which query for date_expire fiel from fuel_users, compares dates and send info back to Login controller…
That actually sound good. What I am doing is fetching data with query form one of the tables and populating multi list. I am basically extending Fuel_users_model with few more fields.
Function inside Fuel_users_model.php:
public function v…
Update: I have managed to save data as JSON by using this below in on_before_save
if (!empty($values['odobreni_proizvodjaci'])) { $priprema = $values['odobreni_proizvodjaci']; $pretvori = json_encode($priprema); …
Hi both, I am having problem storing multi field into database. I am getting error: Message: Array to string conversion
`
$options = array('a' => 'option A', 'b' => 'option B', 'c' => 'option C'); $fields['od…
Why just not hide (size 0 x 0) list using CSS and JS? So no more selections are possible if number of items > max number of items.
If items have been removed, reverse procedure. I have not try, but will as it sounds like something what would b…
Quick reply; I've tested what you suggested and it works. Admin can see everything and regular user has limits on data by it's user_id. It is quiet simple to use
Wow this was quick! I am not sure how to implement it in my case. This 'my_user_field_id' represents field I have set in simple module mysql table. I am wondering if I want add multiple users to access same data (2-3 users from same city), I would n…