Topic-icon change layout

Active Subscriptions:

None
10 years 1 month ago #46471 by horseguards
change layout was created by horseguards
Hi

I want to move around icons and add a couple of lines of text, something like this

awesomescreenshot.com/0213csyzb1

Is there any easy document or list of instructions "stupid-proof" to do this?

thanks a lot
The topic has been locked.
Support Specialist
10 years 3 weeks ago #46643 by alzander
Replied by alzander on topic change layout
First off, I'm sorry for the delay in getting back to this. We definitely don't intend for support requests to take so long to get a response.

As to your changes, there isn't any documentation on how to do what you're looking for, but we'll gladly try to help guide you as best as we can. The easiest way to make those changes is to copy
/modules/mod_sclogin/tmpl/login.php
to
/templates/<YOUR_TEMPLATE>/html/mod_sclogin/login.php
You'll need to create the /html/mod_sclogin directory if it doesn't already exist. Copying this file creates a "Template Override" which makes is so that your changes aren't overwritten when you upgrade the SCLogin module in the future.

Once there, edit the new login.php file. Around line 51, you'll see:
else
            {
                require(JModuleHelper::getLayoutPath("mod_sclogin", "joomlaLogin_" . $layout));
                require(JModuleHelper::getLayoutPath('mod_sclogin', "socialLogin"));
            }
            ?>
        </div>
Edit that so it looks like:
else
            {
                require(JModuleHelper::getLayoutPath("mod_sclogin", "joomlaLogin_" . $layout));
                ?>
                <div class="row-fluid">
                   <div class="span12">
                     Si no tun (enter your registration message here
                   </div>
                </div>
                <?php
                require(JModuleHelper::getLayoutPath('mod_sclogin', "socialLogin"));
            }
            ?>
             <div class="row-fluid">
                   <div class="span12">
                        o completa (add more registration text here) <a class="btn" href="<?php echo $helper->registerLink; ?>"><?php echo JText::_('MOD_SCLOGIN_REGISTER_FOR_THIS_SITE'); ?></a>
                   </div>
              </div>
         </div>
Then, in the SCLogin module settings, turn the "Show Register Button" setting "off" so that it doesn't show next to the Login button.

I hope that helps get you going, but if you have any questions, just let me know!

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
10 years 1 week ago #47124 by horseguards
Replied by horseguards on topic change layout
thank you!!

It works perfectly!!
The topic has been locked.
Support Specialist
10 years 1 week ago #47137 by alzander
Replied by alzander on topic change layout
Glad to hear we could help. If you need anything else, please let us know.

Finally, if you haven't already, please consider leaving a rating and review for SCLogin, or our support, on the Joomla Extension Directory. It certainly isn't required, but is very appreciated:
extensions.joomla.org/extensions/access-...authentication/24054

Thanks,
Alex
The topic has been locked.