Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #860838

    seventelematics
    Participant

    Hi

    I updated Theme x yesterday and lost the login form in my topbar.
    Luckily I had just cloned the site to a new domain to test the process.

    My site with the missing login form in the top bar is here http://coldchainlogistics.co.uk/
    The domain showing the cloned site from before the update with the topbar login form is here http://temperature-datalogger.com/

    Can you advise me how to get it back?
    Thanks for your time.

    #860997

    seventelematics
    Participant
    This reply has been marked as private.
    #861515

    Rad
    Moderator

    Hi there,

    Thanks for writing in.

    Would you mind providing your FTP login credentials as well? I checked and it looks like a custom coded content added to the template. And we can only check that through FTP or file manager.

    Thanks!

    #867386

    seventelematics
    Participant
    This reply has been marked as private.
    #867989

    Jade
    Moderator

    Hi there,

    Thanks for the details but when I tried both of the FTP access, I can’t seem to connect and get them to work.

    Would you mind double checking? Thank you.

    #868786

    seventelematics
    Participant
    This reply has been marked as private.
    #868788

    seventelematics
    Participant
    This reply has been marked as private.
    #869264

    Christopher
    Moderator

    Hi there,

    Upon checking your site, I noticed you’ve customized _topbar.php file inside X folder and taht’s the reason you lost your modification after updating X.

    Please do not modify core files inside X. Copy the file you want to modify from X folder and place it in exact path inside child theme to modify it.

    Copy _topvar.php from framework/views/global and put it in the same path inside child theme, replace existing code with following :

    <?php
    
    // =============================================================================
    // VIEWS/GLOBAL/_TOPBAR.PHP
    // -----------------------------------------------------------------------------
    // Includes topbar output.
    // =============================================================================
    
    ?>
    
    <?php if ( x_get_option( 'x_topbar_display' ) == '1' ) : ?>
    
      <div class="x-topbar">
        <div class="x-topbar-inner x-container max width">
          <?php if ( x_get_option( 'x_topbar_content' ) != '' ) : ?>
          <p class="p-info"><?php echo x_get_option( 'x_topbar_content' ); ?></p>
          <?php endif; ?>
    <div class="top_navigation_bar">
    <div class="login_bar">      
          <div style="">
          <div style="" class="form_label"> 
    <h5>SEVEN EYE LOGIN</h5> 
    </div>
    <div class="log_in_form">
    <form name="login_form" method="post" action="http://www.seventelematics.co.uk/seven_ref3.cfm" target="_blank">
                  <ul>
    <li><label class="screenread" for="login-email"></label>
    <input type="text" class="login-top" name="login" onblur="if ( this.value == '' ) { this.value = 'USERNAME...'; }" onfocus="if ( this.value == 'USERNAME...') { this.value =  
    ''; }" id="login-email" value="USERNAME..."></li>
    <li><label class="screenread" for="login-password"></label>
    <input type="password"  class="login-top" name="password" onblur="if ( this.value == '' ) { this.value = 'Password...'; }" onfocus="if ( this.value == 'Password...') {  
    this.value = ''; }" id="login-password" value="Password..."></li>
    <li><input src="images/button" id="subbutton" alt="Login" class="button" onclick="LoginUser(); ga('send', {
      'hitType': 'pageview',
      'page': '/SevenEye',
      'title': 'SevenEye',
      'nonInteraction': false
    }); return false;" type="submit" value="LOGIN"></li>
    </ul>
    </form>
    </div>
    
    </div>
    </div>
     <div class="social_icon_bar">     
          
          <?php x_social_global(); ?>
      </div> 
    </div>   
        </div>
      </div>
    
    <?php endif; ?>

    Hope that helps.

    #869367

    seventelematics
    Participant

    Thank you so much for this, it’s working now.
    I’m sorry for modifying the theme directly, I know the rules and use a child theme.
    I’d paid a third party to help with this login form and they put the file there.
    I’ve learnt my lesson now.
    Thanks

    #869730

    Darshana
    Moderator

    Glad we were able to help 🙂

    #869735

    Rupok
    Member

    You are welcome!

    Feel free to let us know if you face any other issue. We’ll be happy to assist you.

    Thanks for using X.

    Cheers!