Youjoomla Support Forums (http://www.youjoomla.com/joomla_support/index.php)
-   YJ Pop login (http://www.youjoomla.com/joomla_support/forumdisplay.php?f=122)
-   -   Remove registration button (http://www.youjoomla.com/joomla_support/showthread.php?t=10153)

cheyennemtnman 05-30-2012 07:29 AM

Remove registration button
 
Buttons work for me... but I would like to eliminate the register button since I am using a Fabrik form for registration. Possible to remove registration button?

arefund 05-30-2012 11:15 AM

Hello cheyennemtnman.

Please follow the forum rules and don't jump into others thread.

Please go to modules/mod_yj_pop_login/tmpl/default.php/ and comment the call for the registration button, line #54 #55 #56:

<?php $usersConfig = &JComponentHelper::getParams( 'com_users' ); if ($usersConfig->get('allowUserRegistration')) : ?>
<a href="javascript:;" onclick="this.blur();showThem('reg_pop');return false;" id="openReg">Register</a>
<?php endif; ?>

madass 05-04-2013 10:38 PM

Quote:

Originally Posted by arefund (Post 46290)
Hello cheyennemtnman.

Please follow the forum rules and don't jump into others thread.

Please go to modules/mod_yj_pop_login/tmpl/default.php/ and comment the call for the registration button, line #54 #55 #56:

<?php $usersConfig = &JComponentHelper::getParams( 'com_users' ); if ($usersConfig->get('allowUserRegistration')) : ?>
<a href="javascript:;" onclick="this.blur();showThem('reg_pop');return false;" id="openReg">Register</a>
<?php endif; ?>

I just cant get how to take of the registration popup i opened the file but i'm no good with php.. learned on html..

so what do i have to erase in the php file to erase the popup and also the forgot and other link below.. thanks

KingCobra 07-01-2013 04:47 AM

Hello,

I also want to remove the registration part, but I'm not understanding your phrase: comment the call for the registration button

Note that I have little php knowledge, but know how to change the files if I'm told how to!

In the Default Joomla Login Module I see also this kind of line:

$usersConfig = JComponentHelper::getParams('com_users');if ($usersConfig->get('allowUserRegistration')) : ?>

and there the Module responds to the Globel Joomla Configuration when you turn off registration for public.
Why doesn't the YJ Poupu Login module do that?

Please assist.

Best regards,

Chris


All times are GMT -4. The time now is 08:31 PM.

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