Posted by
DL on
Jan 02, 2011; 9:35pm
URL: https://discuss.orbeon.com/mapping-file-types-css-png-at-root-level-tp3160446p3171292.html
Erik Bruchez wrote
> this suggests that drupal and orbeon can now be tightly integrated.
Great.
Just to add a note that I've started with testing a basic integration of WordPress (php) + orbeon.
The orbeon xform content is embedded in WordPress pages through an iframe plugin.
http://de77.com/other/wordpress-iframe-embedderMySQL database is used for wordpress content.
If there is interest I can set out the detailed steps taken for integration.
There are a few quercus glitches which need to patched.
e.g. if you see this error "com.caucho.quercus.QuercusModuleException: java.lang.StackOverflowError"
read here ...
http://bugs.caucho.com/view.php?id=3840and comment out last line of default-widgets.php
Looking at default-widgets.php, at the last line it has:
add_action('init', 'wp_widgets_init', 1);
...
and if you see "CURL option unknown or unimplemented [curl_setopt]" on wordpress
go to \wordpress\wp-includes\class-http.php
and comment out line 1351 ... // curl_setopt( $handle, CURLOPT_MAXREDIRS, $r['redirection'] );
since quercus does not seem to handle this function ..
the end result is that xforms can be embedded in wordpress on the tomcat server where orbeon is deployed.
of course the same can be achieved with wordpress on apache server and orbeon on tomcat .. but where only one server is available for hosting quercus provides a way of integrating the two.
Here is an example of the iframe code to embed an xform in wordpress page ..
[iframe
http://localhost:8080/orbeon/xforms-sandbox/sample/alert 100% 600 50 50]