Re:Registration page redirection in Newsline templ
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. |
Re:Registration page redirection in Newsline templ
Thats the way it suppose to work.
Welcome TO Joomla! |
Re:Registration page redirection in Newsline templ
anthonyh wrote:
Quote:
components/com_registratiron/registration.html.php add Code:
<jdoc:include type=\message\ />it should look like this Code:
<form action=\index.php\ method=\post\>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 |
Re:Registration page redirection in Newsline templ
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 |
Re:Registration page redirection in Newsline templ
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 |
Re:Registration page redirection in Newsline templ
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 |
Re:Registration page redirection in Newsline templ
ok this is link to login page
index.php?option=com_user&view=login |
Re:Registration page redirection in Newsline templ
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\ /> |
Re:Registration page redirection in Newsline templ
not done still working on redirect:0
|
Re:Registration page redirection in Newsline templ
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();Code:
$this->register();Code:
$this->register();please clap now :) |
| All times are GMT -4. The time now is 03:10 PM. |
Powered by vBulletin®
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.