Hello there! Welcome to Youjoomla Support Forums

We are Web Development Company specializing in Joomla Templates , Joomla Extensions and WordPress Themes development . You are not able to see some forum threads due to your memberhip level. To unlock all forums and special customer support please take few moments to signup . If you are just searching for free joomla templates , or free joomla extension support simply head to our Free Joomla Support forums and open a new thread. Our moderators will help you as soon as possible. To spead up the response time please take few seconds and go over forum rules

Have fun!

[SOLVED] Registration redirect and reg info massage

03-30-2008, 09:00 PM
# 11 (permalink)
anthonyh
Ok. I placed the line <jdoc:include type=\message\ /> in the index.php of the template. It works indeed now. Only its not a pretty solution as there appears a notice on top of the page with the message:

Your account has been created and an activation link has been sent to the e-mail address you entered. Note that you must activate the account by clicking on the activation link when you get the e-mail before you can login.

But its on the same page. I was hoping for a redirection or something.
03-30-2008, 09:10 PM
# 12 (permalink)
CProject60
Thats the way it suppose to work.

Welcome TO Joomla!
03-30-2008, 09:30 PM
# 13 (permalink)
neo
anthonyh wrote:
Quote:
Ok. I placed the line <jdoc:include type=\message\ /> in the index.php of the template. It works indeed now. Only its not a pretty solution as there appears a notice on top of the page with the message:

Your account has been created and an activation link has been sent to the e-mail address you entered. Note that you must activate the account by clicking on the activation link when you get the e-mail before you can login.

But its on the same page. I was hoping for a redirection or something.
open

components/com_registratiron/registration.html.php

add

Code:

<jdoc:include type=\message\ />
after line 29
it should look like this

Code:

<form action=\index.php\ method=\post\>
<jdoc:include type=\message\ />
now the massage is not on the top of the page but in mainbody

I am trying to see if I can get redirect working ,
if you guys know direct link to login page for J1.5 I need it to test the hack

03-30-2008, 09:38 PM
# 14 (permalink)
neo
this is better add it in template index.php just above

<jdoc:include type=\message\ />
<jdoc:include type=\component\ />

I will try to add this as default in future templates

as for redirect I need direct link to login page
03-30-2008, 10:00 PM
# 15 (permalink)
anthonyh
Hi, thanks for the help.

I dont have the com_registration in my components directory so that part I couldnt do. There is some info I found at: http://forum.joomla.org/viewtopic.php?f=431&t=265750

<div id=\maincolumn\>
<jdoc:include type=\message\ />
<div class=\nopad\>
<?php if($this->params->get(showComponent)) : ?>
<jdoc:include type=\component\ />
<?php endif; ?>
</div>
</div>

They say when you place this code it should be placed in the middle instead of the top of the page. But I dont know where to put this code in the template index.php
03-30-2008, 10:03 PM
# 16 (permalink)
neo
follow the instructions above for template index.php ,
yes I made mistake it is com_user in J1.5 but you dont need it just edit template index.php
03-30-2008, 10:27 PM
# 18 (permalink)
anthonyh
Im sorry, Im a little lost.
This goes beyond my current newbie skills. I tried to copy paste the codes mentioned above but I am definitely placing them in the wrong place in the index.php.
My pages get constantly messed up. I placed

Code:

<jdoc:include type=\message\ />
back at the top of the page and it works again with the notice on the top of the page.
03-30-2008, 10:38 PM
# 20 (permalink)
neo
WHO IS THE MASTER!

heheheh you owe me an awesome review

ok ready ?
go

components/com_user/controler.php

line 268
change

Code:

$this->register();
to

Code:

		$this->register();
	    $this->setRedirect(http://www.youjoomla.com);
if you want them to go to login page it would be

Code:

		$this->register();
	    $this->setRedirect(index.php?option=com_user&view=login);

please clap now
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Powered by vBulletin®
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.

Members Login

Username
Password