This forum is no longer open and is for reading/searching only.
Please use our new MachForm Community Forum instead.
MachForm Community Forums » MachForm 2
Move CSS file to another domain
Started 13 years ago by jwaller50 | 8 posts |
-
I am hosting machform on my server on one domain and posting a form on multiple sites on my server. All is working well except for in IE9 my css form is getting blocked since its pulling from another domain and is considered insecure by IE9.
How can I tell Machform to pull the css from a specified URL so it will be considered secure by the browser?
Posted 13 years ago # -
Do you use "iframe embed code" ? If so I think it should be working fine.
Or is it possible to post one of your url which having this problem in here ?MachForm Support
Posted 13 years ago # -
I was using the PHP advanced code, I tried iframe and had the same issue. I don't like using the iframe option if its possible to avoid.
Here is the URL in question, look at it in firefox/chrome and then in IE9 to see the issue
https://sub.rtjscreativecatechist.com/campaigns/planning-guide/ppgexclusive.php
Posted 13 years ago # -
Sorry for the delay on this.
I've just checked the page and it seems you are not using MachForm there.Do you still need to have it on another page?
Basically the PHP embed code will call the CSS from the original domain.You can override this by editing the "includes/view-functions.php" file, particularly inside "display_integrated_form" function.
If you still need further help on this, please contact us directly to get faster reply.
MachForm Founder
Posted 13 years ago # -
My web host has my web pages in one location and my MachForms in another. When I embed a form into a webpage using iframe, the form doesn't use my view.css file and so the background color I chose doesn't show up.
My web page with the embeded form is at:
http://beautifulsaviour.info/site/cpage.asp?cpage_id=180029233&sec_id=180005756My MachForm is at:
http://site.beautifulsaviour.info/forms/view.php?id=4How do I show that the view.css file is at:
http://site.beautifulsaviour.info/forms/data/form_4/css/view.css
and not at:
./data/form_4/css/view.css
?Posted 13 years ago # -
Hi Dave,
That path should be working fine. I've just checked your page and I can see the form is displaying fine.
Or am I missing something?MachForm Founder
Posted 13 years ago # -
Thanks, Yuniar.
On the PHP server the form has a brown background. On my web site it has a plain white background.
Also, I piggybacked on an old posting. Do prefer we start a new posting in cases like this?
Posted 13 years ago # -
It was a problem with two of my view.css files. I replaced them and it works fine now.
Posted 13 years ago #
Reply
You must log in to post.