Registration - Change default "Create an account" link

rob_hawthorn 06 Aug, 2009
Hi,
I've created a site registration form using the pdf tutorial (it was very well put together I might add), it works successfully but I have a problem in that the "Create an account" link still goes back to the old joomla registration form.

My form is located at: http://pointzeromedia.com/index.php?option=com_chronocontact&Itemid=63

I have amended the htaccess.txt by adding the code advised in the following thread http://www.chronoengine.com/forums.html?cont=posts&f=2&t=10952:
if(($option == 'com_registration')&&($task == 'register'))mosRedirect('http://pointzeromedia.com/index.php?option=com_chronocontact&Itemid=63');

And I added the code advised on the final page of the tutorial (in "components\com_user\views\register\tmpl\default.php"), code:
<?php // no direct access
defined('_JEXEC') or die('Restricted access');
$mainframe->redirect('http://pointzeromedia.com/index.php?option=com_chronocontact&Itemid=63');
?>


But it still doesn't link to the new form, any suggestions are very much welcome and appreciated.

Regards,
Rob
somnie 06 Aug, 2009
Try without "http://pointzeromedia.com/"

i.e.
<?php // no direct access
defined('_JEXEC') or die('Restricted access');
$mainframe->redirect('index.php?option=com_chronocontact&Itemid=63');
?>
rob_hawthorn 06 Aug, 2009

Try without "http://pointzeromedia.com/"

i.e.

<?php // no direct access
defined('_JEXEC') or die('Restricted access');
$mainframe->redirect('index.php?option=com_chronocontact&Itemid=63');
?>



Wooohoooo thanks somnie works a treat, much appreciated.

Regards
Rob
This topic is locked and no more replies can be posted.