I have created a custom validation file in fuel/application/helpers, how do I reference it.
Also I have a field that is of type file which has been added to my 'required' array, but the required class is not being applied to the label.
In my 'form_fields' method I am declaring a file upload with the configuration of not overwriting;
$fields['icon']['class'] = 'asset_select icons/tracks'; $upload_path = assets_server_path('tracks/icons', 'media'); $fields['icon'] = array('type' =&…
Sorry, didn't read the documentation properly! Me bad.
Am handling the files in the on_after_post($values) method then just doing a simple check;
E.g. if (isset($_FILES['track']) && $_FILES['track']['size'] > 0) { ... }
I currently developing an application, but if I get time I will try and integrate ION AUTH, how would you recommend, as an advanced module or as part of the core?
Can vary from server to server. Can be mod_security (Apache) or suhosin (PHP), each can be set up to not allow files with certain keywords in their name; like cookie
1. It is the latest version of FUEl.
2. Errors are;
Filename: models/users_model.php
Message: Undefined index: new_password
Message: Undefined index: confirm_password
Both on line 211.
I have got passed it be changing it directly in the…
The simple answer to this is to copy the contents of jquery.cookie.js into another of the js files, therefore it gets loaded and not blocked by any Apache rules.
(Credit for this goes to my mate Tom).