Re: How to delete multiple rows from a single table

2007-10-13 Thread CakeONaut
in SQL if you wanted to delete everything you could do delete from tablenamehere where id>0 or delete from tablenamehere where someconditiongoeshere if you want just certain rows to be expunged. -Will --~--~-~--~~~---~--~~ You received this message because you

Re: Layout code being overlooked

2007-10-12 Thread CakeONaut
Hi! A while back I had .htaccess missing in one location and it caused my layout not to be accessed. . . Good luck! -Will --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group,

Question re. models

2007-10-12 Thread CakeONaut
Hi! I have a model query - at first I thought it was recursive but when I found such references in the cakephp manual I think perhaps not. The situation is this: I have one table with many tabs. There is another table full of renovation images that I want displayed when people click on a tab on

Resolved Annoying Problem with Bake

2007-10-06 Thread CakeONaut
Hi! Help, especially for setup is not overly available - therefore I am sending this message to help others who might search for this Bake problem. Bake was creating views and controllers where they should be, but the links within the views were not going where they should have. Resolution: som

Re: Annoying problem with Bake

2007-10-06 Thread CakeONaut
install/app/webroot/ , then you can access your > controllers actions byhttp://www.mydomain.net/controller/action/, > try reading the installation chapter in the manual. > > On Oct 6, 2:36 am, CakeONaut <[EMAIL PROTECTED]> wrote: > > > > > Hi! > > &g

Annoying problem with Bake

2007-10-05 Thread CakeONaut
Hi! I am able to bake and it puts controllers and views in the correct locations. So I go to http://www.mydomain.net/wwwroot/cake/app/users and I see some entries in tables I created. Looks great! There are handy links to view, edit and delete (and one to add to one of the tables too). The pr

Unknown modifier warning after using Bake

2007-09-30 Thread CakeONaut
Thanks to Sam Sherlock and Andy Dawson for helping out with my path problem. I am now baking. I have a problem and I did a search and found some material on it but I want to ensure that I'm doing the right thing. First what I'm running: 1) php 4.4.7 2) Linux host 3) MySql 4.1.22 4) Latest stab

Unclear as to Path Settings on Cake Install

2007-09-28 Thread CakeONaut
Hi! I am using a Linux host and I'm putting a plain vanilla install of the latest stable Cake here: '/home/net4/public_html/tst/wwwroot/cake' and the app is in the same place: '/home/net4/public_html/tst/wwwroot/app' I have discovered that I absolutely do not understand what the following are a

Path Confusion in setting up Cake

2007-09-28 Thread CakeONaut
Hi! I am using a Linux host and I'm putting a plain vanilla install of the latest Cake here: '/home/net4/public_html/tst/wwwroot/cake' and the app is in the same place: '/home/net4/public_html/tst/wwwroot/app' I have discovered that I absolutely do not understand what the following are and h

Problem with a function within a funtion for use within a view accessing both functions

2007-09-16 Thread CakeONaut
Hi! Being very very new to CakePHP I'm building a website admin registration form (based on a tutorial, but with some differences). I have a form that collects the prospective registrant's info but ALSO I'd like at the outset to show the administrator (who is the only person who can access thi

formatting a form

2007-09-16 Thread CakeONaut
Hi! I'm wondering how I might get a form to display so that the labels and the text fields are on the same line? Right now it is forcing the fields onto a second line. Thanks! -Will --~--~-~--~~~---~--~~ You received this message because you are subscribed to

Is this error related to PHP version?

2007-09-15 Thread CakeONaut
Hi! I was using : if ($this-User->save($this->params['form')) and getting back Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /home/hgi/public_html/tst/wwwroot/cake/app/controllers/users_controller.php on line 10 My host is using a pre-5.0 version of PHP. Is that my problem? I'm

paths and how to deal with no apache mod-rewrite

2007-09-15 Thread CakeONaut
Hi! My host uses apache but does not have mod_rewrite available right now. I'm wondering if I could be pointed to any information on how to a) have my application use regular urls b) have my urls made prettier (without using mod_rewrite) Are these possible? Thanks heaps! - W --~--~-

paths and rewriting them

2007-09-15 Thread CakeONaut
Sorry, please delete / ignore my last message about rewriting paths without mod_rewrite. I just discovered routes in the manual. Cheers! - W --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To

Thanks!

2007-09-15 Thread CakeONaut
To Chris Hartjes and to John David Anderson a very big THANKS for your fast responses!! This forum really is a brilliant resource, and this is another huge reason to cook web sites using Cake. I will definitely put something somewhere on the site that points to CakePHP as the framework. Hav

How to Turn Off the CakePHP(TM): etc. at the bottom of every page?

2007-09-15 Thread CakeONaut
Hi! I use Django at work but am impressed with I think will be a much faster development cycle possible with CakePHP. Anyhow, I have just started delving into CakePHP. Right now I get "CakePHP(TM):Rapid Development Framework" at the bottom of every page I create. Is this something I must hav