Forum Support

 
Advanced Search


[1]

Offline cadom
Free Member
Posts: 6
Posted on: March 31, 2011, 01:17:47 AM

Hi,

I would like to know if the LOGIN button on the mobile version is based on the default login system of joomla 1.6.

The question is that Im using community builder system (CB) and Im not sure if the LOGIN button on the mobile version sees this setting.

Regards,
Ric
Logged

Offline mikek
Free Member
Posts: 28743 WWW
Posted on: March 31, 2011, 07:21:36 AM

Hello,

Yes, this links to the default Joomla login. If you need to change this you would need to edit the file:

libs/mobile_device_layout.php

And edit:

<?php if ($s5_mobile_device_login == "enabled") { ?>
         
            <div id="s5_md_login_wrap">
            <div id="s5_md_login_wrap_inner">
            
               <?php if ($user->gid <=0) { ?>
               
                  <a id="s5_md_login" href="<?php echo JRoute::_( 'index.php?option=com_user&view=login' ); ?>"><?php echo JText::_('LOGIN'); ?>[/url]
            
               <?php } ?>
               
               <?php if ($user->gid >0) { ?>
               
                  <a class="button" id="s5_md_login" href="<?php echo JRoute::_( 'index.php?option=com_user&view=login&task=logout' ); ?>"><?php echo JText::_('LOGOUT'); ?>[/url]
            
               <?php } ?>
            
            </div>
            </div>
            
         <?php } ?>
Logged
[1]

Jump to:  


Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Page created in 0.02 seconds with 21 queries.
Need some help getting your site up and running? Be sure to check out our tutorials area, post on the forum or hire us
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.