Home › Forums › Legacy Support › Support queries › Setup issues › take this course contact form popup
- This topic has 26 replies, 4 voices, and was last updated 6 years, 3 months ago by Anshuman Sahu.
-
AuthorPosts
-
August 12, 2017 at 10:41 pm #124622aviv10marParticipantHi how can I create a contact form popup after clicking the "take this course" button instead of the login/register popup window??August 14, 2017 at 12:42 pm #124731Anshuman SahuKeymasterTo disable login register popup please disable "Open Login popup for non logged in users when they click on take this course button" from wp-admin -> lms -> settings -> general . you can use vibe popups for this . http://vibethemes.freshdesk.com/support/solutions/articles/1000188546-creating-buy-course-popup-on-single-course-page instead of course button shortcode you can add contact form in popup comtent . and we can change the script to target it on the take this course button .August 14, 2017 at 8:41 pm #124787aviv10marParticipantHi Please let me know what I did wrong because it's not work for me. I open wp-admin-->popups-->new post I add the contact form 7 shortcode to pop-up post and save. Then I copy the following code to wp-content/plugins/Wplms-customizer/wplms-cutomizer.php if (!function_exists('vibe_course_button')) { function vibe_course_button( $atts, $content = null ) { extract(shortcode_atts(array( 'id' => '' ), $atts)); if(!is_numeric($id)) return; ob_start(); the_course_button($id); $html = ob_get_clean(); return $html; } add_shortcode('course_button', 'vibe_course_button'); } The I add the following shortcode the my course page [popup id="657" auto="1" classes="default"][/pop-up] 657 is the popup id in my case. After that I Add this js script in your Wp-admin -> Wplms -> Footer -> Google Analytics Code <script> jQuery(document).ready(function($){ $('.course_lesson').on('click',function(){ $('.ajax-popup-link').trigger('click'); }); }); </script> What's happen is that the popup shows in the begging of oppening the course page even if I don't clock on take this course button, how can I fix that to make this popup only on clicking take this course button?August 14, 2017 at 8:48 pm #124788aviv10marParticipantSorry for the big message it's not what I write. What I tried to say is that it's work but the popup shows in the begging of oppening the course page even if I didn't click on take this course button. How can I fix that only popup after clicking on take this course?August 16, 2017 at 10:22 am #124940Anshuman SahuKeymasterAugust 17, 2017 at 9:29 pm #125243aviv10marParticipantHi, It works on desktop but not in mobile, on mobile it's still popup on the begging of the page. It's also nut work for logged in users, how can I fix that?August 17, 2017 at 10:02 pm #125248aviv10marParticipant<b>One more thing</b> After I fill the form in the popup window it's not getting successful sent message on the popup , it's open new window with the same form on full screen. How can I fix it?August 18, 2017 at 12:53 pm #125355Anshuman SahuKeymasterWell I forgot that our form shortcode does not works in ajax loaded popup . Please follow this method now . We wont be able to show popup but we can redirect user to page which have this contact form . 1. create page and add your contact form in it . 2. enable "external course button link " from wp-admin -> lms -> settings . refer : http://prntscr.com/ga28ri 3. then add this page link in course pricing settings : http://prntscr.com/ga296jAugust 19, 2017 at 7:40 pm #125549aviv10marParticipantThere is no way to fix that option in popup? This is much more great user experience. The solution of another page for contact form is OK but not great as popup. You can find a way to make it work or maybe to fix it in the next update?August 21, 2017 at 6:28 am #125625H.K. LatiyanParticipantHi, Yes you are correct the more user friendly scenario is to show it in popup, but right now the form won't work in ajax loaded popup and hence we cannot show it. I am marking this as a bug and we'll try fixing this issue in the next update.August 21, 2017 at 8:37 pm #125768aviv10marParticipantthank you How can I know you fix this bug,you can update me ?August 22, 2017 at 8:18 am #125843Anshuman SahuKeymasterWell fix for this will be available in the next update of wplms . please be patient .August 22, 2017 at 8:20 am #125845aviv10marParticipantThank you. You have great theme and great support. I am very satisfiedAugust 23, 2017 at 6:09 am #125981Anshuman SahuKeymasterthanks ...October 6, 2017 at 5:07 am #131182aviv10marParticipantHi again. I see that there is a new update of wplms theme. On this topic I had a problem of using popup as a contact form when I click "take this course" button. Is this problem fixed on this update as you said?
-
AuthorPosts
- The topic ‘take this course contact form popup’ is closed to new replies.