# |
Aug 6th 2008, 16:39 |
TommyO |
castroalves: determine an identify value of some sort. set the dbConfig value in the model based on it |
# |
Aug 6th 2008, 16:39 |
xhenxh1 |
OK, I'll give it shot. Thanks TommyO |
# |
Aug 6th 2008, 16:38 |
TommyO |
xhenxh1: you can do it in beforeSave or in the controller itself, your call |
# |
Aug 6th 2008, 16:38 |
renan_saddam |
castroalves: summary = you want modify database config on fly |
# |
Aug 6th 2008, 16:38 |
francky06l |
Swiatecki: :-) |
# |
Aug 6th 2008, 16:38 |
TommyO |
xhenxh1: well that's why I asked you for specifics. I don't know what you have. but I'm assuming what you want is: $this->data['Model']['filename'] = $this->data['Model']['path'] . DS . $this->data['Model']['file']; or the like |
# |
Aug 6th 2008, 16:37 |
xhenxh1 |
could I use the beforeSave method? |
# |
Aug 6th 2008, 16:37 |
francky06l |
Mathachew: you can do it, actually .. an anonymous user is someone who did not logged so ....easy to veify |
# |
Aug 6th 2008, 16:37 |
Swiatecki |
*ive |
# |
Aug 6th 2008, 16:37 |
Swiatecki |
ove got a cake console :D! |
# |
Aug 6th 2008, 16:37 |
castroalves |
No... The core of the app will be the same... |
# |
Aug 6th 2008, 16:37 |
renan_saddam |
castroalves: and different installation for each client? |
# |
Aug 6th 2008, 16:37 |
castroalves |
How can I set the database according the client login? |
# |
Aug 6th 2008, 16:37 |
Mathachew |
francky06l: It doesn't appear to call isAuthorized() for anonymous users, only authenticated |
# |
Aug 6th 2008, 16:36 |
castroalves |
Also, they'll have different databases... |
# |
Aug 6th 2008, 16:36 |
francky06l |
Mathachew: well it can do it |
# |
Aug 6th 2008, 16:36 |
castroalves |
Each client will have a package of modules... |
# |
Aug 6th 2008, 16:36 |
Mathachew |
I need some assistance with Authentication. I'm trying to allow anonymous users read access to specific nodes, but it appears Auth isn't using isAuthorized() to validate the anonymous users |
# |
Aug 6th 2008, 16:36 |
xhenxh1 |
TommyO: not sure what you mean, can you give me an example? |
# |
Aug 6th 2008, 16:36 |
castroalves |
Each of them is going to be a module... |
# |
Aug 6th 2008, 16:35 |
castroalves |
There will be project management, process management, dashboards, and so on... |
# |
Aug 6th 2008, 16:35 |
francky06l |
xhenxh1: I guess you need to move your file out of the public html THEN save the path |
# |
Aug 6th 2008, 16:35 |
TommyO |
xhenxh1: ok... just restructure and inject a new field based on the parts |
# |
Aug 6th 2008, 16:35 |
castroalves |
Let me try... |
# |
Aug 6th 2008, 16:34 |
xhenxh1 |
The file field on the form returns an array, I need to pull the filename out of the array and save it to the database |
# |
Aug 6th 2008, 16:34 |
francky06l |
castroalves: sorry I did not get ..what it means (I am crap in English) :-) |
# |
Aug 6th 2008, 16:34 |
castroalves |
See you, francky? |
# |
Aug 6th 2008, 16:34 |
xhenxh1 |
Okay, I'm uploading a file and I want to save the file path in the database |
# |
Aug 6th 2008, 16:33 |
castroalves |
renan_saddam: I know... |
# |
Aug 6th 2008, 16:33 |
francky06l |
castroalves: ..humm |
# |
Aug 6th 2008, 16:33 |
castroalves |
yes |
# |
Aug 6th 2008, 16:33 |
francky06l |
castroalves: for everything ? |
# |
Aug 6th 2008, 16:33 |
TommyO |
xhenxh1: too vague. give an actual example of the structure you receive and the structure you expect to need |
# |
Aug 6th 2008, 16:33 |
renan_saddam |
castroalves: Flex + AMF? |
# |
Aug 6th 2008, 16:33 |
castroalves |
I'm going to use Flex as the frontend... |
# |
Aug 6th 2008, 16:33 |
francky06l |
Swiatecki: just try to get your dos box, in the php folder and type the same thing, until it asnwers |
# |
Aug 6th 2008, 16:33 |
xhenxh1 |
do I just overwrite the save routine? |
# |
Aug 6th 2008, 16:32 |
xhenxh1 |
noob question: I have a model, but one of my forms passes and array and I need a string out of the array. How to I specify what it should use on the save routine? |
# |
Aug 6th 2008, 16:32 |
TommyO |
and what is used for non-logged-in user? |
# |
Aug 6th 2008, 16:32 |
TommyO |
castroalves: how do they login? http AUTH or cake-based stuff? |
# |
Aug 6th 2008, 16:32 |
francky06l |
Swiatecki: you do not need with windows in 5.2, I guess you have got the wrong path in your PATH |