Re: [OFF - Topic] Facebook
Ok sorry .. Someone has already implemented a fan page in jquery? or any site with tutorial? Atenciosamente, Alexsandro André Joinville - SC 47-8825-0133 2011/5/10 Tilen Majerle > English please...!! :) > -- > Lep pozdrav, Tilen Majerle > http://majerle.eu > > > > 2011/5/10 alexsandro andre > >> Boa tarde a todos! >> >> Alguém já implementou jquery em uma fã page? ou algum site com tutorial? >> >> vlw >> >> Atenciosamente, >> >> Alexsandro André >> Joinville - SC >> 47-8825-0133 >> >> -- >> 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 this group, send email to >> cake-php+unsubscr...@googlegroups.com For more options, visit this group >> at http://groups.google.com/group/cake-php >> > > -- > 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 this group, send email to > cake-php+unsubscr...@googlegroups.com For more options, visit this group > at http://groups.google.com/group/cake-php > -- 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 this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: [OFF - Topic] Facebook
English please...!! :) -- Lep pozdrav, Tilen Majerle http://majerle.eu 2011/5/10 alexsandro andre > Boa tarde a todos! > > Alguém já implementou jquery em uma fã page? ou algum site com tutorial? > > vlw > > Atenciosamente, > > Alexsandro André > Joinville - SC > 47-8825-0133 > > -- > 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 this group, send email to > cake-php+unsubscr...@googlegroups.com For more options, visit this group > at http://groups.google.com/group/cake-php > -- 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 this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
[OFF - Topic] Facebook
Boa tarde a todos! Alguém já implementou jquery em uma fã page? ou algum site com tutorial? vlw Atenciosamente, Alexsandro André Joinville - SC 47-8825-0133 -- 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 this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: javascript function toogle not working
Ryan, I'm not SURE what the problem is, but I see your id's are pretty generic. If there's more than one question/answer on the page and the id's aren't unique things can break mysteriously. Don On May 10, 9:46 am, Ryan Schmidt wrote: > On May 10, 2011, at 10:43, varai wrote: > > > The following is a very simple view that should display the answer to > > question when the question is clicked. Otherwise the answer should not > > display. ie. the question is a toogle key. > > Actually, it's a toggle. > > > function toogle_answerDiv() > > { var a=document.getElementById('answerDiv'); > > > if (a.style.display=="block") > > a.style.display="none"; > > else > > a.style.display=="block"; > > } > > The last line should have "=" not "==". -- 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 this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: Alphabet links, eg click A and get all the entries beginning with the letter A
Thanks pal. Will get cracking figuring it out. Thanks a million for the pointers On May 10, 6:24 pm, dreamingmind wrote: > Or maybe you can avoid regular expressions and make your condition > something like this? > > `tile` LIKE "$letter%" > > which i think will find your letter in the first position with stuff > following it. > > Don > > On May 10, 10:21 am, dreamingmind wrote: > > > > > > > > > I don't have time to work out all the details of the syntax right now, > > however this is how I might approach it: > > > // Loop through the ascii values for capital A-Z; > > // And make output a link for each letter > > // Do this in your view > > for ($i = 65; $i < 90; $i++) { > > // chr() documentation -http://us.php.net/manual/en/function.chr.php > > echo $html->link(chr($i), array('action' => 'letter_find', > > chr($i))) , ' - '; > > // This should output the links like this: A - B - C - D - ... > > > } > > > Now in your controller, the action letter_find() is going to get > > called and the letter of interest will be available in the params > > property (http://book.cakephp.org/view/949/Passing-parameters-to- > > action). If my memory of thins is correct, you should be able to get > > to it like this: > > > $letter = $this->params['pass'][0]; > > > Your can take a look at this useful property for yourself by putting > > this in your action: > > > debug($this->params); die; > > > At any rate, you now have the value the user clicked on and you can > > write your find with a regular expression condition to find the proper > > records. I can't do that off the top of my head and I don't have time > > right now to experiment to get it right. But this, and the earlier > > link to writing conditions should help? > > > Regards, > > Don > > > On May 10, 7:59 am, MeatSandwich > > wrote: > > > > Hey, thanks for the response. > > > > I'm reading through the link you sent me but I'm a total neub (not all > > > that familiar with php either!) so having a bit of trouble making > > > sense of what exactly I'm meant to be doing. > > > > I'm I meant to create a link for each letter and then do a query each > > > time someone clicks the link? > > > > If you fancied explaining it is a bit more detail, as if you're > > > talking to a moron (you are) I'd really appreciate it! :) > > > > On May 10, 3:04 pm, dreamingmind wrote: > > > > > Cake will accept regular expressions in your find conditions. That > > > > should make your task pretty easy... as easy as writing regular > > > > expressions :-) > > > > >http://book.cakephp.org/view/1017/Retrieving-Your-Data#Complex-Find-C... > > > > > Regards, > > > > Don > > > > > On May 10, 6:57 am, MeatSandwich > > > > wrote: > > > > > > I have a table which holds the names of loads of charities in the UK. > > > > > > I want to have a page which will allow users to search through these > > > > > charities but there's 1000s of them. I'd like to be able to have the > > > > > alphabet written out A, B, C and so on with each letter a link to all > > > > > the charities beginning with that letter. > > > > > > Whats the best way to go about doing that using cakephp? -- 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 this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: Alphabet links, eg click A and get all the entries beginning with the letter A
Or maybe you can avoid regular expressions and make your condition something like this? `tile` LIKE "$letter%" which i think will find your letter in the first position with stuff following it. Don On May 10, 10:21 am, dreamingmind wrote: > I don't have time to work out all the details of the syntax right now, > however this is how I might approach it: > > // Loop through the ascii values for capital A-Z; > // And make output a link for each letter > // Do this in your view > for ($i = 65; $i < 90; $i++) { > // chr() documentation -http://us.php.net/manual/en/function.chr.php > echo $html->link(chr($i), array('action' => 'letter_find', > chr($i))) , ' - '; > // This should output the links like this: A - B - C - D - ... > > } > > Now in your controller, the action letter_find() is going to get > called and the letter of interest will be available in the params > property (http://book.cakephp.org/view/949/Passing-parameters-to- > action). If my memory of thins is correct, you should be able to get > to it like this: > > $letter = $this->params['pass'][0]; > > Your can take a look at this useful property for yourself by putting > this in your action: > > debug($this->params); die; > > At any rate, you now have the value the user clicked on and you can > write your find with a regular expression condition to find the proper > records. I can't do that off the top of my head and I don't have time > right now to experiment to get it right. But this, and the earlier > link to writing conditions should help? > > Regards, > Don > > On May 10, 7:59 am, MeatSandwich > wrote: > > > > > > > > > Hey, thanks for the response. > > > I'm reading through the link you sent me but I'm a total neub (not all > > that familiar with php either!) so having a bit of trouble making > > sense of what exactly I'm meant to be doing. > > > I'm I meant to create a link for each letter and then do a query each > > time someone clicks the link? > > > If you fancied explaining it is a bit more detail, as if you're > > talking to a moron (you are) I'd really appreciate it! :) > > > On May 10, 3:04 pm, dreamingmind wrote: > > > > Cake will accept regular expressions in your find conditions. That > > > should make your task pretty easy... as easy as writing regular > > > expressions :-) > > > >http://book.cakephp.org/view/1017/Retrieving-Your-Data#Complex-Find-C... > > > > Regards, > > > Don > > > > On May 10, 6:57 am, MeatSandwich > > > wrote: > > > > > I have a table which holds the names of loads of charities in the UK. > > > > > I want to have a page which will allow users to search through these > > > > charities but there's 1000s of them. I'd like to be able to have the > > > > alphabet written out A, B, C and so on with each letter a link to all > > > > the charities beginning with that letter. > > > > > Whats the best way to go about doing that using cakephp? -- 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 this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: Alphabet links, eg click A and get all the entries beginning with the letter A
I don't have time to work out all the details of the syntax right now, however this is how I might approach it: // Loop through the ascii values for capital A-Z; // And make output a link for each letter // Do this in your view for ($i = 65; $i < 90; $i++) { // chr() documentation - http://us.php.net/manual/en/function.chr.php echo $html->link(chr($i), array('action' => 'letter_find', chr($i))) , ' - '; // This should output the links like this: A - B - C - D - ... } Now in your controller, the action letter_find() is going to get called and the letter of interest will be available in the params property (http://book.cakephp.org/view/949/Passing-parameters-to- action). If my memory of thins is correct, you should be able to get to it like this: $letter = $this->params['pass'][0]; Your can take a look at this useful property for yourself by putting this in your action: debug($this->params); die; At any rate, you now have the value the user clicked on and you can write your find with a regular expression condition to find the proper records. I can't do that off the top of my head and I don't have time right now to experiment to get it right. But this, and the earlier link to writing conditions should help? Regards, Don On May 10, 7:59 am, MeatSandwich wrote: > Hey, thanks for the response. > > I'm reading through the link you sent me but I'm a total neub (not all > that familiar with php either!) so having a bit of trouble making > sense of what exactly I'm meant to be doing. > > I'm I meant to create a link for each letter and then do a query each > time someone clicks the link? > > If you fancied explaining it is a bit more detail, as if you're > talking to a moron (you are) I'd really appreciate it! :) > > On May 10, 3:04 pm, dreamingmind wrote: > > > > > > > > > Cake will accept regular expressions in your find conditions. That > > should make your task pretty easy... as easy as writing regular > > expressions :-) > > >http://book.cakephp.org/view/1017/Retrieving-Your-Data#Complex-Find-C... > > > Regards, > > Don > > > On May 10, 6:57 am, MeatSandwich > > wrote: > > > > I have a table which holds the names of loads of charities in the UK. > > > > I want to have a page which will allow users to search through these > > > charities but there's 1000s of them. I'd like to be able to have the > > > alphabet written out A, B, C and so on with each letter a link to all > > > the charities beginning with that letter. > > > > Whats the best way to go about doing that using cakephp? -- 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 this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: javascript function toogle not working
On May 10, 2011, at 10:43, varai wrote: > The following is a very simple view that should display the answer to > question when the question is clicked. Otherwise the answer should not > display. ie. the question is a toogle key. Actually, it's a toggle. > function toogle_answerDiv() > { var a=document.getElementById('answerDiv'); > > if (a.style.display=="block") > a.style.display="none"; > else > a.style.display=="block"; > } The last line should have "=" not "==". -- 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 this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: Need helps from CakePHP baker for my iPhone Game
Xml is a helper used in view not in the controller (your code would output malformed xml); if you build the xml in controller it can only be put as xml in view build vars and set them to the controller; the requesthandler comp may help you also (and setting parse extensions for xml may also be worth your while) if using the requesthandler with parseextensions if( $this->*RequestHandler*->*isXML*() ) { // prevent debug out put as this malforms xml configure::write('debug',0); // now do stuff with $this->data, build & set content var to view ... $this->set('content', $content); } re the Facebook stuff you should check Webtechnick's Facebook Plugin (his Gigya plugin may also be of interest) - S On 10 May 2011 16:45, Weilies Chok wrote: > Item 1 > Controller > function toxml() > { > > echo $this->Xml->elem('count', null, > array('cdata'=>true,'value'=>'content')); > // generates: > > } > > View > > echo $this->Xml->header(); > // generates: > ?> > > > Error > > *Notice* > > (8): Undefined property: PostsController::$Xml [* > APP/controllers/posts_controller.php*, line *80*] > > *Fatal error*: Call to a member function elem() on a non-object in * > /Applications/MAMP/htdocs/cakephp/app/controllers/posts_controller.php* on > line *80* > > > > What is the magic keyword to initiate XML? > > -- > 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 this group, send email to > cake-php+unsubscr...@googlegroups.com For more options, visit this group > at http://groups.google.com/group/cake-php > -- 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 this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: Need helps from CakePHP baker for my iPhone Game
Item 1 Controller function toxml() { echo $this->Xml->elem('count', null, array('cdata'=>true,'value'=>'content')); // generates: } View Xml->header(); // generates: ?> Error *Notice* (8): Undefined property: PostsController::$Xml [* APP/controllers/posts_controller.php*, line *80*] *Fatal error*: Call to a member function elem() on a non-object in * /Applications/MAMP/htdocs/cakephp/app/controllers/posts_controller.php* on line *80* What is the magic keyword to initiate XML? -- 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 this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
javascript function toogle not working
Hi The following is a very simple view that should display the answer to question when the question is clicked. Otherwise the answer should not display. ie. the question is a toogle key. Our Program - Preschool Html->script('faq.js'); ?> Are admissions to Merry Flower's program open throughout the year? Playgroup admissions are open for most part of the year. Admissions to the programs of Nursery, JR KG & SR KG though close by 31st August in that given year. When I try to debug through mozilla's firebug, it is going into toogle_answerDiv() but the answer is not displaying. The following is faq.js function toogle_answerDiv() { var a=document.getElementById('answerDiv'); if (a.style.display=="block") a.style.display="none"; else a.style.display=="block"; } cake.generic.css #questionDiv{ margin:3%; color:#00; font-weight:bold; } #answerDiv{ display:none; color:#66; } Does anyone know on what am I doing wrong? Any help is much appreciated. -- 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 this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: Need helps from CakePHP baker for my iPhone Game
thanks! 1: you have XML library ( http://book.cakephp.org/view/1485/Xml ) and helper ( http://book.cakephp.org/view/1473/XML ) 2: your post data are always available in controller in $this->data variable 3: you will have to check bakery.cakephp.org :) i got item number 2 worked! -- 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 this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: Need helps from CakePHP baker for my iPhone Game
Hi Weilies Chok 1: you have XML library ( http://book.cakephp.org/view/1485/Xml ) and helper ( http://book.cakephp.org/view/1473/XML ) 2: your post data are always available in controller in $this->data variable 3: you will have to check bakery.cakephp.org :) -- Lep pozdrav, Tilen Majerle http://majerle.eu 2011/5/10 Weilies Chok > hi all Cakephp gurus, > > i am an iphone game developer but a nobody in CakePHP. > So, i am sincerely asking for help which to understand a few techniques > before i can continue develop my client/server iPhone game :) > Hope someone can share me some sample code coz i hv trouble googling a > working sample > >1. How can i output the list of result in XML format? >2. I manage to POST my content from my game to server (cakePHP), but >how can i view the posted fields in the controller code? i tried echo >($_REQUEST) but it doesn't help >3. Any available plugin or helper, which allow me to post certain >messages to facebook via cakephp? > > > Thanks for the helps, and happy baking cake! > > -- > 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 this group, send email to > cake-php+unsubscr...@googlegroups.com For more options, visit this group > at http://groups.google.com/group/cake-php > -- 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 this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Need helps from CakePHP baker for my iPhone Game
hi all Cakephp gurus, i am an iphone game developer but a nobody in CakePHP. So, i am sincerely asking for help which to understand a few techniques before i can continue develop my client/server iPhone game :) Hope someone can share me some sample code coz i hv trouble googling a working sample 1. How can i output the list of result in XML format? 2. I manage to POST my content from my game to server (cakePHP), but how can i view the posted fields in the controller code? i tried echo ($_REQUEST) but it doesn't help 3. Any available plugin or helper, which allow me to post certain messages to facebook via cakephp? Thanks for the helps, and happy baking cake! -- 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 this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: Alphabet links, eg click A and get all the entries beginning with the letter A
Hey, thanks for the response. I'm reading through the link you sent me but I'm a total neub (not all that familiar with php either!) so having a bit of trouble making sense of what exactly I'm meant to be doing. I'm I meant to create a link for each letter and then do a query each time someone clicks the link? If you fancied explaining it is a bit more detail, as if you're talking to a moron (you are) I'd really appreciate it! :) On May 10, 3:04 pm, dreamingmind wrote: > Cake will accept regular expressions in your find conditions. That > should make your task pretty easy... as easy as writing regular > expressions :-) > > http://book.cakephp.org/view/1017/Retrieving-Your-Data#Complex-Find-C... > > Regards, > Don > > On May 10, 6:57 am, MeatSandwich > wrote: > > > > > > > > > I have a table which holds the names of loads of charities in the UK. > > > I want to have a page which will allow users to search through these > > charities but there's 1000s of them. I'd like to be able to have the > > alphabet written out A, B, C and so on with each letter a link to all > > the charities beginning with that letter. > > > Whats the best way to go about doing that using cakephp? -- 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 this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: Alphabet links, eg click A and get all the entries beginning with the letter A
Cake will accept regular expressions in your find conditions. That should make your task pretty easy... as easy as writing regular expressions :-) http://book.cakephp.org/view/1017/Retrieving-Your-Data#Complex-Find-Conditions-1030 Regards, Don On May 10, 6:57 am, MeatSandwich wrote: > I have a table which holds the names of loads of charities in the UK. > > I want to have a page which will allow users to search through these > charities but there's 1000s of them. I'd like to be able to have the > alphabet written out A, B, C and so on with each letter a link to all > the charities beginning with that letter. > > Whats the best way to go about doing that using cakephp? -- 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 this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: Form helper suppresses attributes of hidden fields?
Thanks, I'll work around it then. Regards, Don On May 10, 1:38 am, euromark wrote: > there has been filed a ticket for a similar > subject:http://cakephp.lighthouseapp.com/projects/42648/tickets/1124-hidden-i... > probably fixed in 2.0, though > > On 10 Mai, 07:33, Tilen Majerle wrote: > > > > > > > > > try with $this->Form->{$type}('name', array('attributes')); > > -- > > Lep pozdrav, Tilen Majerlehttp://majerle.eu > > > 2011/5/10 dreamingmind > > > > And changing to the use of the Form helper's input() method isn't a > > > clear fix: > > > > echo $form->hidden('ImageImgFileBatch', array( > > > 'value' => 1, > > > 'name' => 'data[Image][img_file][batch][]', > > > 'id' => null, > > > 'class' => 'batch' > > > )); > > > > Still produces: > > > > > > > > Regards, > > > Don > > > > On May 9, 9:18 pm, dreamingmind wrote: > > > > Any insight into this strange outcome? > > > > > $type = 'hidden'; > > > > echo $form->input('ImageImgFileBatch', array( > > > > 'value' => 1, > > > > 'name' => 'data[Image][img_file][batch][]', > > > > 'id' => null, > > > > 'class' => 'batch', > > > > 'type' => $type > > > > )); > > > > > produces this html: > > > > > > > > class=" "> > > > > > While, simply changing the value of $type: > > > > > $type = 'text'; > > > > echo $form->input('ImageImgFileBatch', array( > > > > 'value' => 1, > > > > 'name' => 'data[Image][img_file][batch][]', > > > > 'id' => null, > > > > 'class' => 'batch', > > > > 'type' => $type > > > > )); > > > > > Produces this html: > > > > > > > > > Image Img File Batch > > > > > > > > > > > > > Any insight into this Form helper behavior and how to get the > > > > attributes to remain in hidden fields (other than hiding them with > > > > javascript)? > > > > > Regards, > > > > Don > > > > -- > > > Our newest site for the community: CakePHP Video Tutorials > > >http://tv.cakephp.org > > > Check out the new CakePHP Questions sitehttp://ask.cakephp.organdhelp > > > others with their CakePHP related questions. > > > > To unsubscribe from this group, send email to > > > cake-php+unsubscr...@googlegroups.com For more options, visit this group > > > athttp://groups.google.com/group/cake-php -- 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 this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Alphabet links, eg click A and get all the entries beginning with the letter A
I have a table which holds the names of loads of charities in the UK. I want to have a page which will allow users to search through these charities but there's 1000s of them. I'd like to be able to have the alphabet written out A, B, C and so on with each letter a link to all the charities beginning with that letter. Whats the best way to go about doing that using cakephp? -- 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 this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Fatal error: Access level to XmlrpcSource::$_baseConfig must be public
I'm trying to get up the xmlrmpc datasource. https://github.com/cakephp/datasources It fails with "Fatal error: Access level to XmlrpcSource::$_baseConfig must be public (as in class DataSource)". Can somebody help? Is there a doc or tutorial i missed? -- 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 this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: [OOT] want to know USD 1 Million must be paid for website ?
lol :)) Im not sure the developer get that much money :D. On Tue, May 10, 2011 at 6:00 PM, wahyu setianto wrote: > Check this http://www.dpr.go.id , i just laugh for hear it . USD 1 million , > it's about 8.6 billion Rupiah > > -- > 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 this group, send email to > cake-php+unsubscr...@googlegroups.com For more options, visit this group at > http://groups.google.com/group/cake-php > -- Mufti Ali http://blogfreakz.com http://kriuq.com -- 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 this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
[OOT] want to know USD 1 Million must be paid for website ?
Check this http://www.dpr.go.id , i just laugh for hear it . USD 1 million , it's about 8.6 billion Rupiah -- 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 this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
cakephp and windows azure
how can i get my info details from windows azure account by using cakephp? is there a plugins for that? thank you -- 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 this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: Form helper suppresses attributes of hidden fields?
there has been filed a ticket for a similar subject: http://cakephp.lighthouseapp.com/projects/42648/tickets/1124-hidden-input-fields-ignores-class-parameter probably fixed in 2.0, though On 10 Mai, 07:33, Tilen Majerle wrote: > try with $this->Form->{$type}('name', array('attributes')); > -- > Lep pozdrav, Tilen Majerlehttp://majerle.eu > > 2011/5/10 dreamingmind > > > > > > > > > And changing to the use of the Form helper's input() method isn't a > > clear fix: > > > echo $form->hidden('ImageImgFileBatch', array( > > 'value' => 1, > > 'name' => 'data[Image][img_file][batch][]', > > 'id' => null, > > 'class' => 'batch' > > )); > > > Still produces: > > > > > > Regards, > > Don > > > On May 9, 9:18 pm, dreamingmind wrote: > > > Any insight into this strange outcome? > > > > $type = 'hidden'; > > > echo $form->input('ImageImgFileBatch', array( > > > 'value' => 1, > > > 'name' => 'data[Image][img_file][batch][]', > > > 'id' => null, > > > 'class' => 'batch', > > > 'type' => $type > > > )); > > > > produces this html: > > > > > > class=" "> > > > > While, simply changing the value of $type: > > > > $type = 'text'; > > > echo $form->input('ImageImgFileBatch', array( > > > 'value' => 1, > > > 'name' => 'data[Image][img_file][batch][]', > > > 'id' => null, > > > 'class' => 'batch', > > > 'type' => $type > > > )); > > > > Produces this html: > > > > > > > Image Img File Batch > > > > > > > > > > Any insight into this Form helper behavior and how to get the > > > attributes to remain in hidden fields (other than hiding them with > > > javascript)? > > > > Regards, > > > Don > > > -- > > Our newest site for the community: CakePHP Video Tutorials > >http://tv.cakephp.org > > Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help > > others with their CakePHP related questions. > > > To unsubscribe from this group, send email to > > cake-php+unsubscr...@googlegroups.com For more options, visit this group > > athttp://groups.google.com/group/cake-php -- 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 this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: TDD in CakePHP
I would assume you'll have to rewrite your tests, but who knows. Anything could happen by the time CakePHP 2 is released. On May 10, 2011, at 02:08, DerekGardiner wrote: > Will cake 2.0 come with a bake like script to convert current test > cases to the new format? Or will we have to re-write them when > upgrading from cake 1.*.* to cake 2.* -- 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 this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: TDD in CakePHP
Will cake 2.0 come with a bake like script to convert current test cases to the new format? Or will we have to re-write them when upgrading from cake 1.*.* to cake 2.* On May 9, 4:29 pm, José Lorenzo wrote: > Yes, Cake 2.0 introduces a new ControllerTestCase class which provide > very convenient methods for generating controller Mocks and a very > much improved testAction() method to tes a complete dispatch cycle. > > On May 8, 1:52 pm, DerekGardiner wrote: > > > > > > > > > Are there going to be changes to the way cake tests their controllers > > in cake 2.0? Will they solve the navigation issue where you can't test > > a controller that redirects? > > > On May 6, 10:02 am, "Daniel S. Reichenbach" > > wrote: > > > > Greetings, > > > > > Does anyone do TDD in Cake? Do you have any recommendation or > > > > something helpful to start with this practice? > > > > test-driven development with CakePHP is worth the effort. For starters, > > > have a look e.g. in the test suite included with CakePHP, which can be > > > found in the `cake/tests/` directory ([see here][1]). > > > > If you do want to write tests for CakePHP 1.3.x, you will need to grab > > > [SimpleTest][2] and extract it into your vendor directory. > > > > For CakePHP 2.0.x, [PHPUnit][3] is used to write tests. I'd recommend > > > to peek into the 2.0 branch on github, which comes with [tests][4] as > > > well. > > > > An example for plugins and tests would probably be the debug kit, as > > > it comes with [batteries included][5], too. > > > > Try defining your test cases, groups, etc. before you build the actual > > > application, and not after the app is done. :) > > > > [1]:https://github.com/cakephp/cakephp/tree/master/cake/tests > > > [2]:http://simpletest.org/ > > > [3]:http://phpunit.de/ > > > [4]:https://github.com/cakephp/cakephp/tree/2.0/lib/Cake/tests > > > [5]:https://github.com/cakephp/debug_kit > > > -- > > > [kogito](http://kogitoapp.com) - nerds available for awesome projects > > > > kogito Anwendungsentwicklung bra...@kogitoapp.com > > > c/o Daniel S. Reichenbach phone: +49 6462 915060 > > > Auf dem Würtenberg 33 mobile: +49 160 96311159 > > > 35075 Gladenbach, Germany -- 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 this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php