# |
Sep 11th 2009, 07:42 |
HardPhuck |
when username is entered app_controller will check which table has that username |
# |
Sep 11th 2009, 07:42 |
HardPhuck |
TehTreag: thanx ofr the suggestion, i have another idea though... it's a bit of workaround but it should work: |
# |
Sep 11th 2009, 07:41 |
jessica-m |
TehTreag: i cant quite figure out how to place that url in |
# |
Sep 11th 2009, 07:41 |
hmvrulz |
i am not to log in even if the user is inserted into database its showing longinerror |
# |
Sep 11th 2009, 07:40 |
TehTreag |
HardPhuck: For your original question, no I don't think you can get the AuthComponent to do it for you... but with a little effort you may be able to subclass it to get what you want. I'd recommend you step back, and evaluate why you want to do it, first. |
# |
Sep 11th 2009, 07:39 |
davidebenini |
any idea of what might be wrong? |
# |
Sep 11th 2009, 07:39 |
HardPhuck |
TehTreag: thanx |
# |
Sep 11th 2009, 07:39 |
davidebenini |
an idea? |
# |
Sep 11th 2009, 07:38 |
davidebenini |
Your browser sent a request that this server could not understand." |
# |
Sep 11th 2009, 07:38 |
davidebenini |
"Bad Request |
# |
Sep 11th 2009, 07:38 |
davidebenini |
I guess something's wrong with the spaces |
# |
Sep 11th 2009, 07:38 |
davidebenini |
http://sopo.dev/companies/search/page:2/Company.name%20like:%a% |
# |
Sep 11th 2009, 07:38 |
davidebenini |
sorry, this url |
# |
Sep 11th 2009, 07:37 |
davidebenini |
producing this text: |
# |
Sep 11th 2009, 07:37 |
TehTreag |
~tell hmvrulz about ask |
# |
Sep 11th 2009, 07:37 |
TehTreag |
hmvrulz: It's best to pose your question. If anyone can answer it, they will. |
# |
Sep 11th 2009, 07:37 |
davidebenini |
but next link not working |
# |
Sep 11th 2009, 07:37 |
davidebenini |
paginate working, with teh shown condition |
# |
Sep 11th 2009, 07:37 |
TehTreag |
HardPhuck: Store that extra stuff in other tables... User would have all the information for every user, including username/password. Firm (user_id) would belongTo a user an include the additional information for a firm; Branch, I'm assuming about the same. |
# |
Sep 11th 2009, 07:37 |
davidebenini |
http://bin.cakephp.org/view/2052159119 |
# |
Sep 11th 2009, 07:36 |
davidebenini |
hello folks |
# |
Sep 11th 2009, 07:36 |
hmvrulz |
can anyone plz help me |
# |
Sep 11th 2009, 07:36 |
jessica-m |
how do i do it |
# |
Sep 11th 2009, 07:36 |
jessica-m |
ok i recant my nvm |
# |
Sep 11th 2009, 07:35 |
HardPhuck |
i do have group_id for permissions already:) |
# |
Sep 11th 2009, 07:35 |
HardPhuck |
yeah, but a regular user has 10 fields in the table, firm has 30 |
# |
Sep 11th 2009, 07:35 |
hmvrulz |
i hav problem regarding auth as m new to cake m trying to implement authentication |
# |
Sep 11th 2009, 07:34 |
TehTreag |
HardPhuck: That sounds like permissions. I'm not sure if I'd put myself through that kind of trouble if a simple 'group_id' would work. |
# |
Sep 11th 2009, 07:34 |
HardPhuck |
client also wants the power to export from each table |
# |
Sep 11th 2009, 07:34 |
hmvrulz |
hi guys |
# |
Sep 11th 2009, 07:34 |
HardPhuck |
user has it's data, while firm has data which is very different from user's |
# |
Sep 11th 2009, 07:34 |
jessica-m |
nv m |
# |
Sep 11th 2009, 07:34 |
HardPhuck |
TehTreag: they are different in terms that users can do other things and have different data fields as well |
# |
Sep 11th 2009, 07:33 |
TehTreag |
Alexey: It's a subclass of the view object, with a custom render method. IIRC |
# |
Sep 11th 2009, 07:33 |
TehTreag |
Alexey: There is a slightly awkward process in one of the 'Beginning CakePHP' books... find the website for the books, download the source. |
# |
Sep 11th 2009, 07:32 |
jessica-m |
where is that option i couldnt find it in the doc? |
# |
Sep 11th 2009, 07:32 |
Alexey |
how to make it? |
# |
Sep 11th 2009, 07:32 |
TehTreag |
jessica-m: There is a 'full' option to link. |
# |
Sep 11th 2009, 07:32 |
Alexey |
I want to replace some line before everything rendred |
# |
Sep 11th 2009, 07:31 |
jessica-m |
when using $html->link - is there a way to print a url properly if it does not have http in front of it? |
# |
Sep 11th 2009, 07:31 |
TehTreag |
HardPhuck: What's difference between the three, User, Firm, Branch? |