Jump to content
thirty bees forum

Add PopUp to CHEX fields


haylau

Recommended Posts

Using the Chex module, though perhaps this is a generic thing

In the confirmation fields we can add a link to terms of service etc and they open in a new tab / browser

But can they be made to open a pop up instead so customer stays on the same page?

image.png.a62326d1fd6b521f7d263e6f9317177f.png

 

Link to comment
Share on other sites

3 hours ago, Signut said:

@haylau may I ask if you have to 'Allow iframes on HTML fields' in Preferences/General for this to work well?

Thanks.

Just checked,  it works either way. 

Full line: <a  class="iframe" href="/faqs/store-information/uk-postocode-delivery-restrictions.html?content_only=1">Royal Mail Special Delivery and Expedited Courier Post Code Restrictions</a>

So the ?content_only=1 part means you only get the text not the page header, footer etc

Edited by haylau
  • Thanks 1
Link to comment
Share on other sites

Actually, wonder if any one can help

In the link, using the ?content_only=1 setting means you only ge the text. Literally

image.thumb.png.a4a187e61ba9d5c46875a5356c24d973.png

 

Looks a little untidy. With out the setting you get the full page

 

image.png.fc59208d4caef796a9f915b3cf7fe3b5.png

 

BUT you have to scroll down passed all the headers to see the format which is much better because it is formatted

 

image.thumb.png.1e5bc41aa18e0bf2e2722daed593a7fc.png

 

So, can anyone think of a way of displaying the page WITH formatting but WITHOUT headers and footers?

 

And, just to be greedy. How we can adjust the same and size of the iframe

Edited by haylau
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...