I have a register action in my site to allow the guest user to create a new account for him.
Also I have a button in my index page with a link to the register action and that’s where my problem begins. I tried with this:
<?php echo CHtml::button('Register', array('submit' => array('site/register'))); ?>
When I click the button nothing happens. I also tried with a link:
<?php echo CHtml::link('LinkText',array('site/register'),array('class'=>'btn_registro')); ?>
And it works perfectly but… I want a button !! hehe
I’d appreciate any help please. :S