How to link chrono. registration form ONLY and...

hotbit 21 May, 2008
Hi,
In short, How to link chronoforms registration form and not display standard Joomla "Create an Account" or "Register" link to standard Joomla registration form?
As I see Register Plugin many people find useful, but I couldn't find solution for this... And to have 2 different "Register" forms on the website is a bit confusing.

2nd thing - is any simple way to create "Update my chrono Profile" form? Chrono Profile Plugin just displays data...

Cheers,
H
GreyHead 21 May, 2008
Hi hotbit,

As far as I recall you either have to edit the standard login code or unpublish the mambot and replace it with one of your own.

There is a YooLogin Module that gives more control over the login box that might be useful.

Bob
hotbit 21 May, 2008
Thanks Bob,
I will try this module!

Cheers,
H
kirkhayes 23 May, 2008
For the create new account to point to the chronoform do the following:
Edit the mod_login default.php lines 60 through 61 from
<li>
			<a href="<?php echo JRoute::_( 'index.php?option=com_user&task=register' ); ?>">
				<?php echo JText::_('REGISTER'); ?></a>
		</li>


Change to:
<li>
			<a href="<?php echo JRoute::_( 'index.php?option=com_chronocontact&chronoformname=Moto' ); ?>">
				<?php echo JText::_('REGISTER'); ?></a>
		</li>

Of course you need to change to your formname url
kirkhayes 23 May, 2008
<li>
			<?php echo JRoute::_( 'index.php?option=com_user&task=register' ); ?>
				
		</li>


to

<li>
			<?php echo JRoute::_( 'index.php?option=com_chronocontact&chronoformname=Moto' ); ?>
				
		</li>
kirkhayes 23 May, 2008
I don't know what the issue is with this forum. The preview of the code looked fine, but it is not showing up when posted soi I have attached two screen shots of the code.
kirkhayes 23 May, 2008
One last time:

Change the following line in mod_login default.php (around line#60)
<li><a href="<?php echo JRoute::_( 'index.php?option=com_user&task=register' ); ?>"><?php echo JText::_('REGISTER'); ?></a></li>
to
<li><a href="<?php echo JRoute::_('index.php?option=com_chronocontact&chronoformname=Moto' ); ?>"><?php echo JText::_('REGISTER'); ?></a></li>
kirkhayes 23 May, 2008
OK, this forum is really messed up. I can't attach screen shots...I can't embed any code.

So just PM me and I will email you on how to change the "create account" link to point your form !!!
This topic is locked and no more replies can be posted.