Re: regarding the HTML link helper..
If you're not doing any advanced routing then this should work: ?php echo $html-link('Go', '/users/index'); ? On 23 May, 15:21, Abhishek abhishek...@gmail.com wrote: Hi, When i use this to generate the a link $html-link('Go',array('controller'='users','action'='index')); The link generated by the above statement doesnt contain .. the action as index .. I know /controller/ and /controller/index is the same thing .. I need it for some other reason .. is there any way i can force the helper to show index also in the link .. Abhishek --~--~-~--~~~---~--~~ 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: How can related records be removed when master is deleted?
In your Post model set the dependent key to true on the hasMany relationship. var $hasMany = array( 'Comment' = array( 'className' = 'Comment', 'foreignKey' = 'post_id', 'dependent' = true, ) ); On 20 May, 23:45, Jorge Garifuna garif...@gmail.com wrote: Thank you for the update. Is there a way that cakePHP can handle this internally? On Wed, May 20, 2009 at 2:18 PM, harrzack a...@sargasso-sea.net wrote: If you use the InnoDB engine, you can set up proper relationships. You have a Foreign key in the child tables that ties it to the Parent table. There are Constraints set to the built into the InnoDB that you set for ON DELETE and ON UPDATE, and when the Parent is deleted, there is a cascade to delete all children. Read here: http://dev.mysql.com/doc/refman/5.1/en/innodb-foreign-key-constraints... On May 20, 2:48 pm, Jorge Garifuna garif...@gmail.com wrote: I just deleted a post with comments and the comments related to that post were not deleted (left as orphan records). Is there a way to delete related records when the master gets deleted, so they wont be left as orphan records? Thanks, Jorge -- Jorge Garifuna Professional Web Developer Your Web Solution Partner Garinet Media Network, LLC. 811 Wilshire Blvd. Suite 1705 Los Angeles, CA 90017http://www.GariDigital.com Business Operating Hours: Monday - Friday: 9AM - 6 PM PST --~--~-~--~~~---~--~~ 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: Detecting if a link is to an image
Hi Kyle, I've hacked together a helper based on the TextHelper methods that should do what you're looking for... http://bin.cakephp.org/view/1261676226 Save it to app/views/helpers/autolink.php and include it in your helpers array: var $helpers = array('Html', 'Form', 'Autolink'); And in your view: ?php echo $autolink-images($post['Post']['content']); ? Not very well tested I'm afraid but it should give you some ideas... On 21 May, 02:00, Kyle Decot kdec...@gmail.com wrote: I would prefer not allowing the users to use a WYSIWYG editor. I would rather they use a simple textarea, and if they happen to include a URL in their post, then change that into a link, somewhat like $text- autoLink() but instead of creating links, create img /'s On May 20, 8:46 pm, JamesF usaexportexpe...@gmail.com wrote: you might want to check out the jquery fck editor plugin. i use this in conjunction with jquery to turn my text area inputs into a wysiwyg editor and it saves html to the database. (make sure you sanitize first). so if you were to go this route you first need to get jquery working in its most basic form on your site, than get the fck editor plugin for jquery, then install fck to your vendors folder. explaining in detail would be a bit lengthy but i hope it gives you some ideas. On May 20, 3:10 am, Kyle Decot kdec...@gmail.com wrote: I am building a forum and I want to make it so that if someone enters some text w/ a link to an image in it, my script will take out the link and replace it w/ the image. Anyone know how I would do this? I would also like to do the same thing w/ youtube and vimeo links in the future. Thanks for any insight or help you can provide. --~--~-~--~~~---~--~~ 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: Detecting if a link is to an image
Glad it works... You might be better trying out the Textile or BBCode helpers though if you need more flexibility: http://cakeforge.org/projects/textilehelper/ http://bakery.cakephp.org/articles/view/bbcode-helper-1 On 21 May, 04:15, Kyle Decot kdec...@gmail.com wrote: Awesome! It's definetly a step in the right direction. I've already added it here: http://www.theskateparkdirectory.com/forums/industry-news/clear-odyss... I'll probably end up modifying it as there are some other things I would like it to do. Perhaps when it's done, We can post it on the bakery! Thanks! On May 20, 11:03 pm, Andrew McCafferty andrew.mccaffe...@gmail.com wrote: Hi Kyle, I've hacked together a helper based on the TextHelper methods that should do what you're looking for... http://bin.cakephp.org/view/1261676226 Save it to app/views/helpers/autolink.php and include it in your helpers array: var $helpers = array('Html', 'Form', 'Autolink'); And in your view: ?php echo $autolink-images($post['Post']['content']); ? Not very well tested I'm afraid but it should give you some ideas... On 21 May, 02:00, Kyle Decot kdec...@gmail.com wrote: I would prefer not allowing the users to use a WYSIWYG editor. I would rather they use a simple textarea, and if they happen to include a URL in their post, then change that into a link, somewhat like $text- autoLink() but instead of creating links, create img /'s On May 20, 8:46 pm, JamesF usaexportexpe...@gmail.com wrote: you might want to check out the jquery fck editor plugin. i use this in conjunction with jquery to turn my text area inputs into a wysiwyg editor and it saves html to the database. (make sure you sanitize first). so if you were to go this route you first need to get jquery working in its most basic form on your site, than get the fck editor plugin for jquery, then install fck to your vendors folder. explaining in detail would be a bit lengthy but i hope it gives you some ideas. On May 20, 3:10 am, Kyle Decot kdec...@gmail.com wrote: I am building a forum and I want to make it so that if someone enters some text w/ a link to an image in it, my script will take out the link and replace it w/ the image. Anyone know how I would do this? I would also like to do the same thing w/ youtube and vimeo links in the future. Thanks for any insight or help you can provide. --~--~-~--~~~---~--~~ 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: I'm not sure how to write this query...
Hi Kyle, Here's a function you could try in your Post model - http://bin.cakephp.org/view/607120740 I've given it a default of 5 tags if called with no params. Obviously you can change this to suit or override it when you call it from your controller. e.g. $this-Post-postCountByTagCount(2) will return a count of how many posts in your DB have more than two tags. If your Post model has any associations other than the Tag HABTM, unbind them inside the method. There's probably a much cleverer way to achieve this, but hopefully this will get you started... HTH, Andrew On 27 Dec, 08:31, Kyle Decot kdec...@gmail.com wrote: Tags are in their own table. They are associated to the blog model via a HABTM relationship. On Dec 27, 2:41 am, gearvOsh mileswjohn...@gmail.com wrote: How is your database setup? Are tags a column in the blog table or is it its own table? --~--~-~--~~~---~--~~ 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: login script
Create login.ctp in /app/views/layouts then tell your action to use it. function login() { $this-layout = 'login'; } I'm guessing this is what you want. If you give us a bit more information you'll probably get a better answer though :-) On 27 Dec, 17:44, mona poojapinj...@gmail.com wrote: Can anyone tell me how to set the layout of this page i m having fields username and password --~--~-~--~~~---~--~~ 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: How to use bake.php in cakephp1.2
Mona, On Windows... cd to your app directory then run ..\cake\console\cake bake On Linux/OS X...you can set up your bash_profile then just run 'cake bake' What OS are you using? What have you tried? What's the error message? On 27 Dec, 17:45, mona poojapinj...@gmail.com wrote: It is not properly working in cakephp 1.2 how to use this in cakephp 1.2 --~--~-~--~~~---~--~~ 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: How can i change the layout of cakephp pages
The SQL log is displayed when debugging is set to 2 or above. Open config/core.php and set Configure::write('debug', 1); To get alternating row colors you can use the modulus operator in PHP. If you use bake, you'll see an example in an index.ctp view. ... ?php $i = 0; foreach ($posts as $post): $class = null; if ($i++ % 2 == 0) { $class = ' class=altrow'; } ? tr?php echo $class;? ... ...then use CSS to style the .altrow class accordingly. On 27 Dec, 17:42, mona poojapinj...@gmail.com wrote: When i edit default.ctp file in cake php it doesn't work can i use table as normal php and set my layout i m using fieldset so how can i adjust the size of that fieldset i tried alot but doesn't success can we design page in cakephp as simple php and how i can disable the sql log table from my pages it is displayin in php 1.2 .If i delete all the contents of default.ctp does it cause any problem.One thing in the index i m displaying a table and i wan't to give alternate rows different colors how it is possibe i m using foreach loop to display the contents of table --~--~-~--~~~---~--~~ 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: does cake have anything to help create a sortable grid?
If you want to stick with Prototype, I've used this in the past: http://www.tetlaw.id.au/view/blog/table-sorting-with-prototype/ It's really straightforward to use, just include the JS and add the relevant class to your table headers. Demo here: http://www.tetlaw.id.au/upload/dev/sortabletable/ Regards, Andrew On 18 Aug, 16:35, Geoff Ford [EMAIL PROTECTED] wrote: Nope and it probably never will have it in the core. It may end up in the AjaxHelper one day if proto/scriptactulous supports it. I suggest using jQuery. There is the tablesorter plugin and also one for filtering that I can't remember the name of. Geoff --http://lemoncake.wordpress.com On Aug 19, 1:25 am, walterbyrd [EMAIL PROTECTED] wrote: Something like prado's TDataGrid, or qcodo's grid, or codeignitor's rapyd? I'm not even all that concerned about the ajax stuff. Just data arranged in a table, the is sortable by column by clicking the header. Edit, add, delete, and filthering would be nice. Something sort of like scaffolding, but more functional. --~--~-~--~~~---~--~~ 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: Global css navigation menu from DB
I've just noticed the path to your app_controller.php file - it should be placed in your app directory. Move the file to the correct location and make sure you've made the changes suggested above. Regards, Andrew On 19 Apr, 10:30, double07 [EMAIL PROTECTED] wrote: Hi Andrew, I tried what you suggested, unfortunately I still get the error mentioned above. Cheers. On Apr 18, 10:22 pm, Andrew McCafferty [EMAIL PROTECTED] wrote: Firstly, the $name of AppController isn't Nodes so remove that line... Try replacing it with: var $uses = array('Node'); This should tell AppController to use your Node model, making the findAllThreaded function available. On 18 Apr, 06:17, double07 [EMAIL PROTECTED] wrote: Hi All, I'm trying to setup aglobalcssnavigation menu. Basically All my pages for the site are in a table called 'nodes'. Each page has a parent_id so I can use findAllThreaded() to generate an unordered list using a 'tree' helper (http://bakery.cakephp.org/articles/view/64) I found in the bakery. Now when I set this up in a specific function within the Nodes controller it works fine. example: In the function 'edit' within the nodes controller I have this bit of code: $this-set('category_tree', $this-Node-generateList()); In my default layout page I have: echo $tree-show('Node/title', $menu); Obviously this only works when I'm in - /nodes/edit/x What I want is to have that navigation available on every single page so I don't have to set the menu variable in each function in each controller. From my research around the place it seems that using beforeFilter() in AppController is what I'm looking for, but I'm not sure my syntax is correct as I get this error: Notice: Undefined property: PagesController::$Node in C:\wamp\www\cake \cake\app_controller.php on line 64 Fatal error: Call to a member function findAllThreaded() on a non- object in C:\wamp\www\cake\cake\app_controller.php on line 64 In my app_controller.php file I have: class AppController extends Controller { var $name = 'Nodes'; var $components = array('othAuth'); var $helpers = array('Html', 'OthAuth'); var $othAuthRestrictions = array( 'add','edit','delete'); function beforeFilter() { $this-set('menu', $this-Node-findAllThreaded()); //This is the line in question $auth_conf = array( 'mode' = 'oth', 'login_page' = '/users/login', 'logout_page' = '/users/logout', 'access_page' = '/', 'hashkey' = 'MySEcEeTHaSHKeYz', 'noaccess_page' = '/users/noaccess', 'strict_gid_check' = false); $this-othAuth-controller = $this; $this-othAuth-init($auth_conf); $this-othAuth-check(); } } Could somebody please give me some pointers or tell me if I'm on the right track. If not are there any suggestions to achieve what I'm trying to do? 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: Global css navigation menu from DB
...Also Make sure you restore cake/app_controller.php back to its original empty state: ?php class AppController extends Controller { } ? On 20 Apr, 17:15, Andrew McCafferty [EMAIL PROTECTED] wrote: I've just noticed the path to your app_controller.php file - it should be placed in your app directory. Move the file to the correct location and make sure you've made the changes suggested above. Regards, Andrew On 19 Apr, 10:30, double07 [EMAIL PROTECTED] wrote: Hi Andrew, I tried what you suggested, unfortunately I still get the error mentioned above. Cheers. On Apr 18, 10:22 pm, Andrew McCafferty [EMAIL PROTECTED] wrote: Firstly, the $name of AppController isn't Nodes so remove that line... Try replacing it with: var $uses = array('Node'); This should tell AppController to use your Node model, making the findAllThreaded function available. On 18 Apr, 06:17, double07 [EMAIL PROTECTED] wrote: Hi All, I'm trying to setup aglobalcssnavigation menu. Basically All my pages for the site are in a table called 'nodes'. Each page has a parent_id so I can use findAllThreaded() to generate an unordered list using a 'tree' helper (http://bakery.cakephp.org/articles/view/64) I found in the bakery. Now when I set this up in a specific function within the Nodes controller it works fine. example: In the function 'edit' within the nodes controller I have this bit of code: $this-set('category_tree', $this-Node-generateList()); In my default layout page I have: echo $tree-show('Node/title', $menu); Obviously this only works when I'm in - /nodes/edit/x What I want is to have that navigation available on every single page so I don't have to set the menu variable in each function in each controller. From my research around the place it seems that using beforeFilter() in AppController is what I'm looking for, but I'm not sure my syntax is correct as I get this error: Notice: Undefined property: PagesController::$Node in C:\wamp\www\cake \cake\app_controller.php on line 64 Fatal error: Call to a member function findAllThreaded() on a non- object in C:\wamp\www\cake\cake\app_controller.php on line 64 In my app_controller.php file I have: class AppController extends Controller { var $name = 'Nodes'; var $components = array('othAuth'); var $helpers = array('Html', 'OthAuth'); var $othAuthRestrictions = array( 'add','edit','delete'); function beforeFilter() { $this-set('menu', $this-Node-findAllThreaded()); //This is the line in question $auth_conf = array( 'mode' = 'oth', 'login_page' = '/users/login', 'logout_page' = '/users/logout', 'access_page' = '/', 'hashkey' = 'MySEcEeTHaSHKeYz', 'noaccess_page' = '/users/noaccess', 'strict_gid_check' = false); $this-othAuth-controller = $this; $this-othAuth-init($auth_conf); $this-othAuth-check(); } } Could somebody please give me some pointers or tell me if I'm on the right track. If not are there any suggestions to achieve what I'm trying to do? 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: Global css navigation menu from DB
Firstly, the $name of AppController isn't Nodes so remove that line... Try replacing it with: var $uses = array('Node'); This should tell AppController to use your Node model, making the findAllThreaded function available. On 18 Apr, 06:17, double07 [EMAIL PROTECTED] wrote: Hi All, I'm trying to setup a global css navigation menu. Basically All my pages for the site are in a table called 'nodes'. Each page has a parent_id so I can use findAllThreaded() to generate an unordered list using a 'tree' helper (http://bakery.cakephp.org/articles/view/64) I found in the bakery. Now when I set this up in a specific function within the Nodes controller it works fine. example: In the function 'edit' within the nodes controller I have this bit of code: $this-set('category_tree', $this-Node-generateList()); In my default layout page I have: echo $tree-show('Node/title', $menu); Obviously this only works when I'm in - /nodes/edit/x What I want is to have that navigation available on every single page so I don't have to set the menu variable in each function in each controller. From my research around the place it seems that using beforeFilter() in AppController is what I'm looking for, but I'm not sure my syntax is correct as I get this error: Notice: Undefined property: PagesController::$Node in C:\wamp\www\cake \cake\app_controller.php on line 64 Fatal error: Call to a member function findAllThreaded() on a non- object in C:\wamp\www\cake\cake\app_controller.php on line 64 In my app_controller.php file I have: class AppController extends Controller { var $name = 'Nodes'; var $components = array('othAuth'); var $helpers = array('Html', 'OthAuth'); var $othAuthRestrictions = array( 'add','edit','delete'); function beforeFilter() { $this-set('menu', $this-Node-findAllThreaded()); //This is the line in question $auth_conf = array( 'mode' = 'oth', 'login_page' = '/users/login', 'logout_page' = '/users/logout', 'access_page' = '/', 'hashkey' = 'MySEcEeTHaSHKeYz', 'noaccess_page' = '/users/noaccess', 'strict_gid_check' = false); $this-othAuth-controller = $this; $this-othAuth-init($auth_conf); $this-othAuth-check(); } } Could somebody please give me some pointers or tell me if I'm on the right track. If not are there any suggestions to achieve what I'm trying to do? 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 -~--~~~~--~~--~--~---
ObserveField - Firefox Issue
Hello All, I'm getting some strange behaviour in Firefox only when using $ajax- observeField to watch a SELECT dropdown. If the observed dropdown list is opened and you hover over a selection, the event is fired after the amount of time specified by 'frequency'. In other words, you get an ajax update without clicking on anything! The problem has been raised in the group before, but effectively went unanswered: http://groups.google.com/group/cake-php/browse_thread/thread/9ed8b1e5f8a0b8a/0278b02f1ddcbb71?lnk=gstq=observeFieldrnum=1#0278b02f1ddcbb71 Anyone out there got a solution / workaround? If not can someone shed any light on whether this is likely to be a bug in Cake, Prototype or Firefox so that I can raise a ticket with the relevant developers? Thanks, Andrew --~--~-~--~~~---~--~~ 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: Finally a good Editor for Windows
Thanks Mandy! This could be the one that drags me away from HTMLKit for good. I've only been playing with it for a few minutes but it looks great. Cake support would just be the icing on thewell...cake. Andrew On 24 Jan, 12:18, Mandy [EMAIL PROTECTED] wrote: Well, this post is not about asking a question, but about sharing an editor that I recently found. You can read more about it here:http://mandysingh.blogspot.com/2007/01/finally-good-editor-for-window... This is going to be having CakePHP support very soon and is really kickass (trust me - it's TextMate for windows). Thanks, Mandy. --~--~-~--~~~---~--~~ 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: Finally a good Editor for Windows
After further investigation and much excitement, it looks like Cake support already exists and can be downloaded, along with various other bundles from here: http://intype.info/download/bundles/ Andrew On 24 Jan, 13:34, D.Pape [EMAIL PROTECTED] wrote: Yes, looks really great. Thanks mandy! Andrew McCafferty schrieb: Thanks Mandy! This could be the one that drags me away from HTMLKit for good. I've only been playing with it for a few minutes but it looks great. Cake support would just be the icing on thewell...cake. Andrew On 24 Jan, 12:18, Mandy [EMAIL PROTECTED] wrote: Well, this post is not about asking a question, but about sharing an editor that I recently found. You can read more about it here:http://mandysingh.blogspot.com/2007/01/finally-good-editor-for-window... This is going to be having CakePHP support very soon and is really kickass (trust me - it's TextMate for windows). Thanks, Mandy. --~--~-~--~~~---~--~~ 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 a non default.thtml layout for a ''app/view/pages .thtml file
Uwie, I'd take a copy of cake/libs/controller/pages_controller.php and paste in into app/controllers/ Add the following into app/controllers/pages_controller.php: var $layout = 'your_custom_layout'; Create 'your_custom_layout.thtml' in app/views/layouts/ and hopefully Bob's your uncle :-) HTH, Andrew neospirit wrote: Hi all. I need to set the layout for a static page in my views/pages to another layout already in my views/layouts so it's not going to use the default.thtml one. I've searched the group and found none, and I believe I've missed the part about views/pages in manual if there's any. So, is it possible to do something about this? Helps really appriciated. Uwie --~--~-~--~~~---~--~~ 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: seen the new api search
Thanks Samuel - That looks very useful. Samuel DeVore wrote: http://start.gotapi.com/ note cake has a place here, actually a nice way to search the api. Sam D -- == 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: custom 404 error page
Felix, In my /app/views/errors directory, i've created the following files error404.thtml missing_action.thtml missing_controller.thtml missing_view.thtml These override the default cake error pages (which you can find in /cake/libs/view/templates/errors) Perhaps I misunderstand your question though - are you looking to use a layout template other than default.thtml for your errors? --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---