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!

Enable registration

07-27-2013, 06:12 AM
# 1 (permalink)
KingCobra
Hello,

In another thread someone asked to remove the registration part of YJ Popup Login module

The answer was:
Quote:
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; ?>

But I'm not understanding your phrase: comment the call for the registration button?
What to do?

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


In the Default Joomla Login Module I see also the same kind of line as above mentioend:

Quote:
<?php $usersConfig = JComponentHelper::getParams('com_users');if ($usersConfig->get('allowUserRegistration')) : ?>
and there the Module responds to the Global Joomla Configuration when you turn off registration for public.
Why doesn't the YJ Popup Login module respond to that?

In th first thread I didn't get an answer, but I hope now somebody will!!??

Best regards,

Chris

Are you sure your are posting in product assigned forum?: Yes

What is your CMS version?: Joomla 2.5

MySQL Version: 5.x

PHP version: 5.x

Link to installation: Biljartvereniging ALM

Have you edited any files? If yes tell us which ones.: Yes

Is this personal or client website?: Personal
It's nice to be good, but it's better to be nice!
07-31-2013, 09:37 AM
# 3 (permalink)
KingCobra
Hello Neo,

I tried it this way
Quote:
51 <!-- registration and login -->
52 <div class="poping_links"> <?php echo $params->get('pretext'); ?><br />
53 <a href="javascript:;" onclick="showThem('login_pop');return false;" id="openLogin">Login</a>
57 <br />
58 <a href="<?php echo JRoute::_( 'index.php?option=com_users&view=reset' ); ?>"><?php echo JText::_('FORGOT_YOUR_PASSWORD') ?></a> | <a href="<?php echo JRoute::_( 'index.php?option=com_users&view=remind' ); ?>"><?php echo JText::_('FORGOT_YOUR_USERNAME') ?></a> </div>
and this way:

Quote:
51 <!-- registration and login -->
52 <div class="poping_links"> <?php echo $params->get('pretext'); ?><br />
53 <a href="javascript:;" onclick="showThem('login_pop');return false;" id="openLogin">Login</a>
54 //<?php $usersConfig = &JComponentHelper::getParams( 'com_users' ); if ($usersConfig->get('allowUserRegistration')) : ?>
55 //<a href="javascript:;" onclick="this.blur();showThem('reg_pop');return false;" id="openReg">Register</a>
56 <?php endif; ?>
57 <br />
58 <a href="<?php echo JRoute::_( 'index.php?option=com_users&view=reset' ); ?>"><?php echo JText::_('FORGOT_YOUR_PASSWORD') ?></a> | <a href="<?php echo JRoute::_( 'index.php?option=com_users&view=remind' ); ?>"><?php echo JText::_('FORGOT_YOUR_USERNAME') ?></a> </div>
But either way the registration part is there!?
Did I do something wrong?

Best regards,

Chris
It's nice to be good, but it's better to be nice!
08-08-2013, 03:43 AM
# 5 (permalink)
KingCobra
I did!!!

As you can read in my post you see I removed lines 54, 55 and 56, but the Registration part is still there.

Same result when I put // before those lines.

What can I do more then follow your guidelines?

I really like the Popup login as shown in the demo so I don't give up yet!
It's nice to be good, but it's better to be nice!
08-11-2013, 09:47 AM
# 7 (permalink)
KingCobra
It's this file:
modules/mod_yj_pop_login/tmpl/default.php/

If you want I can send you login details, so you can take look.
AceFTP is installed
It's nice to be good, but it's better to be nice!
08-13-2013, 05:44 PM
# 9 (permalink)
neo
I just figured out that you are talking about HD Channel template login module , it is not as default mod login, so you want the whole registration removed and have just login instead?
Thread Tools
Display Modes

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

Members Login

Username
Password