Tallbrick, In CakePHP 1.1 there was a method to override the default HTML output by placing a file called "tags.ini.php" in your /app/config directory. In CakePHP 1.2, that same override can be achieved by using creating a file called "tags.php" in /app/config. There is one extra step for 1.2, though, which is adding an app-wide helper file (which loads that tag override file).
See http://groups.google.com/group/cake-php/browse_thread/thread/ef3892bbe6c936c7/0297f67bf702f72a?hl=en&lnk=gst&q=tags.php#0297f67bf702f72a for the original discussion, and also see Trac ticket 2081 for the fix (https://trac.cakephp.org/ticket/2081). I've moved away from using custom HTML overrides via the tags.php file to just doing my best with the default HTML that CakePHP spits out. In most cases it works great. Also, as RichardAtHome mentioned, the Form helper is pretty flexible. For example, if you want just the basic radio button in a `div` element, you would do this: <?php echo $form->input('Model.field', array('type' => 'radio', 'options' => array('label' => 'This is an option.'))); ?> If you wanted to wrap your own element around the radio input and label, do something like this: <p class="myClass"><?php echo $form->radio('Model.field', array('label' => 'This is an option.')); ?></p> The second method works great since you are wrapping the default HTML in a custom wrapper for use as a CSS hook. --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---