Solved

cf content on a non cf site

Posted on 2011-03-24
11
276 Views
Last Modified: 2013-12-24
we have a cf questionnaire we give access to our clients on our site. Some clients have expressed interest in having it on their site but they do not have cf.

would there be a way to give them some sort of code/script to put on their site to serve up the content and results?...without getting them to install cf
0
Comment
Question by:Shawn
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 4
11 Comments
 
LVL 36

Accepted Solution

by:
SidFishes earned 500 total points
ID: 35209828
You could do an iframe so it could be branded via client site but everything else happens on yours I do this using Static FBML so it looks like the app I have on FB is integrated with FB but it's just and iframe to our site.

Other than that - not really.

Railo is free/open source so if they did need "CF" you could install that
0
 
LVL 1

Author Comment

by:Shawn
ID: 35209876
good idea. FBML is only for FB right? On a "regular" html web page how would I code it?
0
 
LVL 1

Author Comment

by:Shawn
ID: 35209982
ok, got it. so you would just do something like this:

<iframe src="http://www.mysite.com/myproject.cfm" width="80%" height="110"> </iframe>

0
Forrester Webinar: xMatters Delivers 261% ROI

Guest speaker Dean Davison, Forrester Principal Consultant, explains how a Fortune 500 communication company using xMatters found these results: Achieved a 261% ROI, Experienced $753,280 in net present value benefits over 3 years and Reduced MTTR by 91% for tier 1 incidents.

 
LVL 36

Expert Comment

by:SidFishes
ID: 35209999
yes fbml is like bbml  (if you're old enough to remember that :)

<iframe src="http://www.yersite.com/ scrolling="yes/no" frameborder="0" style="whatever" allowTransparency="true/false"></iframe>

0
 
LVL 1

Author Comment

by:Shawn
ID: 35210043
it looks like most browser support iframes now but can they be shut off like javascript or diabled in a corporate environment? in other words any gotchas?
0
 
LVL 52

Expert Comment

by:_agx_
ID: 35210309
(no points ...)

Yep, they can be disabled.  They could simply link to a page on your site instead. But I assume that's not what you're going for ...
0
 
LVL 36

Expert Comment

by:SidFishes
ID: 35210472
Yes there are ways to block iframes (noscript for FF is one)

There are also cross domain security restrictions built into browsers so what's in your iframe can't (theoretically) interact with the framing page if they aren't in the same domain. (although they can be and frequently are  used for evil purposes)

You need to assume there can be no interaction between the "host" site and your app


0
 
LVL 1

Author Comment

by:Shawn
ID: 35210727
so as a workaround for disabled you could do something like this:

<iframe src="http://www.yersite.com/ scrolling="yes/no" frameborder="0" style="whatever" allowTransparency="true/false">
It looks like your browser does not supoort iframes.
 That's ok...take our new survey <a href="www.mysite.com/test.cfm">here</a>
</iframe>

0
 
LVL 1

Author Comment

by:Shawn
ID: 35210735
>>You need to assume there can be no interaction between the "host" site and your app

would I be at least able to capture the browser's url to see where it was being used?
0
 
LVL 36

Expert Comment

by:SidFishes
ID: 35211327
if you mean tracking from your client (ie: 200 hits from client a 230 from client b) then yes you'd just need to mod the bit of code you provide to your client to include a url param<iframe src="http://www.yersite.com/index.cfm?client=a"> and read the url var and store it or whatever
0
 
LVL 1

Author Comment

by:Shawn
ID: 35211364
nice. thanks for a great solution
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Two wordpress questions 3 107
Run ColdFusion website locally 1 43
Using cfstoredproc to return query data 2 69
Attendance Tracking 3 24
I spent nearly three days trying to figure out how incorporate OAuth in Coldfusion for the Eventful API. Hopefully, this article will allow Coldfusion Programmers to buzz through the API when they need to. Basically, what this script does is authori…
Sometimes databases have MILLIONS of records and we need a way to quickly query that table to return the results me need. Sure you could use CFQUERY but it takes too long when there are millions of records. That is why SOLR was invented. Please …
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question