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.
Huzzi
0
Discussions
36
Comments
138
Activity
new to frameworks, some questions about structure and session control
This is how am doing it http://scrp.at/24 hope this helps.
Comment by
Huzzi
June 2011
permalink
Personal details on fuelphp.com?
How about resetting the password? http://fuelphp.com/users/reset_pass
Comment by
Huzzi
June 2011
permalink
Personal details on fuelphp.com?
try http://fuelphp.com/users/profile/edit
Comment by
Huzzi
June 2011
permalink
casset - an alternative asset class which supports minifying scripts, cleaner syntax
I think there's something similar there already https://github.com/fuel/assetic
Comment by
Huzzi
June 2011
permalink
DB Class - Get total rows before applying offset / limit filter
Thanks FrenkyNet
Comment by
Huzzi
May 2011
permalink
Execution Time and Other Stats...
Set profiling to true in the config file.
Comment by
Huzzi
May 2011
permalink
Am Waiting For
Thanks Mubs.
Comment by
Huzzi
May 2011
permalink
Am Waiting For
Nicely done, just wondering how you managed the routes for the users?
Comment by
Huzzi
May 2011
permalink
module views and classes/view
view folder should not be inside the classes folder, you either have view folder inside the app folder or within a module.
Comment by
Huzzi
May 2011
permalink
Kind of complicated queries (example)
Not sure if this line is correct INNER JOIN invTypes ON ( invTypes.groupID = groups.groupID AND invTypes.published = 1 ) try INNER JOIN invTypes ON ( invTypes.groupID = groups.groupID)->where('nvTypes.published',1);
Comment by
Huzzi
May 2011
permalink
How to remove folder and index.php from URL path
set public as your root directory
Comment by
Huzzi
May 2011
permalink
Log reader
i'm sure you'll do it better
Comment by
Huzzi
May 2011
permalink
Log reader
have a look at this to get some ideas http://getsparks.org/packages/fire_log/versions/HEAD/show
Comment by
Huzzi
May 2011
permalink
Security opinion
np, make sure you check permission when deleting messages.
Comment by
Huzzi
May 2011
permalink
Security opinion
peter vercauteren wrote on Wednesday 18th of May 2011: So how about the URI? You propably would have ROOT/messages/... Should I set message/user_ID/message_ID? Isn't this a security flaw? Don't pass user_id in the url, how are you a…
Comment by
Huzzi
May 2011
permalink
Security opinion
Say you have a messages table like this: id user_id message blah blahh In view controller, you can check if the user_id matches with the logged on user_id in the session.
Comment by
Huzzi
May 2011
permalink
Calling a View Function
you could do this with one line of code in the controller if you use orm. public function action_index(){ $user = Model_User::find($id); } *Edit* Assuming you've setup the Model_User
Comment by
Huzzi
May 2011
permalink
Calling a View Function
I would have a library for common functions call it helper.php and placed it \app\classes\ then in the view you could do this:
Comment by
Huzzi
May 2011
permalink
Asset class
Harro Verton wrote on Friday 13th of May 2011: And then in your view, request the group Asset::render('head'); You should not use echo or print. It will generate output on the spot, while views are rendered at the end. Also, once you…
Comment by
Huzzi
May 2011
permalink
Asset class
thank you WanWizard, this is exactly what i wanted
Comment by
Huzzi
May 2011
permalink
User Agent
yes https://github.com/fuel/core/blob/master/classes/agent.php
Comment by
Huzzi
May 2011
permalink
Routing issue
*FIXED* Downloaded the latest version from the dev. Issue https://github.com/fuel/core/issues/82
Comment by
Huzzi
May 2011
permalink
Routing issue
ok, i've removed custom routes from the config and kept the default but still having problem, domain.com/admin works but domain.com/admin/process throws 404 error. return array( '_root_' => 'welcome/index', // T…
Comment by
Huzzi
May 2011
permalink
$obj->save();
How do you catch exception? you don't want to show exception error on a live site.
Comment by
Huzzi
May 2011
permalink
relation issue, Unknown column
https://github.com/downloads/fuel/fuel/fuel-1.0-rc2.zip
Comment by
Huzzi
May 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
Huzzi
Joined
January 2011
Visits
1
Last Active
March 2013
Roles
Member