Problems with javascript/prototype.js

2008-12-16 Thread Todd M
I'm trying to play around with javascript and facebook. I decided to take a shot at just added another record with this article. http://bakery.cakephp.org/articles/view/how-to-create-multirecord-forms I get the following error: URLExceptionInvalid scheme for url (javascript:new Ajax.Updater ('new

Re: correct way to create multiple text forms in a table

2008-12-03 Thread Todd M
> text boxes in a view and ... what? > > What's the model name, and what models is it associated to (and how)? > > Or is it 4 separate forms? 5? > > On Wed, Dec 3, 2008 at 12:27 AM, Todd M <[EMAIL PROTECTED]> wrote: > > > I'm creating a table where the

correct way to create multiple text forms in a table

2008-12-02 Thread Todd M
I'm creating a table where the top header row and left column are text, but everything in the middle will be a text box. So if the table was 5x5, there would be a 4x4 matrix of text boxes. Each of these text inputs will represent a different entry to be saved at the same model. My plan is to have

Re: Newbie help with form helpers

2008-11-12 Thread Todd M
ault sets default select to the second one >   e($form->input('Model.field',array > ('legend'=>false,'type'=>'radio','options'=>array > ('value1'=>'display1','value2'=>'display2'),

Newbie help with form helpers

2008-11-12 Thread Todd M
Hey, I can't seem to find in the cake docs and api what the $option array is for the radio form helper. In the cake1.2 documentation section 7.3.5 just doesn't seem to explain how to use it. Probably something easy, but not getting good google searches either. If I want to do something like this

Re: Using _POST array to route to correct controller/action

2008-11-03 Thread Todd M
Looking at the 22 Simple User Authentication in 1.2. Seems they do things simlar with the log in. My prior comment I stated that I would call the dispatcher. It looks from the example that I should do a redirect call instead. -T On Nov 3, 12:57 pm, Todd M <[EMAIL PROTECTED]> wrote: &

Re: Using _POST array to route to correct controller/action

2008-11-03 Thread Todd M
m missing something basic that handles this workaround. Regards, Tdd On Nov 3, 11:34 am, "Marcelo Andrade" <[EMAIL PROTECTED]> wrote: > On Mon, Nov 3, 2008 at 10:09 AM, Todd M <[EMAIL PROTECTED]> wrote: > > > I'm a newbie here, but I think I understand the whole u

Using _POST array to route to correct controller/action

2008-11-03 Thread Todd M
I'm a newbie here, but I think I understand the whole url/controller/ action/parm1/parm2 routing convention. However is there a way that you use the _POST array to rout to the correct action/parm's For instance, I'll always be using the www.example.net/my_controller, which takes me to the my_con

Re: htaccess problems.

2008-10-31 Thread Todd M
where cake directories were. Thanks a ton. -T On Oct 31, 2:39 pm, Anupom <[EMAIL PROTECTED]> wrote: > Did you try adding something like this? > > RewriteBase /home/net/example/html/cake1.2/ > > > > On Sat, Nov 1, 2008 at 12:06 AM, Todd M <[EMAIL PROTECTED]> wrot

Re: htaccess problems.

2008-10-31 Thread Todd M
he .htaccess is necessary? good practice? > > > > .htaccess is necessary for pretty URLs and is certainly a good thing to have > :) You can though setup your cake to not to use .htaccess. > > Also please check if apache rewrite module is turned on in your web server. > > Tha

htaccess problems.

2008-10-31 Thread Todd M
I'm finding problems with what I believe is with .htaccess in the cake_install_directory. My current web server only allows the /html directory as a HTML root. To reduce complexity, I thought it would be good to start with untaring the CakePHP in that directory. so my directory appears something