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!
Thread Tools
Display Modes

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

Members Login

Username
Password