evandonovan / remote_block

Renders blocks on a regionless page so that they may be embedded via an iframe.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Module: Remote Block

Renders blocks on a regionless page so that they may be embedded via an iframe,
or via JSON.

The module generates an embed code that can be used on other sites.
It provides a block that generates the embed code for the "My City" page.

Developed for TechMission by Evan Donovan (evan@evandonovan.org).

License: GPL

Uses Ben Alman's jQuery postMessage plugin
for cross-domain <iframe> resizing: 
http://benalman.com/projects/jquery-postmessage-plugin/. 
The plugin is dual licensed under the MIT and GPL licenses.  
<iframe> resizing JS is based on his example --
http://benalman.com/code/projects/jquery-postmessage/examples/iframe/.

About

Renders blocks on a regionless page so that they may be embedded via an iframe.


Languages

Language:PHP 86.2%Language:JavaScript 13.8%