# |
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 ;) |
# |
Sep 11th 2009, 07:24 |
Eggy_Blastoff |
burzum: whatever. i don't care |
# |
Sep 11th 2009, 07:24 |
Eggy_Blastoff |
burzum: w/e dude, we have guys that contribute to apache foundations, former leads of yahoo working here that don't like cake. |
# |
Sep 11th 2009, 07:23 |
burzum |
Let me hear their complaints. Im really interested in knowing whats wrong - IF there is something THAT wrong |
# |
Sep 11th 2009, 07:23 |
TehTreag |
Eggy_Blastoff: Sounds like a fix to an issue in the core would help you get some needed rest. Write up a description, provide a test case. Maybe we can help you get some rest. |
# |
Sep 11th 2009, 07:23 |
burzum |
You claim to have serveral of them. |
# |
Sep 11th 2009, 07:23 |
Eggy_Blastoff |
8 developers here all using cake, complaining constantly about it. |
# |
Sep 11th 2009, 07:23 |
burzum |
Well, name me a serious flaw |
# |
Sep 11th 2009, 07:22 |
burzum |
It doesnt take that long to write a ticket that describes a flaw. A test case would be really nice to make sure there is a flaw but writing down a description to repeat it wont take forever |
# |
Sep 11th 2009, 07:21 |
burzum |
To be honest, "i have no time" is an excuse. |
# |
Sep 11th 2009, 07:21 |
TehTreag |
So do I |
# |
Sep 11th 2009, 07:21 |
Eggy_Blastoff |
burzum: I wish i had time ;-) |
# |
Sep 11th 2009, 07:21 |
burzum |
For example? |
# |
Sep 11th 2009, 07:20 |
Eggy_Blastoff |
it' just does the weirdest things at times |