The Joomla! Forum ™



Forum rules


Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Fri Mar 13, 2009 11:47 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Fri Mar 13, 2009 11:33 am
Posts: 1
How I can show modules in the Registration Page, perpetually?!

To better undestrand I show to you an exemple:
http://customers.speaking-central.com/

If you click on "Create an account" (from the standard Joomla Login Module) you will see only the registration form and no modules.


P.S.: I tryed to create a direct link (Menu Item Type: Internal Link -> User -> Default Registration Layout) to the Registration Page... it works!
... but when I click on "Create an account" (from the standard Joomla Login Module) I still see only the registration form and no modules.


Top
 Profile  
 
PostPosted: Fri Mar 13, 2009 11:21 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Tue Aug 22, 2006 12:56 am
Posts: 103
Location: NE Ohio
I don't know if this is the "best" or "right" way to do this, but it works. Use a template override.

Copy the default.php from here:

/modules/mod_login/tmpl/default.php

to here:

templates/[yourtemplatename]/html/mod_login/default.php

Notice in your site what page has the module layout you would like. Note the Itemid=xx at the end of the url (or Itemid=1 for the home page). Edit the newly moved default.php file. At around line 66 you'll see this line:

<a href="<?php echo JRoute::_( 'index.php?option=com_user&task=register' ); ?>">

Change it to this:

<a href="<?php echo JRoute::_( 'index.php?option=com_user&task=register&Itemid=xx' ); ?>">

making sure to replace the xx with the itemid number you want to use. Save it, and you should be good to go.

For help with template overrides, look here: http://docs.joomla.org/How_to_override_ ... omla!_core

Hope that works for you!!

_________________
Bill Joseph
http://twitter.com/billjoseph


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 



Who is online

Users browsing this forum: Baidu [Spider] and 24 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group