# |
Aug 8th 2008, 07:11 |
lqdice__ |
Lemon|work: i guess a lot of ppl still use it |
# |
Aug 8th 2008, 07:09 |
Lemon|work |
since it is no longer supported |
# |
Aug 8th 2008, 07:09 |
Lemon|work |
Why was php4 supported in cakephp 1.2 anyways? |
# |
Aug 8th 2008, 07:08 |
skua |
and foo will be a Configure::read() variable |
# |
Aug 8th 2008, 07:07 |
skua |
I couln't make a thing like initialize(and$model) { $model->useDbConfig = $foo } ? |
# |
Aug 8th 2008, 07:06 |
alkemann |
changing Db on the fly requires a reinitializing of the model |
# |
Aug 8th 2008, 07:05 |
skua |
i want to test useDbConfig for each use of a specific model |
# |
Aug 8th 2008, 07:05 |
alkemann |
skua: check api for App::import |
# |
Aug 8th 2008, 07:05 |
alkemann |
skua "load something" is a bit vague .. |
# |
Aug 8th 2008, 07:05 |
alkemann |
i am, when it serves a valid purpose |
# |
Aug 8th 2008, 07:04 |
skua |
setup() or initialize() ? |
# |
Aug 8th 2008, 07:04 |
skua |
what's the best way to load something in model ? |
# |
Aug 8th 2008, 07:04 |
macneti |
I see you are not a friend of js and DOM :) |
# |
Aug 8th 2008, 07:04 |
alkemann |
browsers are made to scroll down and users have learned to do this |
# |
Aug 8th 2008, 07:03 |
alkemann |
hidden content isnt either (imho) |
# |
Aug 8th 2008, 07:02 |
macneti |
hmm but when I like to split a big form in to diffrent tabs a refresh is not a solution -.- |
# |
Aug 8th 2008, 07:02 |
alkemann |
make tabs as buttons with pagerefreshes |
# |
Aug 8th 2008, 07:02 |
alkemann |
ACTION will never understand why ppl insist on pretending webpages arent webpages |
# |
Aug 8th 2008, 07:01 |
macneti |
somone knows a helper for displaying tabs in views? |
# |
Aug 8th 2008, 07:00 |
ammadsaleem1 |
working fine now |
# |
Aug 8th 2008, 07:00 |
macneti |
hi all... |
# |
Aug 8th 2008, 07:00 |
ammadsaleem1 |
and removed it from the app_controller uses array |
# |
Aug 8th 2008, 07:00 |
ammadsaleem1 |
I included in the controller.php uses array |
# |
Aug 8th 2008, 06:59 |
annnna |
ammadsaleem1: what was the solution? |
# |
Aug 8th 2008, 06:59 |
ammadsaleem1 |
I figured it out |
# |
Aug 8th 2008, 06:58 |
ammadsaleem1 |
THANKS FOR ALL OF YOUR HELP |
# |
Aug 8th 2008, 06:58 |
medice |
in case i need to specify which items are allowed to be viewed, for example |
# |
Aug 8th 2008, 06:58 |
medice |
hmm. can i check the $id inside isAuthorized? |
# |
Aug 8th 2008, 06:57 |
annnna |
ammadsaleem1: yeah franko is right. Sometimes your server needs alone time lol |
# |
Aug 8th 2008, 06:56 |
franko |
ammadsaleem1: strangely enough, these errors have disappeared for me overnight on two occasions, waiting to ask sysadmin about it, because clearing the cache did not work for me last time, though it was recommended by someone on this channel... |
# |
Aug 8th 2008, 06:55 |
annnna |
ammadsaleem1: im wrong.... cookbook says you should include it, like this App::import('Sanitize'); |
# |
Aug 8th 2008, 06:54 |
franko |
ammadsaleem1: I have very similar problems...try clearing the /app/cache/*/* files... |
# |
Aug 8th 2008, 06:54 |
annnna |
ammadsaleem1: if it throws you that error maybe it's included by default (sorry i dont remember exactly, i'll check) |
# |
Aug 8th 2008, 06:53 |
ammadsaleem1 |
no I included it in the app controller class |
# |
Aug 8th 2008, 06:52 |
annnna |
Matt1: allright, i get it know |
# |
Aug 8th 2008, 06:52 |
Matt1 |
annnna: no, you make your. |
# |
Aug 8th 2008, 06:52 |
annnna |
ammadsaleem1: did you write your own sanitze function? |
# |
Aug 8th 2008, 06:52 |
ammadsaleem1 |
? |
# |
Aug 8th 2008, 06:52 |
ammadsaleem1 |
any help |
# |
Aug 8th 2008, 06:52 |
ammadsaleem1 |
but I am getting this when I upload it to the web server |
# |
Aug 8th 2008, 06:51 |
annnna |
like core.php? |