# |
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? |
# |
Sep 11th 2009, 07:31 |
rchavik |
better to have them in 1 table with user type assigned to a user |
# |
Sep 11th 2009, 07:31 |
Alexey |
Can anyone tell me how to get whole layout html code in beforeRender function? |
# |
Sep 11th 2009, 07:31 |
TehTreag |
HardPhuck: I think, do things a little differently. I would store the username/password in one table and use hasOne/belongsTo relationships to the other tables, with contact info and such. |
# |
Sep 11th 2009, 07:30 |
HardPhuck |
i've made sure that username is unique across all three tables |
# |
Sep 11th 2009, 07:30 |
HardPhuck |
now i want one loginbox to authenticate in all of them |
# |
Sep 11th 2009, 07:29 |
HardPhuck |
they all have username and password field |
# |
Sep 11th 2009, 07:29 |
HardPhuck |
i have models: User, Firm, Branch |
# |
Sep 11th 2009, 07:29 |
HardPhuck |
i want to authenticate against any of the tables |
# |
Sep 11th 2009, 07:28 |
TehTreag |
HardPhuck: I'd say no. You mentioned using multiple tables for users before in channel. Do you want to be able to authenticate against any of the tables, or choose via some method? |
# |
Sep 11th 2009, 07:25 |
HardPhuck |
can i have my Auth component use multiple user models? |
# |
Sep 11th 2009, 07:25 |
burzum |
I cant take people serious who whine but cant come up with facts. |
# |
Sep 11th 2009, 07:24 |
burzum |
And even if he would have had bill gates working on it, i wont believe him ;) |