Tagged: x
-
AuthorPosts
-
March 31, 2016 at 8:45 am #860838
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.March 31, 2016 at 10:58 am #860997This reply has been marked as private.March 31, 2016 at 4:39 pm #861515Hi 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!
April 5, 2016 at 4:49 am #867386This reply has been marked as private.April 5, 2016 at 1:17 pm #867989Hi 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.
April 6, 2016 at 3:22 am #868786This reply has been marked as private.April 6, 2016 at 3:23 am #868788This reply has been marked as private.April 6, 2016 at 8:32 am #869264Hi 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.
April 6, 2016 at 9:22 am #869367Thank 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.
ThanksApril 6, 2016 at 12:39 pm #869730Glad we were able to help 🙂
April 6, 2016 at 12:41 pm #869735You 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!
-
AuthorPosts