Hello, it is me again. One more questions. With "opt-in" controller i can do everything in the same .php file. Is that true?
What about standfard way. Where to put $.ajax({ code. Inside controller or view? Or somewhere else...
Thx
thank you again. So if i want to access contact form in first example i just use url: fuel/contact where contact.php is view and controller. And i can also use validator in this form?
And in the second i don't need controler at all? do you have any…
thank you for replay. Can i use this two functions on the view? becouse i get error that functions does not exist on view. I want to show errors on the view not controller.
Thank you
$this->config->set_item('language', $language);
I am still having problems, Now i get error "Unable to load the requested language file: fuel/fuel/codeigniter/language/english/fuel_lang.php". I don't know why searching it there!
Thank you. For automatically i set in Fuel_base_controller.php:
// set the language based on first the users profile and then what is in the config... (FYI... fuel_auth is loaded in the hooks) $language = $this->fuel_auth->user_data('languag…
i change language alwas by admin (http://url/fuel/my_profile/edit). but $this->load->language('authors'); choose english language instead of slovenian. slovenian is ofcourse choosen by admin (http://url/fuel/my_profile/edit).
Thx I know this but this solution is not generic. Then if I changed language back to english forms will still be in slovenian language.
I want to change all form languages when I go to http://url/fuel/my_profile/edit and when I change here languag…
sorry i misspell. I mean articles_lang.php so $this->load->language('articles'); is correct but not working.
Even if language is set to slovenian i get this error:
An Error Was Encountered Unable to load the requested language file: langua…
Hi, thank you. I already try second way but 'Please fill out the title field' is static text and i can not translate it later to our language. Functio lang() not working here. So i can not use
public $required = array('title' => lang('translat…