moving cakephp to a new server
I'm moving a cake php to a windows server but it is not on iis7 When I copied the files over and go to the directory my templates load The only problem is when I try to load my index.php it says page not found What can i try to solve this problem -- 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. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/d/optout.
Moving cake php application to another server
Hello Everyone I'm having trouble with a application When i type the url http://couri2.utep.edu/abstract It returns this error Error: The requested address '/abstract/index.php/abstract' was not found on this server When i try to comment //Configure::write('App.baseUrl', env('SCRIPT_NAME')); and use /.htaccess/app/.htaccess/app/webroot/.htaccess I get blank pages Any tips or solutions? -- 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. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/d/optout.
Ajax Pagination - Highlight Sort and Direction
Hi all, I'm using Cakephp v1.25 and I'm trying to find a way to highlight the sort column and direction when using ajax pagination. On a second note, is it possible to collect sort columns and directions so a user can combine them? thanks in advance. Enrique --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com 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?hl=en -~--~~~~--~~--~--~---
Re: Just baked: Guerra Creativa | Web Design and Logo Contest
Absolutely right, we'll implement that... We have so many plans on how to improve things that's hard to say what to tackle first ;-) Cheers, Enrique On 31 Aug., 04:57, Aivaras faifas1...@gmail.com wrote: Well, you could change links to make them more SEO friendly, for example /portfolio_projects/520/topper-08 would be more effective than /portfolio_projects/view/520, but other stuff looks good! Cheers, Faifas On Mon, Aug 31, 2009 at 01:20, Enrique enrique.jaco...@gmail.com wrote: Thanks a lot! The design was not made by me ;-) I'm just responsible for all the bugs you may find On 30 Aug., 17:14, Aivaras faifas1...@gmail.com wrote: I just love the layout, the site looks great, good job! Faifas On Sun, Aug 30, 2009 at 22:45, Enrique enrique.jaco...@gmail.com wrote: Dear Cake Fans: We can proudly announce our freshly baked site: http://www.guerra-creativa.com (Still Alpha, but already 948 users!) Guerra Creativa is a community platform for the creative. We provide you the battlefield and weaponry to conquer the creative world. Through web design and logo contests, creative soldiers have the opportunity to battle their enemies for monetary prizes! If you feel this announce is SPAM: I always were looking for good Cake- driven sites and I hope you do so too. I plan to release some of the custom Cake components to the public when I have time to compile them in an orderly fashion (with some documentation). Ah, and of course you are invited to join Guerra Creativa! My Base:http://en.alpha.guerra-creativa.com/p/Enrique Happy baking! Enrique --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com 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?hl=en -~--~~~~--~~--~--~---
Just baked: Guerra Creativa | Web Design and Logo Contest
Dear Cake Fans: We can proudly announce our freshly baked site: http://www.guerra-creativa.com (Still Alpha, but already 948 users!) Guerra Creativa is a community platform for the creative. We provide you the battlefield and weaponry to conquer the creative world. Through web design and logo contests, creative soldiers have the opportunity to battle their enemies for monetary prizes! If you feel this announce is SPAM: I always were looking for good Cake- driven sites and I hope you do so too. I plan to release some of the custom Cake components to the public when I have time to compile them in an orderly fashion (with some documentation). Ah, and of course you are invited to join Guerra Creativa! My Base: http://en.alpha.guerra-creativa.com/p/Enrique Happy baking! Enrique --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com 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?hl=en -~--~~~~--~~--~--~---
Re: Just baked: Guerra Creativa | Web Design and Logo Contest
Thanks a lot! The design was not made by me ;-) I'm just responsible for all the bugs you may find On 30 Aug., 17:14, Aivaras faifas1...@gmail.com wrote: I just love the layout, the site looks great, good job! Faifas On Sun, Aug 30, 2009 at 22:45, Enrique enrique.jaco...@gmail.com wrote: Dear Cake Fans: We can proudly announce our freshly baked site: http://www.guerra-creativa.com (Still Alpha, but already 948 users!) Guerra Creativa is a community platform for the creative. We provide you the battlefield and weaponry to conquer the creative world. Through web design and logo contests, creative soldiers have the opportunity to battle their enemies for monetary prizes! If you feel this announce is SPAM: I always were looking for good Cake- driven sites and I hope you do so too. I plan to release some of the custom Cake components to the public when I have time to compile them in an orderly fashion (with some documentation). Ah, and of course you are invited to join Guerra Creativa! My Base:http://en.alpha.guerra-creativa.com/p/Enrique Happy baking! Enrique --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com 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?hl=en -~--~~~~--~~--~--~---
Using mod_rewrite without .htaccess overhead (quick solution)
Hi Cake Fans, just a quick note on how to use CakePHP with mod_rewrite but without the unnecessary .htaccess overhead: http://www.creative-outsourcing.com/cakephp-using-mod_rewrite-without-.htaccess-overhead.html - Enrique --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com 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?hl=en -~--~~~~--~~--~--~---
Re: Using mod_rewrite without .htaccess overhead (quick solution)
I did not do a scientific research study on the performance difference, but in my opinion the only reasons for having .htaccess files are shared hosting and or test / development setups (were quick config changes are common). When disabling .htaccess takes only 5 min I simply don't ask / benchmark the performance gain. Anybody has hard numbers / did benchmarks? On 19 Jul., 17:21, Carlos Lavin carloslavi...@gmail.com wrote: Does anyone know how much this overhead really represents? 2009/7/19 Enrique enrique.jaco...@gmail.com Hi Cake Fans, just a quick note on how to use CakePHP with mod_rewrite but without the unnecessary .htaccess overhead: http://www.creative-outsourcing.com/cakephp-using-mod_rewrite-without... - Enrique --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com 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?hl=en -~--~~~~--~~--~--~---
Re: $model-save - which id is used?
The id can be found in $this-data. $this-data is automatically filled by the submitted form data and the form sends the id with the post data. The action parameter $id is only used to load the model and fill in the form. Hope that answers your question. - Enrique On 8 Mai, 12:18, Jonathan jst...@image.dk wrote: Here is a pretty simple save example from the manual: function edit($id) { if(!empty($this-data)) { if($this-Recipe-save($this-data)) { ... } } } Somehow save knows which Recipe id to update, but we never tell it - and it is not part of $this-data. How does save know it? Regards Jonathan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com 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?hl=en -~--~~~~--~~--~--~---
Re: Update a DIV jQuery
And you should always keep a good Cheatsheet under your pillow: http://www.gscottolson.com/weblog/2008/01/11/jquery-cheat-sheet/ - Enrique On 9 Mai, 17:19, Dave Maharaj :: WidePixels.com d...@widepixels.com wrote: As i drop prototype and move forward with jQuery i need to find replacements for the AJAX i have in my app. How do I update DIV? Originally I had used the update with prototype which ran a function and replaced the div content with the data retrieved from the function. What is the replacement for that with Jquery? Looking thru Google and jquery site but cant seem to find what i would need. Can someone point me in a general direction for the equivalent of prototypes update? Thanks, Dave --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com 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?hl=en -~--~~~~--~~--~--~---
Re: confirm message
The url array is only that: an URL array, i.e. there is no confirm parameter here. What I would do is putting the image in a $html-link() and use it's confirm parameter and disable the HTML escape (to output the image tag correctly). Maybe there is another way, looking at the cake HTML helper source code often helps (how the parameters are passed through) ;-) On 10 Mai, 14:13, Paulos23 paulitosthe...@gmail.com wrote: Hi peeps, Well i am creating some nice crud functionality and i use some images.All working perfect but i have problem with the delete action coz i want a confirm message to appear when user tries to delete.What am i doing wrong?Here is my example code: ?php echo $html-image(delete.png, array(alt = Delete,title=Delete,'url' = array('controller' = 'users', 'action' = 'delete',$user['User']['id'],array(),Are you sure to delete user? )));? The action works fine but no message displayed! Any help would be nice. Ty in advance! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com 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?hl=en -~--~~~~--~~--~--~---
Forms not associated to models - alternative to the Form core helper?
Hi All, The core Form helper works great as long as you have a model behind it, but what about forms that are not related to a model? Is there any helpers that I can use in the view? Or do I just code plain HTML? Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP 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: Forms not associated to models - alternative to the Form core helper?
Thanks Samuel and validkeys. Samuel, very true, I do like extending the functionality of CakePHP, that is probably one of the best ways to go when we need something more custom. This time, I had totally overlooked the regular Form helper methods like text(), password(), etc. Thanks validkeys for pointing this out. I was getting too caught up and spoiled by the input() automagic method, my bad. Using the regular methods works just fine. Thanks! On Aug 26, 11:15 am, validkeys [EMAIL PROTECTED] wrote: Hey Enrique, You could still use the regular forms: ?php echo $form-create('Search',array('url' = '/search','type' = 'get')) ? ?php echo $form-text('query',array('type' = 'textarea')) ? ?php echo $form-end('Search!') ? On Aug 26, 11:45 am, Enrique Delgado [EMAIL PROTECTED] wrote: Hi All, The core Form helper works great as long as you have a model behind it, but what about forms that are not related to a model? Is there any helpers that I can use in the view? Or do I just code plain HTML? Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP 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 -~--~~~~--~~--~--~---