Register

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!

Joomla 2.5.1 and 1.7.5 update released: More info

We are ready for Joomla! 2.5: More info

Help us improve our website and get 1 month Free Club Membership More info

Joomla 1.6/1.7 Templates Conversion Tracker: More info

User Panel
User Name  Password   
Go Back   Youjoomla Support Forums > You Joomla > General questions

General questions All questions about our products and services can be posted here

Closed Thread
Old 03-30-2008, 10:00 PM   #11 (permalink)
Platinum License holder
 
anthonyh's Avatar
 
Join Date: Mar 2008
Location: Caribbean island
Posts: 37
Default 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.
anthonyh is offline  
Old 03-30-2008, 10:10 PM   #12 (permalink)
Unlicensed
 
CProject60's Avatar
 
Join Date: Aug 2007
Posts: 1,234
Default Re:Registration page redirection in Newsline templ

Thats the way it suppose to work.

Welcome TO Joomla!
CProject60 is offline  
Old 03-30-2008, 10:30 PM   #13 (permalink)
neo
 
neo's Avatar
 
Join Date: Mar 2005
Location: Clearwater, Florida
Posts: 10,302
Send a message via Skype™ to neo
Default Re:Registration page redirection in Newsline templ

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

neo is offline  
Old 03-30-2008, 10:38 PM   #14 (permalink)
neo
 
neo's Avatar
 
Join Date: Mar 2005
Location: Clearwater, Florida
Posts: 10,302
Send a message via Skype™ to neo
Default 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
neo is offline  
Old 03-30-2008, 11:00 PM   #15 (permalink)
Platinum License holder
 
anthonyh's Avatar
 
Join Date: Mar 2008
Location: Caribbean island
Posts: 37
Default 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
anthonyh is offline  
Old 03-30-2008, 11:03 PM   #16 (permalink)
neo
 
neo's Avatar
 
Join Date: Mar 2005
Location: Clearwater, Florida
Posts: 10,302
Send a message via Skype™ to neo
Default 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
neo is offline  
Old 03-30-2008, 11:04 PM   #17 (permalink)
neo
 
neo's Avatar
 
Join Date: Mar 2005
Location: Clearwater, Florida
Posts: 10,302
Send a message via Skype™ to neo
Default Re:Registration page redirection in Newsline templ

ok this is link to login page

index.php?option=com_user&view=login
neo is offline  
Old 03-30-2008, 11:27 PM   #18 (permalink)
Platinum License holder
 
anthonyh's Avatar
 
Join Date: Mar 2008
Location: Caribbean island
Posts: 37
Default 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\ />
back at the top of the page and it works again with the notice on the top of the page.
anthonyh is offline  
Old 03-30-2008, 11:29 PM   #19 (permalink)
neo
 
neo's Avatar
 
Join Date: Mar 2005
Location: Clearwater, Florida
Posts: 10,302
Send a message via Skype™ to neo
Default Re:Registration page redirection in Newsline templ

not done still working on redirect:0
neo is offline  
Old 03-30-2008, 11:38 PM   #20 (permalink)
neo
 
neo's Avatar
 
Join Date: Mar 2005
Location: Clearwater, Florida
Posts: 10,302
Send a message via Skype™ to neo
Default 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();
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
neo is offline  
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 11:46 AM.


All times are GMT -4. The time now is 11:46 AM. Powered by vBulletin®
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0