Skip Navigation

[Resolved] Creating popups on a form editing page

This support ticket is created 5 years, 6 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 3 replies, has 2 voices.

Last updated by grahamG 5 years, 6 months ago.

Assisted by: Christian Cox.

Author
Posts
#1265259

I am using a plugin called Popup maker. Popup Maker requires one to select the post on which a popup will appear. You cannot target templates. I want to enable popups when a user is editing a form. Since I only create a template and no page to edit a form in Toolset I therefore cannot set a target for Popup Maker. Is there a hidden page on which form edit templates are presented or something similar that I could target?

#1265625

When you edit a post using an Edit Post Form, the URL is actually the same as the post but it includes a URL parameter with a content template ID that corresponds to the edit post form template. So the hidden page is probably just the same as the post itself. If you can't specify a specific URL, I'm not sure you will be able to target this post separately when the edit post form is displayed.

#1269391

Thanks Christian
I also contacted Popup Maker with this issue and thought you might be interested in their reply as follows for future integration of the two plugins.

Daniel replied Jun 11, 2:25pm
Hey Graham,

Yes it does. In all honesty you will likely need to consult with their support to get some PHP conditional functions you can use to test for those "endpoints".

We built in support for WooCommerce endpoints which are essentially children of existing pages that don't really exist, such as /account/edit. The account page exists, but /edit does not. This requires additional conditions to target those "endpoints". We added them for WC, but not for anything else.

We have some examples for custom conditions, if you get them to help with some conditionals on their end we can add support for them in the future from your code: Add a Custom Popup Condition.

Hope that helps.

--
Thanks,

Daniel Iser
support@wppopupmaker.com

Graham Glynn replied Jun 11, 7:14am
Daniel

In Toolset Types when you want to give users frontend access to edit a form you create a template. You never embed the template in a page. I am not sure how it works but when you click on the edit button the form appears on a page but that page is not visible in the list of pages for the site. I therefor cannot target the editing page. Does that make sense?

Regards

Graham

#1269393

My issue is resolved now. Thank you!