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


  1. jwaller50
    Member

    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 #
  2. redityo

    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 #
  3. jwaller50
    Member

    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 #
  4. yuniar

    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 #
  5. DaveVoss
    Member

    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=180005756

    My MachForm is at:
    http://site.beautifulsaviour.info/forms/view.php?id=4

    How 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 #
  6. yuniar

    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 #
  7. DaveVoss
    Member

    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 #
  8. DaveVoss
    Member

    It was a problem with two of my view.css files. I replaced them and it works fine now.

    Posted 13 years ago #

RSS feed for this topic

Reply