The Joomla! Forum ™






Post new topic Reply to topic  [ 42 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: Fri Aug 13, 2010 4:25 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Aug 13, 2010 4:22 pm
Posts: 14
Agree with the above, can remove the prompts, but how do we remove the two little bullet points ?

Thanks!


Top
 Profile  
 
PostPosted: Fri Oct 22, 2010 4:39 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Oct 20, 2010 9:59 am
Posts: 9
cjcrun wrote:
I had added the mod_login in the HTML folder of the template as was previously instructed, and it worked with great success and this worked wherever I had published the login module...HOWEVER I have some pages/links set to 'Registered' and they show a login by default (especially if the login module isn't specifically published on that page). This login still contains the links for Forgot password and forgot username.

This login file is pulled from:
../components/com_user/views/login/tmpl/default_login.php (real structure)

If you are experiencing that you are still getting the links after reworking the mod_login file, this may be your issue. You can make component overrides similar to the way you would module overrides eg:
this new file would be in:

../templates/your_template/html/com_user/login/default_login.php (example structure)

*I have found if you follow the directory structure as it is in the component, the override doesn't work. Use the example structure instead.

Hope this helps. :D


r0sc0,
in case you still need it - you'll have to repeat these steps and then edit the default_login.php by removing whole ul section out of it. Once when the links are gone the frame of the login will stretch as it is not contained by the links anymore. That might need little more work but the bullets will be gone!


Top
 Profile  
 
PostPosted: Fri Oct 22, 2010 5:11 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Oct 20, 2010 9:59 am
Posts: 9
I think I'll post this wee solution here as well as it's about login form too!
I've built a site with different banners for each page. However every time I'd hit login button with an empty form, it'd redirect me back to the login page (my breadcrumb would show home > login) - but no banner! So I looked at the url it'd give me and last words where login and return. All it was need was to remove the section of last 3 lines in the very same default_login.php.
Only thing is my breadcrumb now shows home > login > login.

I just wonder if messing with these overrides puts security somewhat in jeopardy?

Edited:
Scratch that, I totally disabled login with that removal!


Top
 Profile  
 
PostPosted: Thu Nov 04, 2010 12:38 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Thu Nov 04, 2010 12:34 pm
Posts: 1
Location: UK
cjcrun wrote:
I had added the mod_login in the HTML folder of the template as was previously instructed, and it worked with great success and this worked wherever I had published the login module...HOWEVER I have some pages/links set to 'Registered' and they show a login by default (especially if the login module isn't specifically published on that page). This login still contains the links for Forgot password and forgot username.

This login file is pulled from:
../components/com_user/views/login/tmpl/default_login.php (real structure)

If you are experiencing that you are still getting the links after reworking the mod_login file, this may be your issue. You can make component overrides similar to the way you would module overrides eg:
this new file would be in:

../templates/your_template/html/com_user/login/default_login.php (example structure)

*I have found if you follow the directory structure as it is in the component, the override doesn't work. Use the example structure instead.

Hope this helps. :D


This has fixed my problem for me. Thank you cjcrun.


Top
 Profile  
 
PostPosted: Mon Jan 31, 2011 8:44 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Mon Jan 31, 2011 8:36 pm
Posts: 1
I just deleted everything listed below and it worked great! :-)

<ul>
<li>
<a href="<?php echo JRoute::_( 'index.php?option=com_user&view=reset' ); ?>">
<?php echo JText::_('FORGOT_YOUR_PASSWORD'); ?></a>
</li>
<li>
<a href="<?php echo JRoute::_( 'index.php?option=com_user&view=remind' ); ?>">
<?php echo JText::_('FORGOT_YOUR_USERNAME'); ?></a>
</li>
<?php
$usersConfig = &JComponentHelper::getParams( 'com_users' );
if ($usersConfig->get('allowUserRegistration')) : ?>
<li>
<a href="<?php echo JRoute::_( 'index.php?option=com_user&view=register' ); ?>">
<?php echo JText::_('REGISTER'); ?></a>
</li>
<?php endif; ?>
</ul>


Top
 Profile  
 
PostPosted: Sun Mar 27, 2011 3:40 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Jun 03, 2009 12:57 am
Posts: 24
r0sc0 you would probably want to remove the <li> tags.

By the way I would like to thank everyone who contributed to this thread as it has helped me to remove/customise my own login pages too :)


Top
 Profile  
 
PostPosted: Thu Mar 31, 2011 11:26 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Thu Mar 31, 2011 11:21 pm
Posts: 1
Thank you

_________________
http://www.avonsepetim.com / http://www.avonsepetim.com


Top
 Profile  
 
PostPosted: Wed Apr 13, 2011 9:41 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Sep 27, 2010 10:17 am
Posts: 12
do you how how to replace the basic login form from joomla with the yoologin pluggin ?
I just want to use yoologin on my private page instead of changing all the code in joomla

thank you


Top
 Profile  
 
PostPosted: Thu Jan 12, 2012 10:11 am 
Joomla! Intern
Joomla! Intern

Joined: Mon Mar 14, 2011 2:19 am
Posts: 84
It works IF you got more than one login(s)

update gid to 25 in table jos_users by phpMyAdmin
Attachment:
q104.jpg

then assign new password to your forgot login
in site > user manager


You do not have the required permissions to view the files attached to this post.


Top
 Profile  
 
PostPosted: Mon Oct 22, 2012 2:38 am 
Joomla! Intern
Joomla! Intern

Joined: Mon Mar 14, 2011 2:19 am
Posts: 84
Dear all,

I got another password problem, it is MySQL user
but NOT backend administrator login account

Again, this is about the MySQL user who connect to the database

If I remember correctly, I input the MySQL database user password once in the installation page.

Was such password record in Joomla code, one of the .php file?

Thank you and looking forward to reply.


Top
 Profile  
 
PostPosted: Wed Mar 27, 2013 8:00 pm 
User avatar
Joomla! Intern
Joomla! Intern

Joined: Tue May 17, 2011 2:55 am
Posts: 53
Location: Chicago, USA
dizzi wrote:
Hi, there are a few ways to do this. However, since they involve editing core files , which is not an advisable practive, we shall use a safe option which uses template overriding. This change will only affect your Rhuk MilkyWay template.

1. Create a subdirectory named mod_login in ../templates/rhuk_milkyway/html
2. Copy the two files (index.html and default.php) from the ../modules/mod_login/tmpl directory and place them in the subdirectory created above
3. Open the default.php and edit the following lines as shown:

Code:
<li>
  <a href="<?php echo JRoute::_( 'index.php?option=com_user&view=reset' ); ?>">
  <?php //echo JText::_('FORGOT_YOUR_PASSWORD'); ?></a>
</li>
<li>
  <a href="<?php echo JRoute::_( 'index.php?option=com_user&view=remind' ); ?>">
  <?php //echo JText::_('FORGOT_YOUR_USERNAME'); ?></a>
</li>


Note I have just commented out the "echo" commands in lines 56 and 60 (ie preceded them with //).

Regards


cjcrun wrote:
I had added the mod_login in the HTML folder of the template as was previously instructed, and it worked with great success and this worked wherever I had published the login module...HOWEVER I have some pages/links set to 'Registered' and they show a login by default (especially if the login module isn't specifically published on that page). This login still contains the links for Forgot password and forgot username.

This login file is pulled from:
../components/com_user/views/login/tmpl/default_login.php (real structure)

If you are experiencing that you are still getting the links after reworking the mod_login file, this may be your issue. You can make component overrides similar to the way you would module overrides eg:
this new file would be in:

../templates/your_template/html/com_user/login/default_login.php (example structure)

*I have found if you follow the directory structure as it is in the component, the override doesn't work. Use the example structure instead.


For Module - Use Top
For Component - Use Bottom

_________________
http://www.AdeptDesigns.com
Complete Website Solutions


Top
 Profile  
 
PostPosted: Fri May 03, 2013 9:10 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Fri May 03, 2013 9:03 pm
Posts: 1
I am working on a site for a client, and I am having difficulty removing the links as follows:
http://minorudental.com/index.php?optio ... iew=remind
http://minorudental.com/index.php?optio ... view=reset

and

http://minorudental.com/component/users/?view=login

Google has created links to these sub directories, which I have asked to have them removed, and I am wondering how I can remove these pages from the front end.

I have gone through components and modules to see if I needed to turns something off, and I also turned off allow user registration in the global configurations.

I can't figure out where these pages are being pulled from.

Thanks for your time.
Jennifer


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 42 posts ]  Go to page Previous  1, 2



Who is online

Users browsing this forum: No registered users and 4 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® Forum Software © phpBB Group