Love Fuel?
Donate
About
Forums
Discussions
Login
FuelPHP Forums
Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Muts
Discussions
48
Comments
100
Activity
view problem
Try using: $this->response->body = View::factory('sample') ->set('feeds', $feed->get_items());
Comment by
Muts
May 2011
permalink
relation issue, Unknown column
This is the index: public function action_index() { $characters_owned = Model_Character::find() ->related('simpleusers_api') ->where('simpleusers_api.user_id', $this->user_id) ->get(); // $characters…
Comment by
Muts
May 2011
permalink
relation issue, Unknown column
Oh well forgot to update my message, but I did however written $characters_owned = Model_Character::find() ->related('simpleusers_api') ->where('simpleusers_api.user_id', $this->user_id) ->get(); But stil…
Comment by
Muts
May 2011
permalink
'like' keyword
Ooh totally forgot, I just looked at one of your examples and thought it would be implemented thanks, works
Comment by
Muts
May 2011
permalink
Object class was not whitelisted?
nvm had to add the '->get()' to the end of the query
Comment by
Muts
May 2011
permalink
CRUD relation models
well as i need to save the api keys and set the FK (user_id) to id of the user table. But as the user is created by the AUTH create method, I can't really user any other method, no?
Comment by
Muts
April 2011
permalink
CRUD relation models
k, FF fireftp is usefull when you don't have permission to install exe ftpclients So I'm finally able to upload my codes. Now I tried adding the information to my second table but failed. This is the code I'm using if (Auth::instanc…
Comment by
Muts
April 2011
permalink
CRUD relation models
Well in the mean time I checked out the stationwagon script and would this also work (regarding cascade deleting for example)? So as when someone registers the user needs to fill teh apiID and key in the same form. So after validation I do teh fol…
Comment by
Muts
April 2011
permalink
CRUD relation models
updated
Comment by
Muts
April 2011
permalink
How is FuelPHP different/better than CodeIgniter?
well the fact that they have their own ORM and the possibility to use modules is good enough for me. Oh and I really like the template controller too! Am not sure if it was implemented in CI2.0
Comment by
Muts
April 2011
permalink
force login
lol, I feel dumb thanks! Shouldn't be looking to far for solutions
Comment by
Muts
April 2011
permalink
Validation callback
WELL ... that works Sorry, most of the time it are these simple mistakes I keep making. Thanks
Comment by
Muts
April 2011
permalink
Validation callback
K so refill of the input fields works... But I can't seem to get the errors to work. I tried setting them in the controller and even tried to call them directly in the view. Nothing It just refreshes.
Comment by
Muts
April 2011
permalink
Validation callback
Jaroslav Petrusevic wrote on Wednesday 20th of April 2011: Hello, to refill you from, you need smth like this, ebcause you don't tell the Form class to fill out the form for you, for example you can do: This way it will load the form, but …
Comment by
Muts
April 2011
permalink
Validation callback
Oh sorry, well this is the view: http://scrp.at/TM and the template controller view: http://scrp.at/TN
Comment by
Muts
April 2011
permalink
Validation callback
thanks for the reply For some reason though I can't seem to get my errors working. when I try and test the unqiueness of the username and email, it just refreshes the page and empties the form. http://scrp.at/TF
Comment by
Muts
April 2011
permalink
Validation callback
Well it does work when you change it to $val->add_field('username', 'Username', 'required|min_length[3]|max_length[20]|unique[users.username]'); So apparently not when using add_rule
Comment by
Muts
April 2011
permalink
Validation callback
app/classes/myvalidation.php http://scrp.at/Qu app/classes/controller/users.php http://scrp.at/Qv
Comment by
Muts
April 2011
permalink
Validation callback
I don't quite get it... I mean even though I remove the add_callable it doesnt change the error. Also I tried extending it... Does it mean I only need to add extend Validation? Like so:
Comment by
Muts
April 2011
permalink
Validation callback
Isn't it already added?
Comment by
Muts
April 2011
permalink
Stationwagon
It does work when you just copy the files from controller/model and view and change the index/config and db from your RC1 fuelphp version.
Comment by
Muts
February 2011
permalink
error when using oil commands
It would be kinda akward if I werent using php5.3 I'll try checking out for an update of ioncube then... In the hope my provider let's me
Comment by
Muts
April 2011
permalink
Stationwagon
A Huzz wrote on Saturday 9th of April 2011: Can't run the application Warning: require_once(E:\projects\websites\stationwagon\fuel\core\bootstrap.php) [function.require-once]: failed to open stream: No such file or directory in E:\projects\w…
Comment by
Muts
February 2011
permalink
Stationwagon
I dont get why you have the same views for user in the modules and the main view folder.
Comment by
Muts
February 2011
permalink
A few questions
Hey, Thanks to all for the replies I'm certainly going to give this a try. Just need to upgrade my server. But yet offcourse some website I use need to be modified to work with 5.3 It won't take long but it's just a pain in the yo…
Comment by
Muts
February 2011
permalink
More Comments
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Apply for Membership
About
Username
Muts
Joined
February 2011
Visits
21
Last Active
January 2013
Roles
Member