I don't want Login function
October 08 Joomla Templates
- GK User
- Fri Dec 12, 2008 11:41 am
I want to get rid of the Login and Registration function. It doesn't help to inactivate the login module. Even when I delete the module I can't get rid of the function.
Think I must hack some file. Pleas help! What file? How to?
Think I must hack some file. Pleas help! What file? How to?
-
- Fresh Boarder
- GK User
- Sat Dec 13, 2008 10:41 pm
rodvitner wrote:
I don't want this Login also, but they don't care about what we want. Paying is all they are interested in.
As you can see there are a lot of questions withou ANSWERS from the Gavick Team?
I want to get rid of the Login and Registration function. It doesn't help to inactivate the login module. Even when I delete the module I can't get rid of the function.
Think I must hack some file. Pleas help! What file? How to?
I don't want this Login also, but they don't care about what we want. Paying is all they are interested in.
As you can see there are a lot of questions withou ANSWERS from the Gavick Team?
-
- Fresh Boarder
- GK User
- Sun Dec 14, 2008 2:31 am
Dear plccorp
Why don't read the Manual before say anything?
The Login and Register button are enable or disable on the template configuration.
Go to "Extensions > Template manager", select the The News II template and change parameters.
That's all you have to do.
Why don't read the Manual before say anything?
The Login and Register button are enable or disable on the template configuration.
Go to "Extensions > Template manager", select the The News II template and change parameters.
That's all you have to do.
-
- Platinum Boarder
- GK User
- Sun Dec 14, 2008 11:20 am
Seichinha wrote:
No it doesn't. The manual says nothing about that. The register form is still left. And that is not very clever. Why? What is the meaning with a register form when you can't log in?
However. I managed to get rid of it by hacking the index.php file in the template. I don't remember how and I don't think this is the right thing to do. But after an hour or two I figured it out...
Dear plccorp
Why don't read the Manual before say anything?
...
That's all you have to do.
No it doesn't. The manual says nothing about that. The register form is still left. And that is not very clever. Why? What is the meaning with a register form when you can't log in?
However. I managed to get rid of it by hacking the index.php file in the template. I don't remember how and I don't think this is the right thing to do. But after an hour or two I figured it out...
-
- Fresh Boarder
- GK User
- Sun Dec 14, 2008 12:36 pm
Hi
You are right about the "register" button. Didn't recall this.
I apologize for this fault on the Manual.
The Register button have a condition set on index file with the allow User Registration funtion in joomla.
So, if you set on "User Settings" to not allow registration, the button will disappear.
Cheers
You are right about the "register" button. Didn't recall this.
I apologize for this fault on the Manual.
The Register button have a condition set on index file with the allow User Registration funtion in joomla.
So, if you set on "User Settings" to not allow registration, the button will disappear.
Cheers
-
- Platinum Boarder
- GK User
- Fri Feb 13, 2009 4:23 am
How can we hide the Login module....i mean i got rid of the button....but the space on the top of the page still existing...Can i get rid of that whole Position on the page?
-
- Fresh Boarder
- GK User
- Fri Feb 13, 2009 6:13 am
Hello.. try it
At your Index.php
Find it
Replace for it
If you Have other issue let me know
Regards
MV
At your Index.php
Find it
- Code: Select all
<div id="member_area">
<div class="lf">
<?php if($login_button) : ?>
<a href="#" id="btn_login"><span>Login</span></a>
<?php endif; ?>
<?php
$usersConfig = &JComponentHelper::getParams( 'com_users' );
if ($usersConfig->get('allowUserRegistration')) : ?>
<a href="<?php echo JRoute::_( 'index.php?option=com_user&task=register' ); ?>"><span><?php echo JText::_('REGISTER'); ?></a>
</span>
</a>
<?php endif; ?>
</div>
<?php if ($this->countModules('advert1')) : ?>
<div class="rf">
<jdoc:include type="modules" name="advert1" style="raw" />
</div>
<?php endif; ?>
</div>
Replace for it
- Code: Select all
<!--<div id="member_area">
<div class="lf">
<?php if($login_button) : ?>
<a href="#" id="btn_login"><span>Login</span></a>
<?php endif; ?>
<?php
$usersConfig = &JComponentHelper::getParams( 'com_users' );
if ($usersConfig->get('allowUserRegistration')) : ?>
<a href="<?php echo JRoute::_( 'index.php?option=com_user&task=register' ); ?>"><span><?php echo JText::_('REGISTER'); ?></a>
</span>
</a>
<?php endif; ?>
</div>
<?php if ($this->countModules('advert1')) : ?>
<div class="rf">
<jdoc:include type="modules" name="advert1" style="raw" />
</div>
<?php endif; ?>
</div>-->
If you Have other issue let me know
Regards
MV
-
- Senior Boarder
- GK User
- Fri Feb 13, 2009 2:32 pm
messes up all formatting on the site.
I attached the top screen shot of the site.
I attached the top screen shot of the site.
-
- Fresh Boarder
- GK User
- Fri Feb 13, 2009 2:38 pm
here is the screenshot.
-
- Fresh Boarder
- GK User
- Fri Feb 13, 2009 6:19 pm
I provide of this code because i made a test locally and it works for me
If you dont have other modification use this index.php
Regards
MV
If you dont have other modification use this index.php
Regards
MV
-
- Senior Boarder
- GK User
- Fri Feb 13, 2009 6:22 pm
Here is the file
-
- Senior Boarder
- GK User
- Sat Feb 14, 2009 1:06 am
golden! thanks!
-
- Fresh Boarder
- GK User
- Sat Feb 14, 2009 1:12 am
Glad that you solved it.
Regards
MV
Regards
MV
-
- Senior Boarder
- GK User
- Wed Feb 09, 2011 9:29 pm
I know this is an old thread but how can I move the register button to the far right?
-
- Junior Boarder
- teitbite
- Thu Feb 10, 2011 5:46 pm
Hi
And where You want to have it and what about login ? It's in one layer so it will be hard to split it (but not impossible).
And where You want to have it and what about login ? It's in one layer so it will be hard to split it (but not impossible).
-
- Moderator
- GK User
- Thu Feb 10, 2011 6:42 pm
I don't mind leaving the bar where it is, I just want to align the register button to the far right. The login button will be disabled.
-
- Junior Boarder
- teitbite
- Sat Feb 12, 2011 12:35 pm
-
- Moderator
17 posts
• Page 1 of 1