0
Welcome Guest! Login
0 items Join Now

Make Joomla "Offline" Like Mission Control...

    • Andy Miller's Avatar
    • Andy Miller
    • Preeminent Rocketeer
    • Posts: 9919
    • Thanks: 96
    • Web Kahuna

    Re: Make Joomla "Offline" Like Mission Control...

    Posted 12 years 9 months ago
    • MissionControl has it's own custom Login of course.
    • Twiggliscious's Avatar
    • Twiggliscious
    • Elite Rocketeer
    • Posts: 568
    • Thanks: 0
    • Joomla KungFu!!!

    Re: Make Joomla "Offline" Like Mission Control...

    Posted 12 years 9 months ago
    • Interesting...wish I had more time...it will be cool to see if someone has time to do something cool...

    • Mike-

      "Nobody cares who your father was, only the father you'll be." – Mandalorian saying...
  • Re: Make Joomla "Offline" Like Mission Control...

    Posted 12 years 9 months ago
    • Here is what I use.

      extensions.joomla.org/extensions/miscellaneous/16853

      It is easy to use and the countdown works well (or you can take it out.) The files are very easy to modify to make it look the way you want. The login is in a light box or you can change it to not be. This is a great plugin for using it as it is or a starting point to make it look the way you want, and it has social icons on in it as well.
  • Re: Make Joomla "Offline" Like Mission Control...

    Posted 12 years 9 months ago
    • Here is my first attempt at editing the offline page
      copy this code into templates/system/offline.php
      <?php
      /**
       * @copyright   Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
       * @license     GNU/GPL, see LICENSE.php
       * Joomla! is free software. This version may have been modified pursuant
       * to the GNU General Public License, and as distributed it includes or
       * is derivative of works licensed under the GNU General Public License or
       * other free or open source software licenses.
       * See COPYRIGHT.php for copyright notices and details.
       */
       
      // no direct access
      defined( '_JEXEC' ) or die( 'Restricted access' );
      ?>
      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
      <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>">
      <head>
      <link rel="stylesheet" href="administrator/templates/rt_missioncontrol_j15/css/core.css" type="text/css" />
      <link rel="stylesheet" href="administrator/templates/rt_missioncontrol_j15/css/core-webkit.css" type="text/css" />
      <link rel="stylesheet" href="administrator/templates/rt_missioncontrol_j15/css/colors.css.php" type="text/css" />
      <script type="text/javascript" src="media/system/js/mootools.js"></script>
      <script type="text/javascript" src="administrator/templates/rt_missioncontrol_j15/js/MC.js"></script>
      <script type="text/javascript" src="administrator/templates/rt_missioncontrol_j15/js/MC.Notice.js"></script>
      </head>
      <body id="mc-login" class="transitions-enabled headers-fancy extendmenu-off width-1200 ltr option-com-login task-">
      <div id="mc-frame">
        <div id="mc-header">
          <div class="mc-wrapper">
            <div id="mc-status">
              <ul>
                <li class="action"><a href="http://www.google.co.uk">Get me out of here!</a></li>
                <li><a href="http://www.google.co.uk">Link to Another Site</a></li>
              </ul>
            </div>
          </div>
          <div id="mc-logo"> <img src="administrator/images/missioncontrol-logo.png?1308247514" alt="logo" class="mc-logo" width="250"  />
            <h1><?php echo $mainframe->getCfg('sitename'); ?></h1>
            <p> <?php echo $mainframe->getCfg('offline_message'); ?> </p>
          </div>
        </div>
        <div id="mc-body">
          <div class="mc-wrapper">
            <form action="index.php" method="post" name="login" id="form-login">
              <div id="login-wrapper">
                <input name="username" id="username" type="text" class="inputbox" alt="<?php echo JText::_('Username') ?>" id="modlgn_username" placeholder="Username" size="15" />
                <input type="password" name="passwd" class="inputbox" size="18" alt="<?php echo JText::_('Password') ?>" id="passwd" />
                <span class="button" onclick="login.submit();"> Login </span> </div>
              <div class="clr"></div>
              <input type="submit" style="border: 0; padding: 0; margin: 0; width: 0px; height: 0px;" value="Login" />
              <div class="clr"></div>
              <input type="hidden" name="option" value="com_user" />
              <input type="hidden" name="task" value="login" />
              <input type="hidden" name="return" value="<?php echo base64_encode(JURI::base()) ?>" />
              <?php echo JHTML::_( 'form.token' ); ?>
            </form>
          </div>
        </div>
        <div id="mc-footer">
          <div class="mc-wrapper">
            <p class="copyright"> <span class="mc-footer-logo"></span> <a href="http://www.joomla.org" target="_blank">Joomla!</a> is Free Software released under the <a href="http://www.gnu.org/licenses/gpl-2.0.html">GNU/GPL License</a>. - Joomla! Version 1.5.23<br>
              MissionControl template by <a href="http://www.rockettheme.com">RocketTheme</a> (MC Version 1.5.2) </p>
          </div>
        </div>
        <div id="mc-message"> </div>
      </div>
      </body>
      </html>
       

      It's not perfect, the copyright information needs correcting and a few other bits but i hope it helps.

      Andy
    • Twiggliscious's Avatar
    • Twiggliscious
    • Elite Rocketeer
    • Posts: 568
    • Thanks: 0
    • Joomla KungFu!!!

    Re: Make Joomla "Offline" Like Mission Control...

    Posted 12 years 9 months ago
    • I'll check this out later! Looks interesting...

    • Mike-

      "Nobody cares who your father was, only the father you'll be." – Mandalorian saying...
  • Re: Make Joomla "Offline" Like Mission Control...

    Posted 12 years 1 month ago
    • Has anyone made progress on this? I'd like to use the Mission Control login look for my front end login. I'm not use "Site Offline." I'm using Registered access. This would be a great solution. Thanks, Mike
  • Re: Make Joomla "Offline" Like Mission Control...

    Posted 12 years 1 month ago
    • I have a working version of this i use on my site (currently joomla 1.5 not sure if it will work on 1.7 / 2.5 without modification), i'll post the code here in the morning. getting ready to go out for the night

      Cheers

      Andy
    • Twiggliscious's Avatar
    • Twiggliscious
    • Elite Rocketeer
    • Posts: 568
    • Thanks: 0
    • Joomla KungFu!!!

    Re: Make Joomla "Offline" Like Mission Control...

    Posted 12 years 1 month ago
    • I decided to hold off and J2.5 has a nice feature to switch images...no real need to do this anymore as I bet future releases will focus on making this "much needed feature" more groovy...

      www.2020media.com/blog/2012/01/joomla-2-...leased-january-2012/

    • Mike-

      "Nobody cares who your father was, only the father you'll be." – Mandalorian saying...
  • Re: Make Joomla "Offline" Like Mission Control...

    Posted 12 years 1 month ago
    • Here you go
      <!DOCTYPE html>
      <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-gb" lang="en-gb" dir="ltr">
      <head>
      <jdoc:include type="head" />
      <link rel="stylesheet" href="administrator/templates/rt_missioncontrol_j15/css/core.css" type="text/css" />
      <link rel="stylesheet" href="administrator/templates/rt_missioncontrol_j15/css/core-webkit.css" type="text/css" />
      <link rel="stylesheet" href="administrator/templates/rt_missioncontrol_j15/css/colors.css.php" type="text/css" />
      <script type="text/javascript" src="media/system/js/mootools.js"></script>
      <script type="text/javascript" src="administrator/templates/rt_missioncontrol_j15/js/MC.js"></script>
      <script type="text/javascript" src="administrator/templates/rt_missioncontrol_j15/js/MC.Notice.js"></script>
      </head>
      <body id="mc-login" class="transitions-enabled headers-fancy extendmenu-off width-1200 ltr option-com-login task-">
      <div id="mc-frame">
        <div id="mc-header">
          <div class="mc-wrapper">
            <div id="mc-status">
              <ul>
                
                <!--Your URL -->
                <li class="action"><a href="http://www.yoururl.com">Another Site by Your Name</a></li>
              </ul>
            </div>
          </div>
          <div id="mc-logo"> <img src="administrator/images/missioncontrol-logo.png?1308247514" alt="logo" class="mc-logo" width="250"  />
            <h1><?php echo $mainframe->getCfg('sitename'); ?></h1>
            <p> <?php echo $mainframe->getCfg('offline_message'); ?> </p>
          </div>
        </div>
        <div id="mc-body">
          <div class="mc-wrapper">
            <form action="index.php" method="post" name="login" id="form-login">
              <div id="login-wrapper">
                <input name="username" id="username" type="text" class="inputbox" alt="<?php echo JText::_('Username') ?>" id="modlgn_username" placeholder="Username" size="15" />
                <input type="password" name="passwd" class="inputbox" size="18" alt="<?php echo JText::_('Password') ?>" id="passwd" />
                <span class="button" onclick="login.submit();"> Login </span> </div>
              <div class="clr"></div>
              <input type="submit" style="border: 0; padding: 0; margin: 0; width: 0px; height: 0px;" value="Login" />
              <div class="clr"></div>
              <input type="hidden" name="option" value="com_user" />
              <input type="hidden" name="task" value="login" />
              <input type="hidden" name="return" value="<?php echo base64_encode(JURI::base()) ?>" />
              <?php echo JHTML::_( 'form.token' ); ?>
            </form>
          </div>
        </div>
        <div id="mc-footer">
          <div class="mc-wrapper">
            <p class="copyright"> <span class="mc-footer-logo"></span> <a href="http://www.joomla.org" target="_blank">Joomla!</a> is Free Software released under the <a href="http://www.gnu.org/licenses/gpl-2.0.html">GNU/GPL License</a>. - Joomla! Version 1.5.23<br>
              MissionControl template by <a href="http://www.rockettheme.com">RocketTheme</a> (MC Version   2.4  ) </p>
          </div>
        </div>
        <div id="mc-message"> </div>
      </div>
      </body>
      </html>
       

      Andy

Time to create page: 0.061 seconds