Joomla! Discussion Forums



It is currently Thu Nov 26, 2009 3:41 pm (All times are UTC )

 




Post new topic Reply to topic  [ 3 posts ] 
Author Message
Posted: Tue Apr 07, 2009 7:57 pm 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Sat Mar 14, 2009 6:55 pm
Posts: 4
Location: Roosendaal
hey everybody,

i searched the site but i didn't find what i was looking for.

i have a login module on my site, and if people want to register, they have to go to this link:

http://www.jvmdigital.com/component/user/?task=register

but i want it to be:

http://www.jvmdigital.com/signup

its much better like that, but i don't know how to do it...

can anyone help me?


Top
  E-mail  
 
Posted: Mon Apr 13, 2009 8:35 pm 
User avatar
Joomla! Exemplar
Joomla! Exemplar
Offline

Joined: Thu Aug 18, 2005 9:58 am
Posts: 8103
Location: Hillerød - Denmark
Hi droida,

Its possible alrigth, but it looks like a simple workaround with a hidden menu item and a simple module override is needed.

What you could do to get your 'signup' link is to:
1. Create a new "hidden~unpublished" menu module.
Goto Menus->Menu Manager->New and name your menu module something like 'menhidden'.
When saved you can see a new unpublished module in the (Extensions->Module Manager->See menhidden (unpublished)). Just keep it unpublished.

2. Create a new published link in the menhidden menu.
Goto Menus->menhidden->New->Choose 'User'->Click 'Default Registration Layout'
Give it a Title and the important field here is Alias where you type 'signup'

Now you have a published link, in an unpublished menu module.

Can see you use a mod_yoo_login module, and for this you can now create a simple template override to avoid touching the module code and instead use a override.

You will need to copy the file /modules/mod_yoo_login/tmpl/default.php
to a new folder below the html folder in your active template.
Copy the file default.php to: /templates/rt_mixxmag_j15/html/mod_yoo_login/

Open the file in the new location for to edit line 113
Code:
line 112 <span class="registration">
line 113 <a href="<?php echo JRoute::_( 'index.php?option=com_user&task=register' ); ?>"><?php echo JText::_( 'REGISTER'); ?></a>
line 114 </span>

where you replace the 'index.php?option=com_user&task=register' with 'signup'
Save this template override file and try check the link in frontend.

_________________
Ole Bang Ottosen - Joomla! Translation Coordination Team
Joomla Leadership Team - Production Working Group - i18n/l10n/translation

Webløsninger og professionel support http://www.ot2sen.dk | Dansk Joomla! support - http://joomla.dk/


Top
  E-mail  
 
Posted: Mon Apr 13, 2009 8:49 pm 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Sat Mar 14, 2009 6:55 pm
Posts: 4
Location: Roosendaal
you really helped me out, thank you!


Top
  E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

Quick reply

 



Who is online

Users browsing this forum: No registered users and 7 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 © 2000, 2002, 2005, 2007 phpBB Group