Tagged: x
-
AuthorPosts
-
July 28, 2016 at 1:07 am #1106599
LeannaParticipantIt is a mystery why the footer menu ‘contact” item is working, since it is a Custom Link with class that uses ConvertPlug to open the lightbox, but ConvertPlug is disabled. So I’m just trying to figure out what is running the lightbox
July 28, 2016 at 2:05 am #1106657
RupokMemberHi there,
I believe you hard-coded this with Child Theme and since the footer is using same menu hence it’s working. Beside this; if you have any other question kindly let us know.
Thanks.
July 28, 2016 at 12:26 pm #1107410
LeannaParticipantI figured it out: Somehow even though deactivated ConvertPlug was working. I went into File Manager and changed the name of the plugin and now the Contact item in footer does not work. Fine, I want NOTHING to do with ConvertPlug until the bug is fixed which causes ConvertPlug to take the whole site down if the php version reverts to an older version. (just went through a big fiasco with that)
SO – back to how to get the menu item to work with the lightbox. Note below code is hard-coded into header and works great, perhaps we can put the same n footer but I am not sure where it goes:
1) In header.php in child theme:
<?php echo do_shortcode(‘[formlightbox title=”Send me a message” text=”Contact me”] [si-contact-form form=’1′] [/formlightbox]’); ?>2) not sure where this goes:
<a class="lbp-inline-link-1" href="#">Contact</a> <div style="display:none"> <div id="lbp-inline-href-1" style="padding: 10px;background: #fff"> [si-contact-form form=’1′] </div> </div>3) In Customizer to align with other menu items:
.x-topbar .right { margin-top: 11px; font-size: 16px; padding: 10px 20px 0 0; line-height: 13px; }July 28, 2016 at 7:22 pm #1107890
JadeModeratorHi there,
Please use the correct quotes in the code like:
<?php echo do_shortcode('[formlightbox title="Send me a message" text="Contact me"] [si-contact-form form='1'] [/formlightbox]'); ?>Then add a menu item named Contact and add the class lbp-inline-link-1 to it then add this code i in the customizer:
function add_code() { ?> <div style="display:none"> <div id="lbp-inline-href-1" style="padding: 10px;background: #fff"> [si-contact-form form='1'] </div> </div> <?php } add_action( 'x_after_site_end', 'add_code', 10 );Hope this helps.
July 29, 2016 at 11:34 am #1109037
LeannaParticipantOk I followed directions above adding
function add_code() { ?> <div style="display:none"> <div id="lbp-inline-href-1" style="padding: 10px;background: #fff"> [si-contact-form form='1'] </div> </div> <?php } add_action( 'x_after_site_end', 'add_code', 10 );to Custom JS,
class to contact item in footer menu,
and placed
<?php echo do_shortcode('[formlightbox title="Send me a message" text="Contact me"] [si-contact-form form='1'] [/formlightbox]'); ?>
in footer.php in child theme views-global, and then header.php. I placed it first below then above the code which in footer.php was:
<?php x_get_view( x_get_stack(), 'wp', 'footer' ); ?>
however the contact item does not respond.July 29, 2016 at 4:06 pm #1109398
FriechModeratorHi There,
Please add this code:
function add_code() { ?> <div style="display:none"> <div id="lbp-inline-href-1" style="padding: 10px;background: #fff"> [si-contact-form form='1'] </div> </div> <?php } add_action( 'x_after_site_end', 'add_code', 10 );On your child theme’s functions.php file instead.
Thanks.
July 29, 2016 at 10:11 pm #1109777
LeannaParticipantI deleted the code from Customizer JS and added to the bottom of Functions.php but no change.
July 30, 2016 at 12:15 am #1109841
LelyModeratorHello Leanna,
It is working when I checked. See this:http://screencast-o-matic.com/watch/cDivh2iG1x. Are you expecting different result? Please clarify so we can help you better.
July 30, 2016 at 1:16 am #1109877
LeannaParticipantHi Lely, that short form is from the Footer widget. It works fine in Chrome but not in FF or IE (a separate problem being discussed on a different thread). On this thread we’re dealing with a Footer menu item…
Friech or Jade: I see now that the code you gave IS working but it’s created “Contact Me” item outside of the menu, positioned down at the bottom left of the bottom of the site (www.tellasia.org). How to get it to actually occur as part of the footer menu…?
this is not a huge issue, I mean I could just have the menu “contact” item go to a contact page. So if you’re getting tired of me, tell me so and I’ll desist and just link to a contact page. I’m deeply indebted to Rad having just bailed me out of a big goof…
July 30, 2016 at 1:30 am #1109884
Rue NelModeratorHello There,
I am another staff checking on this thread! I have tested your site in Chrome, Firefox and Safari. I am seeing the widgets. Please check it here: http://prntscr.com/bzd89a
I also noticed that there are some JS error on the page.

Can you please enable WP_DEBUG mode? You can do this by opening
wp-config.phpand adding
define( 'WP_DEBUG' , true );just above/* That's all, stop editing! Happy blogging. */For example:define('WP_DEBUG', true); /* That's all, stop editing! Happy blogging. */When you revisit the page, you should have some error output describing the issue in more detail.
Please let us know how it goes.
July 30, 2016 at 9:33 am #1110150
LeannaParticipantI added the code to wp-config but I dont see any errors.
however I ran validator.w3 and it still turns up the same fatal errors! See screenshot…July 30, 2016 at 1:35 pm #1110299
LeannaParticipantI got a debug report; It seems ll the errors are from the whole ‘formlightbox” installation in both header and footer. Now I can’t even find where the footer one is installed. I think I will throw out all lightboxes and just link to a simple contact page! This is not worth the agony…
[30-Jul-2016 18:29:15 UTC] PHP Strict Standards: Redefining already defined constructor for class FormLightboxAdmin in /home1/tellasia/public_html/wp-content/plugins/form-lightbox/admin-page.php on line 27
[30-Jul-2016 18:29:16 UTC] PHP Strict Standards: Redefining already defined constructor for class FormLightboxAdmin in /home1/tellasia/public_html/wp-content/plugins/form-lightbox/admin-page.php on line 27
[30-Jul-2016 18:29:21 UTC] PHP Strict Standards: Redefining already defined constructor for class FormLightboxAdmin in /home1/tellasia/public_html/wp-content/plugins/form-lightbox/admin-page.php on line 27
[30-Jul-2016 18:29:38 UTC] PHP Strict Standards: Redefining already defined constructor for class FormLightboxAdmin in /home1/tellasia/public_html/wp-content/plugins/form-lightbox/admin-page.php on line 27
[30-Jul-2016 18:29:53 UTC] PHP Strict Standards: Redefining already defined constructor for class FormLightboxAdmin in /home1/tellasia/public_html/wp-content/plugins/form-lightbox/admin-page.php on line 27
[30-Jul-2016 18:30:40 UTC] PHP Strict Standards: Redefining already defined constructor for class FormLightboxAdmin in /home1/tellasia/public_html/wp-content/plugins/form-lightbox/admin-page.php on line 27
[30-Jul-2016 18:31:17 UTC] PHP Strict Standards: Redefining already defined constructor for class FormLightboxAdmin in /home1/tellasia/public_html/wp-content/plugins/form-lightbox/admin-page.php on line 27
[30-Jul-2016 18:31:17 UTC] PHP Strict Standards: Redefining already defined constructor for class FormLightboxAdmin in /home1/tellasia/public_html/wp-content/plugins/form-lightbox/admin-page.php on line 27
[30-Jul-2016 18:31:18 UTC] PHP Notice: Undefined index: id in /home1/tellasia/public_html/wp-content/plugins/form-lightbox/admin-page.php on line 566
[30-Jul-2016 18:31:18 UTC] PHP Notice: Undefined index: status in /home1/tellasia/public_html/wp-content/plugins/form-lightbox/admin-page.php on line 566
[30-Jul-2016 18:31:18 UTC] PHP Notice: Undefined index: id in /home1/tellasia/public_html/wp-content/plugins/form-lightbox/admin-page.php on line 566
[30-Jul-2016 18:31:18 UTC] PHP Notice: Undefined index: status in /home1/tellasia/public_html/wp-content/plugins/form-lightbox/admin-page.php on line 566
[30-Jul-2016 18:31:18 UTC] PHP Notice: Undefined index: id in /home1/tellasia/public_html/wp-content/plugins/form-lightbox/admin-page.php on line 566
[30-Jul-2016 18:31:19 UTC] PHP Strict Standards: Redefining already defined constructor for class FormLightboxAdmin in /home1/tellasia/public_html/wp-content/plugins/form-lightbox/admin-page.php on line 27
[30-Jul-2016 18:31:20 UTC] PHP Strict Standards: Redefining already defined constructor for class FormLightboxAdmin in /home1/tellasia/public_html/wp-content/plugins/form-lightbox/admin-page.php on line 27
[30-Jul-2016 18:31:21 UTC] PHP Notice: Undefined index: id in /home1/tellasia/public_html/wp-content/plugins/form-lightbox/admin-page.php on line 566
[30-Jul-2016 18:31:21 UTC] PHP Notice: Undefined index: status in /home1/tellasia/public_html/wp-content/plugins/form-lightbox/admin-page.php on line 566
[30-Jul-2016 18:31:21 UTC] PHP Notice: Undefined index: id in /home1/tellasia/public_html/wp-content/plugins/form-lightbox/admin-page.php on line 566
[30-Jul-2016 18:31:35 UTC] PHP Strict Standards: Redefining already defined constructor for class FormLightboxAdmin in /home1/tellasia/public_html/wp-content/plugins/form-lightbox/admin-page.php on line 27
[30-Jul-2016 18:31:54 UTC] PHP Strict Standards: Redefining already defined constructor for class FormLightboxAdmin in /home1/tellasia/public_html/wp-content/plugins/form-lightbox/admin-page.php on line 27
[30-Jul-2016 18:32:20 UTC] PHP Strict Standards: Redefining already defined constructor for class FormLightboxAdmin in /home1/tellasia/public_html/wp-content/plugins/form-lightbox/admin-page.php on line 27
[30-Jul-2016 18:33:15 UTC] PHP Strict Standards: Redefining already defined constructor for class FormLightboxAdmin in /home1/tellasia/public_html/wp-content/plugins/form-lightbox/admin-page.php on line 27July 30, 2016 at 3:53 pm #1110372
LeannaParticipantYes, I give up on lightboxes. please just tell me how to DELETE the “Contact Me” item from the lower left of my website. I can’t find the code anywhere. Then I promise I wont bother you about lightboxes again at least for awhile, or until there is a better way to do it in X.
July 30, 2016 at 5:10 pm #1110415
RadModeratorHi Leanna,
These are my findings.
1. Your facebook embed code that contains
<div id="fb-root"></div>is added within<head></head>. It should be added within<body></body>only. How did you added it, I can’t find it from your templates.2. “Contact Me” is part of form lightbox, disabling the code from _footer.php should remove it too. I went ahead and fixed it.
Thanks!
July 30, 2016 at 8:48 pm #1110546
LeannaParticipantThank you for removing the contact me code.
Maybe the facebook code is from an old plugin. I don’t ever remember hard-coding anything to do with FB. The code isn’t in the header.php in child theme so all I can figure is leftovers from a plugin. I was at one time getting warnings that a particular FB widget was no longer functional and now id no longer appears in either plugins or widgets. -
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1090741 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
