Best practice - multipage Form

2007-06-07 Thread wewo

Dear all,

What would be your implementation recommendation (controller side) for
setting up a tabbed multipage form (step1, step2, step {n}), where in
every step different models and controllers are influenced and the
different steps maybe influce other steps (available or not, a.s.o)?

Thanks for any advice,
wewo


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



strange error msg

2007-04-30 Thread wewo

hi there,

maybe it'a a stupid question, but since the update to the actual
1.2.0.4798 release, I get some strange error messages in my app:

Notice (8): Undefined property:  Folder::$table [CORE/cake/libs/model/
model.php, line 671]
Notice (8): Undefined property:  Folder::$name [CORE/cake/libs/model/
model.php, line 717]
Notice (8): Undefined property:  Folder::$useDbConfig [CORE/cake/libs/
model/datasources/dbo_source.php, line 595]

Fatal error: ConnectionManager::getDataSource - Non-existent data
source in cake/libs/model/connection_manager.php on line 110

in my app "folder" (model, view + controller) exists for data storage
reasons, could this cause the conflict?

what am i doing wrong?
cheers,
wewo


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: layout question and url extension

2007-01-29 Thread wewo

thanks! you made my day!
now its working (besides the whitespace before the header I have to 
find)

ok, now the action for one possible file extension is finally 
solved :)
calculating with 30-40 possible file extensions, i would end up 
creating  60-80 ctp files (controller + layout).
some of the extensions should perform in the same manner (gif, jpg, 
png, mov) to continue in a DRY way,
what would be your recommendation?


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: layout question and url extension

2007-01-29 Thread wewo

Hello again,

I finally got the url extension "working" (mapping to the right ctp).
But now there are some new errors, where i would need some help.

When calling /nodes/diplay/1.gif the template in /views/nodes/gif/
display.ctp gets called, fine so far,
but cake tells me that there is a layout missing somewhere??

I've made a"gif.ctp" and "display.ctp" in /views/layout without any 
success :(

What am i doing wrong?


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



layout question and url extension

2007-01-26 Thread wewo

Hello bakers,
In my current project I have to deal with many different user uploaded
files, which "all" should be handled in a certain way.

For example if the user gets on /nodes/view/1 the default template with
meta information gets rendered but
on the other hand, the user should be able to execute, view or download
the file by accessing the same node with the nodes extension (eg
nodes/view/1.jpg)

am I on the right way with the new url extensions in cake12?
how can i add many different extension for the nodes?

cheers,
wewo


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---