Routing special route to subdomain (Cake 1.3)

2014-03-29 Thread Timo Hähne
but all other routes/links should show to http://domain.com How can I solve this? Best regards, Timo -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups CakePHP group

Re: How can I get the ID of a Post as its saved for the first time?

2012-07-27 Thread Timo
If I'm not mistaken the id of the latest saved record is $this-model-id Value of the primary key ID of the record that this model is currently pointing to. Automatically set after database insertions. http://api20.cakephp.org/class/model There's also the two functions getInsertID (

Re: Ajax Pagination only works once (no javascript loaded)

2012-05-08 Thread Timo Respondek
isn't all too elegant, but somehow just having it in my default layout doesn't work. Timo -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions

Re: Ajax Pagination only works once (no javascript loaded)

2012-04-24 Thread Timo Respondek
of the page. Or rather the links should be bound by live() instead of bind(), is there an easy way to do this or, alternatively, can someone kindly point me to a Ajax Pagination example viable for Cake 2.1? Thanks in advance again Timo -- Our newest site for the community: CakePHP Video Tutorials

Ajax Pagination only works once (no javascript loaded)

2012-04-23 Thread Timo
does no javascript (especially no pagination itself) work after one pagination load via ajax? Thanks in advance for any advice Timo -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help

Re: Some Issues: multiple views on one page and help with javascript

2012-04-22 Thread Timo
for any advice, especially since I'm just beginning to learn Cake :) Timo -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from

Re: Some Issues: multiple views on one page and help with javascript

2012-04-18 Thread Timo
or if there is another, better way to do this. I hope that was somewhat intelligible :) Many thanks in advance for any helpful advice Timo -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others

Some Issues: multiple views on one page and help with javascript

2012-04-17 Thread Timo
would have put this in caps but that is just hurting for the eyes. I hope someone can help me and put me on the right way to what I am trying to do :) Kindest regards Timo Attachment: https://lh6.googleusercontent.com/--4enSImYE8U/T40rbqL-DFI/AAk/SNHq3HD_29Q/s1600/example.png

Re: Security issue with Model-save() when adding data (Cake 1.2)

2007-09-04 Thread Timo Derstappen
create() and a whitelist. Don't get me wrong the above sample is just very simplified. Cheers, Timo On 9/4/07, francky06l [EMAIL PROTECTED] wrote: You could also hash your id in an hidden field, and when receiving the form, hash again the id and compare with the hidden hashed field. To trick

Re: Security component and forms

2007-08-14 Thread Timo Derstappen
://www.littlehart.net/atthekeyboard -- Timo Derstappen http://teemow.com mailto:[EMAIL PROTECTED] --~--~-~--~~~---~--~~ 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

Re: Security component and forms

2007-08-14 Thread Timo Derstappen
probably to make searches linkable. On 8/14/07, Chris Hartjes [EMAIL PROTECTED] wrote: On 8/14/07, Timo Derstappen [EMAIL PROTECTED] wrote: I admit that there are very few use cases, but there is one already mentioned by sergerod: searches. Have a look at google's search box. So

Re: MySQL Dump and Restore with Cake

2006-08-17 Thread Timo Derstappen
presence or functionality, but with cake models i've also done some testing against a database. i keep this test database up to date with migrations and usually do some cleanup (truncate) in the setup/teardown methods. greez, timo -- Timo Derstappen http://teemow.com mailto:[EMAIL PROTECTED

Re: Paradigm shift :: Procedural - OO Paterns based development

2006-08-03 Thread TimO
kestrelid, If you set up the model associations correctly, you'll be able to save associations in one transaction. HasMany + HasAndBelongsToMany can both be saved in one cake 'method call'. But this doesn't mean your data is brought back to you by just one query or updated by one. But there's

Multiple form values of the same type

2006-07-26 Thread TimO
Hey i want to add multiple values of the same type to my database. like this: input name=data[Price][value][] input name=data[Price][value][] input name=data[Price][value][] input name=data[Price][value][] My question is, can i achieve this with the following html helper tags?

Mixed up models?

2006-07-20 Thread TimO
I have built a cms and everything worked fine untill today. Somehow, my models get mixed up. When i call $this-Gallery-findAll(); Cake wants to select the table column names from my Content model :S and reverse.. My Content model wants to select columnnames from my Gallery model. My models are

Re: Mixed up models?

2006-07-20 Thread TimO
I found out that this problem only occurs when i use a 'requestAction' Anybody? --~--~-~--~~~---~--~~ 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

Query on a Tree table (id+parent_id)

2006-07-09 Thread TimO
Hey, I have made a query where i want to select a parent and its childs. I want the array to be like the normal cake structure [PARENT] infomation ---[CHILDS] -[0] information -[1] information -[2] information