CakePHP blogs
My fellow bakers, Does anyone hold a list of CakePHP related blogs? We should build something like this and possibly include it on the bakery, what do you think? -MI --- Remember, smart coders answer ten questions for every question they ask. So be smart, be cool, and share your knowledge. BAKE ON! --~--~-~--~~~---~--~~ 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: CakePHP blogs
Hi Mariano, I have such a list in my blog: http://cakebaker.42dh.com/cakephp-resources -- Daniel Hofstetter http://cakebaker.42dh.com --~--~-~--~~~---~--~~ 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: CakePHP blogs
On 12/20/06, Mariano Iglesias [EMAIL PROTECTED] wrote: My fellow bakers, Does anyone hold a list of CakePHP related blogs? We should build something like this and possibly include it on the bakery, what do you think? There's one at LiveJournal: http://community.livejournal.com/cakephp/ I think there is another one out there but I forgot the URL. I think it would be great if the bakery provided something like Technorati but only for blogs with CakePHP-related content. -- _nimrod_a_abing_ [?] http://abing.gotdns.com --~--~-~--~~~---~--~~ 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: How do i change default home page?
I'm also a newbie trying to do the same thing. I couldn't get it to work until I realised that the model name in $uses needs to be Uppercase e.g. class HomesController extends AppController { var $name = 'Homes'; var $uses = array('Exhibition'); function index() { $this-set('title', 'My New Home Page'); $this-set('exhibitions', $this-Exhibition-findAll()); } } Hope this save someone a few minutes... --~--~-~--~~~---~--~~ 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: CakePHP blogs
On 12/20/06, Mariano Iglesias [EMAIL PROTECTED] wrote: My fellow bakers, Does anyone hold a list of CakePHP related blogs? We should build something like this and possibly include it on the bakery, what do you think? http://www.thinkingphp.org/cakenews/ I usually include the top articles listed here in my daily reading... HTH Tarique -- = PHP Applications for E-Biz: http://www.sanisoft.com Coppermine Picture Gallery: http://coppermine.sf.net = --~--~-~--~~~---~--~~ 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: CakePHP blogs
i think the 'read' list on http://www.cakephp.org/ is a really good place for such a list. maybe it should g feature a 'more...' link linking to a page with a longer resources list... Tijs Mariano Iglesias wrote: My fellow bakers, Does anyone hold a list of CakePHP related blogs? We should build something like this and possibly include it on the bakery, what do you think? -MI --- Remember, smart coders answer ten questions for every question they ask. So be smart, be cool, and share your knowledge. BAKE ON! -- View this message in context: http://www.nabble.com/CakePHP-blogs-tf2858661.html#a7987486 Sent from the CakePHP mailing list archive at Nabble.com. --~--~-~--~~~---~--~~ 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: Filtering HABTM associations using columns in both models
Hi, For a HABTM you would/could do the following: 1) Create a model for the join table. 2) bindModel a dummy hasOne association for the join table before you search 3) use a constraint that refers to the main model and the join table(not the other model) Working E.g. $this-Post-bindModel(array('hasOne'=array('PostsTag'=array(; $constraint['Post.published'] = ' '.date('Y-m-d H:i:s'); $constraint['PostsTag.tag_id'] = $tagId; // or pass an array to genereate IN (1,2,3..) in the sql. $this-Post-findAll($constraint); woah, lovely, elegant solution there, and nice explanation, cheers andy, will be using this technique a lot me thinks! cheers, jon -- jon bennett t: +44 (0) 1225 341 039 w: http://www.jben.net/ iChat (AIM): jbendotnet Skype: jon-bennett --~--~-~--~~~---~--~~ 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: Ajax, controller and good practice
in your case: $this-layout = 'ajax'; $this-render( 'ajax_index' ); or simply $this-render( 'ajax_index' , 'ajax' ); but remember... you must have ajax.thtml layout with only one line ?= $content_for_layout? and another thing... you can't just copy and paste index.thtml into ajax_index.thtml because when you are updating div id=updateme in index.thtml it will update that div with the same view .. so you will have ...div id=updateme... div id=updateme.../div .../div... --~--~-~--~~~---~--~~ 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: Ajax, controller and good practice
in your case: $this-layout = 'ajax'; $this-render( 'ajax_index' ); Ok, as I said above, I tried this. When I do, I get a missing view error. or simply $this-render( 'ajax_index' , 'ajax' ); I tried this, too. Same error. but remember... you must have ajax.thtml layout with only one line ?= $content_for_layout? I have that file in my layouts directory. I'm not getting a missing layout error, I'm getting a missing view error. For whatever reason, it's not finding my 'ajax_index.thtml' file in my view/users directory. and another thing... you can't just copy and paste index.thtml into ajax_index.thtml because when you are updating div id=updateme in index.thtml it will update that div with the same view .. so you will have ...div id=updateme... div id=updateme.../div .../div... I didn't copy and paste the entire contents of index.thtml. As I said above, I just copied and pasted the *table* that displays the users. All of the rest of it, the description of the page, instructions, etc, are all still in index.thtml. When the error dumps out, this is (an excerpt of) what I am getting: [controller] = Users [action] = ajax_index [file] = /path/to/webroot/views/users/ajax_index.thtml [userTheme] = Vtes [userLoggedIn] = No [userRole] = anon And here is the contents of my /views/users directory: add.thtml ajax_index.thml edit.thtml index.thtml login.thtml remindpassword.thtml view.thtml thnx, Christoph --~--~-~--~~~---~--~~ 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: Filtering HABTM associations using columns in both models
I might be daft but in these cases plain old SQL isn't all that bad is it... $posts = $this-Post-query(SELECT DISTINCT Post.title, Post.body FROM posts as Post LEFT JOIN posts_tags as pt ON Post.id = pt.post_id LEFT JOIN tags as Tag ON Tag.id = pt.tag_id WHERE Tag.id = '$id' AND Post.published NOW()); I haven't tested the actual SQL but something like that should work like a charm and the result would be a Cake compatible array. SQL != evil :) Tijs AD7six wrote: On Dec 19, 12:44 pm, Jon Bennett [EMAIL PROTECTED] wrote: Anyone has suggestions for this on? I'm having similar problems.hmm, I don't think you can with a vanilla HABTM, you need to fake it by creating a hasMany and belongsTo association with a JoinTable model, check out: http://www.thinkingphp.org/2006/10/26/modeling-relationships-in-cakep... hth jb -- jon bennett t: +44 (0) 1225 341 039 w:http://www.jben.net/ iChat (AIM): jbendotnet Skype: jon-bennett Hi All, With a bit of trickery, this problem is not very difficult to solve. If the following explanation isn't sufficient I'll put some examples on my blog (or maybe I'll do that anyway). To perform a search with a constraint in 2 models(tables) you need the two tables to be JOINed together. Key fact to bear in mind: JOINs only appear in the sql for hasOne or belongsTo associations. For a HABTM you would/could do the following: 1) Create a model for the join table. 2) bindModel a dummy hasOne association for the join table before you search 3) use a constraint that refers to the main model and the join table(not the other model) Working E.g. $this-Post-bindModel(array('hasOne'=array('PostsTag'=array(; $constraint['Post.published'] = ' '.date('Y-m-d H:i:s'); $constraint['PostsTag.tag_id'] = $tagId; // or pass an array to genereate IN (1,2,3..) in the sql. $this-Post-findAll($constraint); 1 caveat: If you get, or are at risk of getting, duplicate entries (IN(1,2,3..)), add DISTINCT to the main models id field in the field list (2nd findAll parameter) like so: $fields = array('DISTINCT id','body','published', etc.) HTH, AD7six Please note: The manual/bakery is a good place to start any quest for info. The cake search (at the time of writing) erroneously reports less/no results for the google group. The wiki may contain incorrect info - read at your own risk (it's mainly user submitted) :) You may get your answer quicker by asking on the IRC Channel (you can access it with just a browser here:http://irc.cakephp.org). -- View this message in context: http://www.nabble.com/Filtering-HABTM-associations-using-columns-in-both-models-tf2699228.html#a7988173 Sent from the CakePHP mailing list archive at Nabble.com. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
ACL for data
I think this is could be a little weird but is what the client require. I have to develop a ckae application wich is going to be used by a lot of differents users, I can't control what can or can't do each user with ACL, but I also want to what data to be used depending of the user. It have to be something similar to a blog where each user belongs to a subgroup and each subgroup belongs to a group, and there are some users that are admin of that group. In this way end users only could work with their subgroup posts, but the admins could work all the posts of their group. So I think my associations have to be something like this: user $belongsTo subgroup posts $belongsTo subgroup group $hasMany subgroups subgroup $hasMany users subgroup $hasMany posts subgroup $belongsTo group group $hasMany admin Waht do you think? Do I have to use a separate table for admins or can I have a field in the user table and then use a fake association using $conditions? --~--~-~--~~~---~--~~ 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: CakePHP blogs
Hopefully people will post links to good articles on this group ;) --~--~-~--~~~---~--~~ 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: Filtering HABTM associations using columns in both models
On Dec 20, 12:03 pm, Tijs Teulings [EMAIL PROTECTED] wrote: I might be daft but in these cases plain old SQL isn't all that bad is it... $posts = $this-Post-query(SELECT DISTINCT Post.title, Post.body FROM posts as Post LEFT JOIN posts_tags as pt ON Post.id = pt.post_id LEFT JOIN tags as Tag ON Tag.id = pt.tag_id WHERE Tag.id = '$id' AND Post.published NOW()); I haven't tested the actual SQL but something like that should work like a charm and the result would be a Cake compatible array. SQL != evil :) Tijs SQL certainly isn't evil :) However if you use query you lose any afterFind, beforeFind stuff plus no ability to modify the recursiveness of the results (because there can be no recursive model fetching behavior if you use query). That's leaving aside that insecure sql is easy to write with query, whereas with cake calls it's very much more difficult to do so and if it's not just a select you'ld lose the validation, afterSave, beforeSave, afterDelete, beforeDelete stuff too. HTH, AD7six Please note: The manual/bakery is a good place to start any quest for info. The cake search (at the time of writing) erroneously reports less/no results for the google group. The wiki may contain incorrect info - read at your own risk (it's mainly user submitted) :) You may get your answer quicker by asking on the IRC Channel (you can access it with just a browser here:http://irc.cakephp.org). --~--~-~--~~~---~--~~ 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: Filtering HABTM associations using columns in both models
Yikes, i never knew... i thought (most of) those things would work fine with query(). thanks for the enlightenment. tijs AD7six wrote: On Dec 20, 12:03 pm, Tijs Teulings [EMAIL PROTECTED] wrote: I might be daft but in these cases plain old SQL isn't all that bad is it... SQL certainly isn't evil :) However if you use query you lose any afterFind, beforeFind stuff plus no ability to modify the recursiveness of the results (because there can be no recursive model fetching behavior if you use query). That's leaving aside that insecure sql is easy to write with query, whereas with cake calls it's very much more difficult to do so and if it's not just a select you'ld lose the validation, afterSave, beforeSave, afterDelete, beforeDelete stuff too. HTH, AD7six Please note: The manual/bakery is a good place to start any quest for info. The cake search (at the time of writing) erroneously reports less/no results for the google group. The wiki may contain incorrect info - read at your own risk (it's mainly user submitted) :) You may get your answer quicker by asking on the IRC Channel (you can access it with just a browser here:http://irc.cakephp.org). -- View this message in context: http://www.nabble.com/Filtering-HABTM-associations-using-columns-in-both-models-tf2699228.html#a7989908 Sent from the CakePHP mailing list archive at Nabble.com. --~--~-~--~~~---~--~~ 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: ACL for data
On Dec 20, 1:12 pm, Javier Ramirez Molina [EMAIL PROTECTED] wrote: I think this is could be a little weird but is what the client require. I have to develop a ckae application wich is going to be used by a lot of differents users, I can't control what can or can't do each user with ACL, but I also want to what data to be used depending of the user. It have to be something similar to a blog where each user belongs to a subgroup and each subgroup belongs to a group, and there are some users that are admin of that group. In this way end users only could work with their subgroup posts, but the admins could work all the posts of their group. So I think my associations have to be something like this: user $belongsTo subgroup posts $belongsTo subgroup group $hasMany subgroups subgroup $hasMany users subgroup $hasMany posts subgroup $belongsTo group group $hasMany admin Waht do you think? Do I have to use a separate table for admins or can I have a field in the user table and then use a fake association using $conditions? Hi Javier, Does a group and subgroup have any properties of itself (a group has a name, a membership limit, etc.), or are you describing AXO Groups (meaning they are just a way to describe hierachy). If they are models, is a subgroup any different in structure than a group? if not, it´s just a 'group' with a self referencing association (Group belongsTo Parent, hasMany Children) Anyway, how about: User hasMany Association Association belongsTo User, Group Group hasMany Association Group hasOne Parent Group hasMany Children The User-Association-Group relationship is basically HABTM with type. Meaning: User-(isAdmin)-Group 1, User -(isUser)-Group 2 etc. If a user can be part of more than one group (which the above code I have suggested would permit) you will have the problem of potential ambiguity in your ACL rules, as to allow a user to appear in more than one place in the ARO tree you would need to adjust your checks to loop on an aro derived from the User and/or Association rather than the username. More on that if appropriate. HTH, AD7six Please note: The manual/bakery is a good place to start any quest for info. The cake search (at the time of writing) erroneously reports less/no results for the google group. The wiki may contain incorrect info - read at your own risk (it's mainly user submitted) :) You may get your answer quicker by asking on the IRC Channel (you can access it with just a browser here:http://irc.cakephp.org). --~--~-~--~~~---~--~~ 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: Errors in the View
Your link to the view is the same as the Product model On 12/19/06, leamas [EMAIL PROTECTED] wrote: You can view the files at: HolidaysController: http://bin.cakephp.org/saved/1308 ProductsController: http://bin.cakephp.org/saved/1309 Holiday Model: http://bin.cakephp.org/saved/1310 Product Model: http://bin.cakephp.org/saved/1311 Christmas.thtml: http://bin.cakephp.org/saved/1312 There are the files that I have been using. As for the code in Christmas.thtml, I forgot to update it with $data['Product'].So, if you go to: http://www.decorbee.com/app/Holidays/christmas, you will see the outcome that I get. -- == S. DeVore (the old fart) the advice is free, the lack of crankiness will cost you --~--~-~--~~~---~--~~ 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: Ajax, controller and good practice
ajax_index.thml Ok, I'm retarded. It would be nice if I named the files correctly... :p Now that I have, it's working as expected. thnx, Christoph --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Mod_rewrite on Windows XP
I have tried just about everything, but cannot get mod_rewrite working on my windows XP , WAMP devlopment environment. This is what has been done so far: In C:\Program Files\Apache Group\Apache\conf\httd.conf: === 1. Changed: -- FROM: AllowOverride None TO: AllowOverride All in every place it occurs in the file. 2. Uncommented - LoadModule rewrite_module modules/mod_rewrite.so and AddModule mod_rewrite.c In .htaccess of base cake directory, I added the rule: RewriteBase /cake/ With all of the above, I still can't get mod_rewrite working. Any suggestions ? Thanks. --~--~-~--~~~---~--~~ 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: Filtering HABTM associations using columns in both models
On 12/20/06, AD7six [EMAIL PROTECTED] wrote: On Dec 20, 12:03 pm, Tijs Teulings [EMAIL PROTECTED] wrote: I might be daft but in these cases plain old SQL isn't all that bad is it... $posts = $this-Post-query(SELECT DISTINCT Post.title, Post.body FROM posts as Post LEFT JOIN posts_tags as pt ON Post.id = pt.post_id LEFT JOIN tags as Tag ON Tag.id = pt.tag_id WHERE Tag.id = '$id' AND Post.published NOW()); I haven't tested the actual SQL but something like that should work like a charm and the result would be a Cake compatible array. SQL != evil :) Tijs SQL certainly isn't evil :) However if you use query you lose any afterFind, beforeFind stuff plus no ability to modify the recursiveness of the results (because there can be no recursive model fetching behavior if you use query). Which makes an excellent case for beforeQuery and afterQuery OTOH if you use a query it is assumed that you are #1 aware as to what you are doing #2 doing it at your own risk. Cheers Tarique -- = PHP Applications for E-Biz: http://www.sanisoft.com Coppermine Picture Gallery: http://coppermine.sf.net = --~--~-~--~~~---~--~~ 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: CakePHP blogs
Felix, are you around? Because on the page Tarique included you have some notices and warnings: Notice: Undefined index: Items in /www/htdocs/w00645aa/cakenews/app/models/rss.php on line 40 Notice: Undefined index: Items in /www/htdocs/w00645aa/cakenews/app/models/rss.php on line 42 Warning: array_slice(): The first argument should be an array in /www/htdocs/w00645aa/cakenews/app/models/rss.php on line 42 Warning: Invalid argument supplied for foreach() in /www/htdocs/w00645aa/cakenews/app/controllers/cakenews_controller.php on line 99 Interesting resource, though. Thanks for sharing. -MI --- Remember, smart coders answer ten questions for every question they ask. So be smart, be cool, and share your knowledge. BAKE ON! -Mensaje original- De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre de Dr. Tarique Sani Enviado el: Miércoles, 20 de Diciembre de 2006 07:04 a.m. Para: cake-php@googlegroups.com Asunto: Re: CakePHP blogs http://www.thinkingphp.org/cakenews/ I usually include the top articles listed here in my daily reading... --~--~-~--~~~---~--~~ 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: CakePHP blogs
They do :) Good articles should have their place on the bakery, though. But I was talking more about the necessity of having a central place where to look for CakePHP related blogs. I've seen some lists people included on this thread and though they are all cool, they share the same dilemma: each one has different blogs and by no means include most of the blogs that are out there. So I think it's a nice idea to start organizing and aggregating a list so other bakers can quickly browse through the different blogs available. I've just opened a cakephp account on technorati and will start adding blogs to it. However I also believe the bakery could include a list to these blogs. Let's see what we can build. -MI --- Remember, smart coders answer ten questions for every question they ask. So be smart, be cool, and share your knowledge. BAKE ON! -Mensaje original- De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre de anselm Enviado el: Miércoles, 20 de Diciembre de 2006 09:21 a.m. Para: Cake PHP Asunto: Re: CakePHP blogs Hopefully people will post links to good articles on this group ;) --~--~-~--~~~---~--~~ 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: CakePHP blogs
Hmm, Sosa's feed seems to be dead and causing the issue. I'll see if I can find some time to fix soon. -- Felix -- http://www.thinkingphp.org http://www.fg-webdesign.de Mariano Iglesias wrote: Felix, are you around? Because on the page Tarique included you have some notices and warnings: Notice: Undefined index: Items in /www/htdocs/w00645aa/cakenews/app/models/rss.php on line 40 Notice: Undefined index: Items in /www/htdocs/w00645aa/cakenews/app/models/rss.php on line 42 Warning: array_slice(): The first argument should be an array in /www/htdocs/w00645aa/cakenews/app/models/rss.php on line 42 Warning: Invalid argument supplied for foreach() in /www/htdocs/w00645aa/cakenews/app/controllers/cakenews_controller.php on line 99 Interesting resource, though. Thanks for sharing. -MI --- Remember, smart coders answer ten questions for every question they ask. So be smart, be cool, and share your knowledge. BAKE ON! -Mensaje original- De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre de Dr. Tarique Sani Enviado el: Miércoles, 20 de Diciembre de 2006 07:04 a.m. Para: cake-php@googlegroups.com Asunto: Re: CakePHP blogs http://www.thinkingphp.org/cakenews/ I usually include the top articles listed here in my daily reading... --~--~-~--~~~---~--~~ 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: CakePHP blogs
What about somebody making a bloglines folder and share it? -- http://www.thinkingphp.org http://www.fg-webdesign.de Mariano Iglesias wrote: They do :) Good articles should have their place on the bakery, though. But I was talking more about the necessity of having a central place where to look for CakePHP related blogs. I've seen some lists people included on this thread and though they are all cool, they share the same dilemma: each one has different blogs and by no means include most of the blogs that are out there. So I think it's a nice idea to start organizing and aggregating a list so other bakers can quickly browse through the different blogs available. I've just opened a cakephp account on technorati and will start adding blogs to it. However I also believe the bakery could include a list to these blogs. Let's see what we can build. -MI --- Remember, smart coders answer ten questions for every question they ask. So be smart, be cool, and share your knowledge. BAKE ON! -Mensaje original- De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre de anselm Enviado el: Miércoles, 20 de Diciembre de 2006 09:21 a.m. Para: Cake PHP Asunto: Re: CakePHP blogs Hopefully people will post links to good articles on this group ;) --~--~-~--~~~---~--~~ 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: CakePHP blogs
Doing that -MI --- Remember, smart coders answer ten questions for every question they ask. So be smart, be cool, and share your knowledge. BAKE ON! De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre de Felix Geisend�rfer Enviado el: Mi�rcoles, 20 de Diciembre de 2006 12:19 p.m. Para: cake-php@googlegroups.com Asunto: Re: CakePHP blogs What about somebody making a bloglines folder and share it? --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Session-flash() and history.back
According to the documentation in http://wiki.cakephp.org/tutorials:flashing I made a site using flashing to give messages or alerts to users. It works ok, but the problem is comes when the user goes back (through the browser's back button) and goes forward (also through the browser's button), the message comes again. I tried removing the div from the DOM object via js after showing the message but it has the same efect, the message going back and forward, it cames again I also try deleting the session variable with no effect in my layout if ($this-controller-Session-check('Message.flash')) { $this-controller-Session-flash(); $this-controller-Session-del('Message.flash'); } Does some one know how to solve this problem, how to show ONLY ONCE the flash message using back and forward button of the browser. Regards MARTIN PD: this way of doing $this-controller-Session-flash(); in the layout does not work with the last version of framework. --~--~-~--~~~---~--~~ 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: Populating Pulldowns in forms
That worked beautifully, thank you. On Dec 19, 7:45 pm, Samuel DeVore [EMAIL PROTECTED] wrote: $this-set('manufacturersArray',$this-Product-Manufacturer-generateList()); On 12/19/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hey, I'm pretty new to CakePHP and had a question: I have two tables, Products and Manufacturers, and products has a foreign key that joins them. I wanted to have a select tag that maps to Products to put the value in the foreign key field, but that pulls the name and id from manufacturers for the display. Any idea how to accomplish this?-- == S. DeVore (the old fart) the advice is free, the lack of crankiness will cost you --~--~-~--~~~---~--~~ 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: Mod_rewrite on Windows XP
Hi, Did you restart Apache after making the changes to your httpd.conf? You need to restart Apache everytime you make any changes to httpd.conf or the files it includes with the Include directive. Changing stuff in .htaccess does not require that you restart Apache. On 12/20/06, keymaster [EMAIL PROTECTED] wrote: I have tried just about everything, but cannot get mod_rewrite working on my windows XP , WAMP devlopment environment. This is what has been done so far: In C:\Program Files\Apache Group\Apache\conf\httd.conf: === 1. Changed: -- FROM: AllowOverride None TO: AllowOverride All in every place it occurs in the file. 2. Uncommented - LoadModule rewrite_module modules/mod_rewrite.so and AddModule mod_rewrite.c In .htaccess of base cake directory, I added the rule: RewriteBase /cake/ With all of the above, I still can't get mod_rewrite working. Any suggestions ? Thanks. -- _nimrod_a_abing_ [?] http://abing.gotdns.com --~--~-~--~~~---~--~~ 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: Mod_rewrite on Windows XP
...or download appserv WAMP and uncomment mod_rewrite. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
observeField and select drop down problem
I'm using smarty in conjunction with cakephp. I am able to successfully observe my select field and pass the desired value to the controller. The problem I am having is that the observeField function submits the value as soon as the mouse is moved over the new value, and before the user actually clicks on it. Here is the code that I am using: td form id=numrepairform name=numrepairform method=post action=/jobs/repairsRequested class=noattrib select id=Co_timeperiod name=Co_timeperiod option value=Select Period/option option value=YTDYear To Date/option option value=MTDMonth To Date/option option value=YSTYesterday/option option value=TDYToday/option option value=LSYLast Year/option /select {assign_assoc var=ajaxattrib value=url=/jobs/repairsRequested, with=document.numrepairform.Co_timeperiod.options[element.selectedIndex], update=Co_staticrepairnum} {$ajax-observeField('Co_timeperiod', $ajaxattrib)} /form /td tdspan id=Co_staticrepairnum[YTD #]/span/td Any ideas as to how I can prevent it from submitting the value until the user actually clicks on it? Thanks for your help. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Looking for downloable doc
Hi every: I've been working with CI since a while and now I try to test CakePHP for make a simple comparison. Right now I have a doubt: exists any way for download all the documentation as PDF or CHM or maybe an entire .html page? Cheers and thanks in advance -- Salu2 ReynierPM | 5to. Ing Informática --~--~-~--~~~---~--~~ 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: Looking for downloable doc
On Dec 20, 2006, at 11:01 AM, ReynierPM wrote: Hi every: I've been working with CI since a while and now I try to test CakePHP for make a simple comparison. Right now I have a doubt: exists any way for download all the documentation as PDF or CHM or maybe an entire .html page? http://cakeforge.org/frs/?group_id=53release_id=154 -- John --~--~-~--~~~---~--~~ 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: Looking for downloable doc
Thanks a lot, donwloading now Cheers 2006/12/20, John David Anderson (_psychic_) [EMAIL PROTECTED]: On Dec 20, 2006, at 11:01 AM, ReynierPM wrote: Hi every: I've been working with CI since a while and now I try to test CakePHP for make a simple comparison. Right now I have a doubt: exists any way for download all the documentation as PDF or CHM or maybe an entire .html page? http://cakeforge.org/frs/?group_id=53release_id=154 -- John -- Salu2 ReynierPM | 5to. Ing Informática --~--~-~--~~~---~--~~ 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: Looking for downloable doc
CI? What does it stand for? -MI --- Remember, smart coders answer ten questions for every question they ask. So be smart, be cool, and share your knowledge. BAKE ON! De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre de ReynierPM Enviado el: Miércoles, 20 de Diciembre de 2006 03:01 p.m. Para: cake-php@googlegroups.com Asunto: Looking for downloable doc I've been working with CI since a while and now I try to test CakePHP for make a simple comparison. Right now I have a doubt: exists any way for download all the documentation as PDF or CHM or maybe an entire .html page? Cheers and thanks in advance --~--~-~--~~~---~--~~ 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: Looking for downloable doc
On Dec 20, 2006, at 11:24 AM, Mariano Iglesias wrote: CI? What does it stand for? CodeIgniter. We're much more mature and feature-rich than CI, and there's much less code to write in a Cake app. /imho -- John --~--~-~--~~~---~--~~ 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: Looking for downloable doc
I realize the english I've used on my last message sounded more like: Yes, me can do it. Sorry about that guys :) -MI --- Remember, smart coders answer ten questions for every question they ask. So be smart, be cool, and share your knowledge. BAKE ON! -Mensaje original- De: Mariano Iglesias [mailto:[EMAIL PROTECTED] Enviado el: Miércoles, 20 de Diciembre de 2006 04:12 p.m. Para: 'cake-php@googlegroups.com' Asunto: RE: Looking for downloable doc Oh yeah I studied CI before turning into CakePHP. They have a very similar framework, but CakePHP miles ahead of CI, much more stable, stronger, and an excellent support from the community. What more can you ask? Oh yes, and CakePHP is COOL. --~--~-~--~~~---~--~~ 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: Looking for downloable doc
Oh yeah I studied CI before turning into CakePHP. They have a very similar framework, but CakePHP miles ahead of CI, much more stable, stronger, and an excellent support from the community. What more can you ask? Oh yes, and CakePHP is COOL. -MI --- Remember, smart coders answer ten questions for every question they ask. So be smart, be cool, and share your knowledge. BAKE ON! -Mensaje original- De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre de John David Anderson (_psychic_) Enviado el: Miércoles, 20 de Diciembre de 2006 03:31 p.m. Para: cake-php@googlegroups.com Asunto: Re: Looking for downloable doc We're much more mature and feature-rich than CI, and there's much less code to write in a Cake app. /imho --~--~-~--~~~---~--~~ 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: Session-flash() and history.back
It seems like you are having a problem with the browser caching the web pages. You might be able to adjust the header sent to the browser so it does not cache. Another approach would be to use a asynchronous update to display the flash message, instead of the standard way. To do that, add this method to your app_controller.php function asynch_flash() { $this-layout = 'ajax'; $this-render('../pages/asynch_flash'); } Add the following code to a file asynch_flash.thtml in your app/views/pages/ directory ?php if ($session-check('Message.flash')) { $session-flash(); } ? And to your layout file add the following in place of the usual flash output div id=flash script type=text/javascript ?php $cont = $this-params['controller']? new Ajax.Updater(flash, '?php echo $html-url(/$cont/asynch_flash/)?'); /script /div That should do it, although it might look funny with debug on. Hope that helps. -- Russell --~--~-~--~~~---~--~~ 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: Looking for downloable doc
Well, I been testing CI for a long period, maybe 5 or 6 months ago but now I read some articles in Cake site and it's amazing. Right now I need write an application and it need to use ACL permissions. CI haven't this only a few approach contribute by community. Me work in some Spanish languages for one of them. So ... I hope that the CakePHP Community help me when I need of course if the people have time for my doubts. Cheers and thanks in advance 2006/12/20, Mariano Iglesias [EMAIL PROTECTED]: Oh yeah I studied CI before turning into CakePHP. They have a very similar framework, but CakePHP miles ahead of CI, much more stable, stronger, and an excellent support from the community. What more can you ask? Oh yes, and CakePHP is COOL. -MI --- Remember, smart coders answer ten questions for every question they ask. So be smart, be cool, and share your knowledge. BAKE ON! -Mensaje original- De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre de John David Anderson (_psychic_) Enviado el: Miércoles, 20 de Diciembre de 2006 03:31 p.m. Para: cake-php@googlegroups.com Asunto: Re: Looking for downloable doc We're much more mature and feature-rich than CI, and there's much less code to write in a Cake app. /imho -- Salu2 ReynierPM | 5to. Ing Informática --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Setting Up Multiple Domains with One Cake
I got this working a-ok on MediaTemple, so that I can host N domains using the same Cake install. DIRECTORY STRUCTURE: /home/USERNUMBER/domains/APPS/cake/ This should contain cake/, docs/, vendors/, and index.php /home/USERNUMBER/domains/APPS/YOURDOMAIN/ Put all your /app/ code here. Note: There is NO .com on the domain. /home/USERNUMBER/domains/APPS/YOURDOMAIN.com/ Put all your public code in the html folder in here. Note: There IS a .com on the domain. ALTERATIONS FOR: /home/usernumber/domains/YOURDOMAIN.com/html/index.php if (!defined('ROOT')) { define('ROOT', DS.'home'.DS.'usernumber'.DS.'domains'); } if (!defined('APP_DIR')) { define('APP_DIR','APPS/directowii'); } Also change define('CORE_PATH', null); to define('CORE_PATH', ROOT.'/cake/'); --~--~-~--~~~---~--~~ 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: Setting Up Multiple Domains with One Cake
Yeah, that's one way to do it. The other way is to go into webroot/index.php, and change CAKE_CORE_INCLUDE_PATH to the absolute path to your Cake install. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Definitive data cleansing methodology
Being the paranoid type (I'm not really, they actually *are* out to get me), I started looking at data cleansing today, which is one area of cake I'm a little unsure of, but getting it right is pretty important :) From the testing I've done, it appears that values are automatically sql escaped when used in model-find*() conditions, so Sanitize-sql() needs to be used only when 'rolling your own' sql statements. Save() seems to do the same. Field values that contain (double quotes), , etc are also escaped when re-rendered back to the form fieled value attribute - is this cake doing this? This just leaves Sanitize-html() to deal with values that (are user entered, but then) are re-displayed as html. I would be grateful if the above statements could be confirmed/denied and any comment that can improve my understanding of cake's abilities. ~GreyCells --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
problems installing on new server: 404 errors
I've worked with Cake on several sites now, but am having trouble getting it to function on a new (HTTPS) server. I downloaded the latest Cake from the Web site today and uploaded it to my server in a subdirectory. After configuring the database, I attempted to access my new app at https://mydomain.com/mydir/cake/ and was greeted with an Apache 404 page that said: The requested URL /usr/home/myusername/public_ssl/cake/app/webroot/ was not found on this server. Note that it appears to be looking for webroot at an address that corresponds to its actual position in the filesystem rather than its URL. Next I tried disabling all three .htaccess files and uncommenting the BASE_URL line in core.php. This improved things but not completely: I can now see the app's home page (or anything else I specify using the default route in routes.php), but when trying to access a regular controller action I still get a 404 error - though the URL is correct in this case: The requested URL /mydir/air/objects/ was not found on this server. Any idea what might be happening? --~--~-~--~~~---~--~~ 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: Definitive data cleansing methodology
On 12/20/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Field values that contain (double quotes), , etc are also escaped when re-rendered back to the form fieled value attribute - is this cake doing this? That could also be from PHP itself. I believe there is a magic_quotes option that can be turned off or on that automagically escapes form-submitted data. Personally, I prefer to turn that off to (a) have better control of the filtering of incoming data and (b) avoid any nasty surprises involving the data when it comes in. Hope that helps. -- Chris Hartjes The greatest inefficiencies come from solving problems you will never have. -- Rasmus Lerdorf @TheBallpark - http://www.littlehart.net/attheballpark @TheKeyboard - http://www.littlehart.net/atthekeyboard --~--~-~--~~~---~--~~ 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: Looking for downloable doc
I think you will soon learn how helpful our fellow bakers are. PS: Go spanish speaking bakers! -MI --- Remember, smart coders answer ten questions for every question they ask. So be smart, be cool, and share your knowledge. BAKE ON! De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre de ReynierPM Enviado el: Miércoles, 20 de Diciembre de 2006 04:42 p.m. Para: cake-php@googlegroups.com Asunto: Re: Looking for downloable doc Well, I been testing CI for a long period, maybe 5 or 6 months ago but now I read some articles in Cake site and it's amazing. Right now I need write an application and it need to use ACL permissions. CI haven't this only a few approach contribute by community. Me work in some Spanish languages for one of them. So ... I hope that the CakePHP Community help me when I need of course if the people have time for my doubts. --~--~-~--~~~---~--~~ 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: problems installing on new server: 404 errors
On 12/20/06, Dave [EMAIL PROTECTED] wrote: Next I tried disabling all three .htaccess files and uncommenting the BASE_URL line in core.php. This improved things but not completely: I can now see the app's home page (or anything else I specify using the default route in routes.php), but when trying to access a regular controller action I still get a 404 error - though the URL is correct in this case: The requested URL /mydir/air/objects/ was not found on this server. Any idea what might be happening? Not that I'm an expert at configuring Cake, but I have some suggestions: 1) verify that you've set things up in your Apache config files to accept values that are in a .htaccess file That has tripped me up more than once. If you're using the pretty URL's make sure that you've got mod_rewrite turned on and that you have specified the correct RewriteBase. 2) set DEBUG to 1 in your core.php file so you can see some more informative error messages than just a 404. I honestly believe that the errors spit out in debug mode are a killer hidden feature in Cake. 3) examine the differences in your configuration files between your app in it's old location and your app in it's new location. Maybe you'll find that you've forgotten to set something in the new config Hope that helps. -- Chris Hartjes The greatest inefficiencies come from solving problems you will never have. -- Rasmus Lerdorf @TheBallpark - http://www.littlehart.net/attheballpark @TheKeyboard - http://www.littlehart.net/atthekeyboard --~--~-~--~~~---~--~~ 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: problems installing on new server: 404 errors
I would suggest double checking your apache config settings. Maybe place a regular html page in that directory and see if you can view it. Jose On 12/20/06, Dave [EMAIL PROTECTED] wrote: I've worked with Cake on several sites now, but am having trouble getting it to function on a new (HTTPS) server. I downloaded the latest Cake from the Web site today and uploaded it to my server in a subdirectory. After configuring the database, I attempted to access my new app at https://mydomain.com/mydir/cake/ and was greeted with an Apache 404 page that said: The requested URL /usr/home/myusername/public_ssl/cake/app/webroot/ was not found on this server. Note that it appears to be looking for webroot at an address that corresponds to its actual position in the filesystem rather than its URL. Next I tried disabling all three .htaccess files and uncommenting the BASE_URL line in core.php. This improved things but not completely: I can now see the app's home page (or anything else I specify using the default route in routes.php), but when trying to access a regular controller action I still get a 404 error - though the URL is correct in this case: The requested URL /mydir/air/objects/ was not found on this server. Any idea what might be happening? --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
othAuth Issue
Hello CakePHP Community.. I'm new to the framework and excited to get some work done for my clients. It looks to be a very good framework with improving documentation. On to my issue.. Traversing through this group and on IRC I know this topic has come up many times, but I must ask for an assist. I've downloaded and installed onAuth component 05.2, the helper, baked the models, set up the db permissions matrix, updated the appController, and have followed the tutorial closely. ( I thought) I'm having a problem enabling login. I am not getting beyond the login page, however I can open the admin views of the content I am trying to secure. I do get an Invalid ID for User when accessing users/index. No other errors are thrown. This must be a simple fix, but I'm not able to find the problem. What am I missing? Devon --~--~-~--~~~---~--~~ 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: problems installing on new server: 404 errors
You might be out of the allowed path in you php.ini file. I'd check that. If so just add the correct path to webroot as usual. On Dec 20, 12:09 pm, Dave [EMAIL PROTECTED] wrote: I've worked with Cake on several sites now, but am having trouble getting it to function on a new (HTTPS) server. I downloaded the latest Cake from the Web site today and uploaded it to my server in a subdirectory. After configuring the database, I attempted to access my new app athttps://mydomain.com/mydir/cake/and was greeted with an Apache 404 page that said: The requested URL /usr/home/myusername/public_ssl/cake/app/webroot/ was not found on this server. Note that it appears to be looking for webroot at an address that corresponds to its actual position in the filesystem rather than its URL. Next I tried disabling all three .htaccess files and uncommenting the BASE_URL line in core.php. This improved things but not completely: I can now see the app's home page (or anything else I specify using the default route in routes.php), but when trying to access a regular controller action I still get a 404 error - though the URL is correct in this case: The requested URL /mydir/air/objects/ was not found on this server. Any idea what might be happening? --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
does cake not join tables when using hasMany?
i had some strange results today when working w/ associations in cake. from what i can tell, defining an association as hasMany, does not result in a table join query. instead, it queries the first table, and then queries the second table once for each result in the first table. when i changed the association to hasOne, it performed the query properly and did a join, but the result was not formatted as it should be. has anyone run into this problem? i can provide some sample code and examples if needed... --~--~-~--~~~---~--~~ 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: Looking for downloable doc
Hi again: What you mean with that: PS: Go spanish speaking bakers! My English is poor and I dont understand this ... 2006/12/20, Mariano Iglesias [EMAIL PROTECTED]: I think you will soon learn how helpful our fellow bakers are. PS: Go spanish speaking bakers! -MI --- Remember, smart coders answer ten questions for every question they ask. So be smart, be cool, and share your knowledge. BAKE ON! De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre de ReynierPM Enviado el: Miércoles, 20 de Diciembre de 2006 04:42 p.m. Para: cake-php@googlegroups.com Asunto: Re: Looking for downloable doc Well, I been testing CI for a long period, maybe 5 or 6 months ago but now I read some articles in Cake site and it's amazing. Right now I need write an application and it need to use ACL permissions. CI haven't this only a few approach contribute by community. Me work in some Spanish languages for one of them. So ... I hope that the CakePHP Community help me when I need of course if the people have time for my doubts. -- Salu2 ReynierPM | 5to. Ing Informática --~--~-~--~~~---~--~~ 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: Definitive data cleansing methodology
Chris Hartjes wrote: Field values that contain (double quotes), , etc are also escaped when re-rendered back to the form fieled value attribute - is this cake doing this? That could also be from PHP itself. I believe there is a magic_quotes option that can be turned off or on that automagically escapes form-submitted data. magic_quotes_[gpc|runtime] is off on my system - the data is escaped to the db with '\', but escaped in the form field value attribute as an html entity reference - I don't think it's being done by magic quotes, unless cake is doing it for me. --~--~-~--~~~---~--~~ 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: Mod_rewrite on Windows XP
tried restarting, now it gives 500 internal server error. I give up on mod_rewrite on windows. Is there any major disadvantage if I just use the cakePHP pretty urls without mod_rewrite? --~--~-~--~~~---~--~~ 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: problems installing on new server: 404 errors
Thanks for the responses. Since I *can* view the home page under the circumstances already described, I don't think it's a php.ini thing. I've done .htaccess-based authentication in this directory already, so I know the .htaccess is being read. And I can copy the entire Cake distribution down to my local test server and run it without a change, so it's not a general configuration issue. --~--~-~--~~~---~--~~ 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: Looking for downloable doc
It's just my way of giving support for all CakePHP developers who have Spanish as a mother tongue. I mean from what I read I figured you also speak Spanish. Correcto? -MI --- Remember, smart coders answer ten questions for every question they ask. So be smart, be cool, and share your knowledge. BAKE ON! De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre de ReynierPM Enviado el: Miércoles, 20 de Diciembre de 2006 06:05 p.m. Para: cake-php@googlegroups.com Asunto: Re: Looking for downloable doc What you mean with that: PS: Go spanish speaking bakers! My English is poor and I dont understand this ... --~--~-~--~~~---~--~~ 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: problems installing on new server: 404 errors
Experimenting a bit more I've gotten it to work. With the .htaccess files disabled and BASE_URL enabled, I have to access controller actions like this: https://mydomain.com/mydir/cake/index.php/controller/action Not ideal, but functional anyway. Not sure why mod_rewrite is misfiring in this case, and would love to figure out why... --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Finding out if an action is called through AJAX, or direct access
My fellow bakers, I was wondering if there's a way to figure out when a CakePHP action is called as a result from direct URL access or an Ajax update call. I've tested debugging some data such as: $this-params $_REQUEST But it's the same in both cases. So say we have an action called list() in a PostsController, then what I am looking for is to distinguish when user uses the following url to access the action: http://server/posts/list Or when the list() action is called as a result of a: $ajax-link('Get List', '/posts/list', array('update'='myDiv')); Anyone? :) -MI --- Remember, smart coders answer ten questions for every question they ask. So be smart, be cool, and share your knowledge. BAKE ON! --~--~-~--~~~---~--~~ 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: Finding out if an action is called through AJAX, or direct access
If you are using prototype/ scripta as the ajax framework then you can use the http://manual.cakephp.org/chapter/request_handler $RequestHandler-isAjax(); for things like that because it sends information in the header to identify it as a ajax request. Other libraries are not (as far as I know) recognized as such. I have used the bare route in the past before the RequestHandler magic was in place. so you can make a call from the ajax on the page as $ajax-link('Get List', '/bare/posts/list', array('update'='myDiv')); Since I mostly work with the prototype stuff (which I would guess you do too if you are using the $ajax-link() ) then this should work for you. You can also use $RequestHandler-setAjax($this); to take care of the layouts and other little details for you Sam D On 12/20/06, Mariano Iglesias [EMAIL PROTECTED] wrote: My fellow bakers, I was wondering if there's a way to figure out when a CakePHP action is called as a result from direct URL access or an Ajax update call. I've tested debugging some data such as: $this-params $_REQUEST But it's the same in both cases. So say we have an action called list() in a PostsController, then what I am looking for is to distinguish when user uses the following url to access the action: http://server/posts/list Or when the list() action is called as a result of a: $ajax-link('Get List', '/posts/list', array('update'='myDiv')); Anyone? :) -MI --- Remember, smart coders answer ten questions for every question they ask. So be smart, be cool, and share your knowledge. BAKE ON! -- == S. DeVore (the old fart) the advice is free, the lack of crankiness will cost you --~--~-~--~~~---~--~~ 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: problems installing on new server: 404 errors
I would suggest looking in your list of enabled modules to see if you have enabled mod_rewrite. Jose On 12/20/06, Dave [EMAIL PROTECTED] wrote: Experimenting a bit more I've gotten it to work. With the .htaccess files disabled and BASE_URL enabled, I have to access controller actions like this: https://mydomain.com/mydir/cake/index.php/controller/action Not ideal, but functional anyway. Not sure why mod_rewrite is misfiring in this case, and would love to figure out why... --~--~-~--~~~---~--~~ 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: Finding out if an action is called through AJAX, or direct access
Beautiful, don't know how I missed it. I'm using it to lay out some specific actions under the ajax or standard layout depending on call method, and the setAjax() thing was just what I was looking for. Good call Samuel. -MI --- Remember, smart coders answer ten questions for every question they ask. So be smart, be cool, and share your knowledge. BAKE ON! -Mensaje original- De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre de Samuel DeVore Enviado el: Miércoles, 20 de Diciembre de 2006 07:23 p.m. Para: cake-php@googlegroups.com Asunto: Re: Finding out if an action is called through AJAX, or direct access If you are using prototype/ scripta as the ajax framework then you can use $RequestHandler-setAjax($this); to take care of the layouts and other little details for you --~--~-~--~~~---~--~~ 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: does cake not join tables when using hasMany?
I think it has something to do with the result parser. It's not a bug, it's by design. Other association that does join tables are belongsTo. Why do you need it in one query? -Original Message- From: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: 21 Desember 2006 4:11 To: Cake PHP Subject: does cake not join tables when using hasMany? i had some strange results today when working w/ associations in cake. from what i can tell, defining an association as hasMany, does not result in a table join query. instead, it queries the first table, and then queries the second table once for each result in the first table. when i changed the association to hasOne, it performed the query properly and did a join, but the result was not formatted as it should be. has anyone run into this problem? i can provide some sample code and examples if needed... --~--~-~--~~~---~--~~ 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: Finding out if an action is called through AJAX, or direct access
Isn't this what RequestHandler-isAjax() is for? --~--~-~--~~~---~--~~ 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: Errors in the View
oh my goodness. *smack's hand over forehead* Here are the correct links: HolidaysController: http://bin.cakephp.org/saved/1308 ProductsController: http://bin.cakephp.org/saved/1309 Holiday Model: http://bin.cakephp.org/saved/1310 Product Model: http://bin.cakephp.org/saved/1311 Christmas.thtml: http://bin.cakephp.org/saved/1313 --~--~-~--~~~---~--~~ 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: Looking for downloable doc
Yeah!!I As you said before I speak Spanish but I don't know where find documentation or better who here in this group talk Spanish and can help me. Also I speak and write a little English so this is not a difficult for me. Can you tell me if exists something in the Bakery wrote in Spanish? Thanks for all 2006/12/20, Mariano Iglesias [EMAIL PROTECTED]: It's just my way of giving support for all CakePHP developers who have Spanish as a mother tongue. I mean from what I read I figured you also speak Spanish. Correcto? -MI --- Remember, smart coders answer ten questions for every question they ask. So be smart, be cool, and share your knowledge. BAKE ON! De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre de ReynierPM Enviado el: Miércoles, 20 de Diciembre de 2006 06:05 p.m. Para: cake-php@googlegroups.com Asunto: Re: Looking for downloable doc What you mean with that: PS: Go spanish speaking bakers! My English is poor and I dont understand this ... -- Salu2 ReynierPM | 5to. Ing Informática --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
CakePHP goes crazy when zend.ze1_compatibility_mode is On
Hi, I have a cakephp app with lots of models connected with hasMany and belongsTo relations. I just discovered that when php4 compatibility mode is turned On in php.ini file and I do findAll or find with high recursion number, I get: Notice: Undefined index: className in /dev/mysite/cake/libs/model/datasources/dbo_source.php on line 681 and Fatal error: Cannot access empty property in /dev/mysite/cake/libs/model/datasources/dbo_source.php on line 681 when compatibility is switched Off, everything works nice. I spent couple of hours banging my head against the wall :) until I managed to locate the problem...hope someone will find this usefull --~--~-~--~~~---~--~~ 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: Joining 2 tables - better practice?
I had remove ['Product'] from $data['Product'] otherwise it would cause an error if I debug($data). The output for $data is: Array ( [0] = Array ( [Holiday] = Array ( [id] = 1 [holiday_name] = Halloween ) [Product] = Array ( [0] = Array ( [id] = 668 [product_name] = //cut out [description] = //cut out [price] = 1.29 [URL] = //cut out [image] = //cut out [category_id] = 12 [holiday_id] = 1 [added] = 2006-04-29 [newProd] = 0 [stock] = 1 [hits] = 3 ) [1] = Array ( [id] = 1089 [product_name] = //cut out [description] = //cut out [price] = 0.60 [URL] = //cut out [image] = //cut out [category_id] = 9 [holiday_id] = 1 [added] = 2006-05-26 [newProd] = 0 [stock] = 1 [hits] = 0 ) [2] = Array ( [id] = 1090 [product_name] = //cut out [description] = //cut out [price] = 0.60 [URL] = //cut out [image] = //cut out [category_id] = 9 [holiday_id] = 1 [added] = 2006-05-26 [newProd] = 0 [stock] = 1 [hits] = 0 ) ... The way that this should work out is that $data would hold only products that are under the certain holiday, which itl ooks like it is doing from the output. So in the view, it will use a foreach loop and display each product from $data. --~--~-~--~~~---~--~~ 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: Mod_rewrite on Windows XP
On 12/21/06, keymaster [EMAIL PROTECTED] wrote: tried restarting, now it gives 500 internal server error. That means there's an error in your .htaccess file or you forgot to AllowOverride All for the Directory that holds your CakePHP installation. By default XAMPP (you are using XAMPP aren't you?) already has this option set and all you need to do is uncomment the LoadModule line for mod_rewrite. Look in the error log files for Apache to see what is causeing the 500 Internal Server Error. I give up on mod_rewrite on windows. Is there any major disadvantage if I just use the cakePHP pretty urls without mod_rewrite? Not really. Just remember to remove all the .htaccess files when you activate the pretty urls option. There are three of them in a default CakePHP release. -- _nimrod_a_abing_ [?] http://abing.gotdns.com --~--~-~--~~~---~--~~ 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: does cake not join tables when using hasMany?
first off, it seems like the page would probably run faster if it was just one query instead of 30 or 40. but the other reason is to filter results or get variables from the other model. for instance, if Forrest has many Trees and i query Forrest wanting to only return Trees that are Brown, how is it possible to check if Trees.Brown from the query on Forrest if it is not joined? *v On Dec 20, 3:52 pm, Adrian Godong [EMAIL PROTECTED] wrote: I think it has something to do with the result parser. It's not a bug, it's by design. Other association that does join tables are belongsTo. Why do you need it in one query? -Original Message- From: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: 21 Desember 2006 4:11 To: Cake PHP Subject: does cake not join tables when using hasMany? i had some strange results today when working w/ associations in cake. from what i can tell, defining an association as hasMany, does not result in a table join query. instead, it queries the first table, and then queries the second table once for each result in the first table. when i changed the association to hasOne, it performed the query properly and did a join, but the result was not formatted as it should be. has anyone run into this problem? i can provide some sample code and examples if needed... --~--~-~--~~~---~--~~ 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: Joining 2 tables - better practice?
OK, so basically you have an array on top of everything. That's why you can't debug($data['Product']); or loop it directly. For this particular $data, to iterate through each product, you will need to use: Foreach ($data as $holiday) { Foreach ($holiday['Prodcut'] as $product) { [Write your code here] } } If this still doesn't work, it's either you omitted something else important on your e-mail, or something really-really bad have happened. If this doesn't help, please provide us with the $this-set(); statement from the controller. -Original Message- From: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of leamas Sent: 21 Desember 2006 7:06 To: Cake PHP Subject: Re: Joining 2 tables - better practice? I had remove ['Product'] from $data['Product'] otherwise it would cause an error if I debug($data). The output for $data is: Array ( [0] = Array ( [Holiday] = Array ( [id] = 1 [holiday_name] = Halloween ) [Product] = Array ( [0] = Array ( [id] = 668 [product_name] = //cut out [description] = //cut out [price] = 1.29 [URL] = //cut out [image] = //cut out [category_id] = 12 [holiday_id] = 1 [added] = 2006-04-29 [newProd] = 0 [stock] = 1 [hits] = 3 ) [1] = Array ( [id] = 1089 [product_name] = //cut out [description] = //cut out [price] = 0.60 [URL] = //cut out [image] = //cut out [category_id] = 9 [holiday_id] = 1 [added] = 2006-05-26 [newProd] = 0 [stock] = 1 [hits] = 0 ) [2] = Array ( [id] = 1090 [product_name] = //cut out [description] = //cut out [price] = 0.60 [URL] = //cut out [image] = //cut out [category_id] = 9 [holiday_id] = 1 [added] = 2006-05-26 [newProd] = 0 [stock] = 1 [hits] = 0 ) ... The way that this should work out is that $data would hold only products that are under the certain holiday, which itl ooks like it is doing from the output. So in the view, it will use a foreach loop and display each product from $data. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
(Error rendering Element: pagination). What could it be?
The component is working fine. I passed around different limits and pages and the right data is displaying. Just that the pages wont render... --~--~-~--~~~---~--~~ 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: CakePHP blogs
On 12/20/06, Mariano Iglesias [EMAIL PROTECTED] wrote: Here's the public URL for consolidated list: http://www.bloglines.com/public/cakephp Cool - thanks for the effort Tarique -- = PHP Applications for E-Biz: http://www.sanisoft.com Coppermine Picture Gallery: http://coppermine.sf.net = --~--~-~--~~~---~--~~ 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: (Error rendering Element: pagination). What could it be?
Never mind figured it out! Tazz wrote: The component is working fine. I passed around different limits and pages and the right data is displaying. Just that the pages wont render... --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Does someone has example about cakephp !!
I just download Cakephp , and read around Document,but also dont know how to create project and code or action ... does someone can help me ! show me some example let me know what a usefully develop is CAKEPHP thx!! guys! help from china! Regards!! --~--~-~--~~~---~--~~ 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: Does someone has example about cakephp !!
Did you try http://manual.cakephp.org/appendix/blog_tutorial On 12/20/06, eric [EMAIL PROTECTED] wrote: I just download Cakephp , and read around Document,but also dont know how to create project and code or action ... does someone can help me ! show me some example let me know what a usefully develop is CAKEPHP thx!! guys! help from china! Regards!! -- == S. DeVore (the old fart) the advice is free, the lack of crankiness will cost you --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---