Jump to content

Force module page to have all absolute URLs


Recommended Posts

I am creating a module to integrate with a payment processor.  They have one requirement that is causing me a lot of trouble.  After the payment is securely submitted from their site, they display a page from my site, but embedded in an iFrame. 

 

That means, for the page to look right, all the image and css URLs have to be full absolute URLs.  Not to mention all the menu links.  Is there a way to force all URLs to display as full absolute URLs on one certain page?

Link to comment
Share on other sites

Hmm,

what do the final url's to the missing pictures etc look like?

 

Here is the page: https://gumball-depot.com/module/itransact/complete

 

My best solution so far is to embed a whole pile of CSS directly in the template, and put full absolute URLs in there, but it seems like there should be a better way to make all internal links display as absolute urls.

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...