Re: using ThickBox and jQuery

2008-01-04 Thread 1Marc
link('Link Title','test.html? height=300&width=300'); ?> -- Marc Grabanski http://marcgrabanski.com On Jan 4, 9:40 am, Travis <[EMAIL PROTECTED]> wrote: > Hi everyone, > > I'm new to the group here. I have been out of development since 2004, > so I'm just getting back into the swing of things.

Re: Individual Radio Buttons in CakePHP 1.2

2007-09-20 Thread 1Marc
Once again I answered my own question, here is what I did: tags['radio'] = '%s'; parent::__construct(); } } ?> On Sep 20, 10:33 am, 1Marc <[EMAIL PROTECTED]> wrote: > Let me clarify. I need some way for the radio buttons to generate > lab

Re: Individual Radio Buttons in CakePHP 1.2

2007-09-20 Thread 1Marc
Let me clarify. I need some way for the radio buttons to generate labels. Currently the $form->radio generates: Option 1 Option 2 Option 3 Here is the proper markup I want to generate: Option 1 Option 2 Option 3 On Sep 20, 9:55 am, 1Marc <[EMAIL PROTECTED]> wrote: > I figured

Re: Individual Radio Buttons in CakePHP 1.2

2007-09-20 Thread 1Marc
..etc I still can't figure out how to automatically generate labels for radio buttons. Does anyone know how to do this? On Sep 19, 6:50 pm, 1Marc <[EMAIL PROTECTED]> wrote: > What if I only want to create one individual radio button? In CakePHP > 1.2, $form->radio creates a se

Individual Radio Buttons in CakePHP 1.2

2007-09-19 Thread 1Marc
What if I only want to create one individual radio button? In CakePHP 1.2, $form->radio creates a set of radio widgets. In my case I have 8 radio buttons spread out through a results table that you can only select one. The 'in between text' doesn't cut it. - I will create these radio buttons

Re: Multiple Validation Rules Each with a Unique Message

2007-09-19 Thread 1Marc
I found out that this functionality is built into 1.2. Thank you Geoff your articles were very helpful. On Sep 17, 9:09 am, fr3nch13 <[EMAIL PROTECTED]> wrote: > Another way to do it is by triggering a method in your model from your > function, like so: > > Controller > class UsersController ex

Multiple Validation Rules Each with a Unique Message

2007-09-16 Thread 1Marc
I'm looking for a good way to add multiple validation rules each with its own error message. I'm looking at doing something like the following in the Module: class User extends AppModel { var $name = 'User'; var $validate = array( 'uname' => array(

Default Order in Module

2007-08-12 Thread 1Marc
Can I setup the module to sort by a field by default? For instance.. in the module i would setup something like, $order = "Amenity.title ASC" .. or something. Instead of always doing this: generateList(null, 'Amenity.title ASC') and by default generateList() would just grab the data by my order

Re: Default Controller View

2007-08-10 Thread 1Marc
fiddle with $this->params['action'] in > AppController::beforeFilter() but this is messy, and feels like a hack > > Geoff > --http://lemoncake.wordpress.com > > On Aug 10, 1:30 pm, 1Marc <[EMAIL PROTECTED]> wrote: > > > In the routes, can you setup a de

Default Controller View

2007-08-09 Thread 1Marc
In the routes, can you setup a default action for your app? For example: /my-url-here ... runs the default controller view (houses view being the default so it would act like ... houses/view/my-url-here) /properties/view/my-url-here ... would still run the properties controller view --~--~--

Default Controller Action

2007-08-09 Thread 1Marc
Can you setup a default controller action in the routes? For instance... /my-url-here would by default go to homes/view/my-url-here. It doesn't find an associated controller so it just defaults to the Homes Controller View. But if it finds a controller it does what is normal: /properties/view/