Edem Morny wrote:

> We're building a business intelligence platform for our client using Pentaho, 
> and we wish to publish the created dashboards to a Magnolia CMS based front 
> end for consumption by the general public.
> 
> What would be the recommended way of including the generated dashboard into 
> an iFrame within a magnolia template based on STK?

The easiest way is probably to make the stkHTML component available on the 
page. This page allows an editor to put in an arbitrary bit of HTML, so the 
editor could paste the iframe code in there: 
https://documentation.magnolia-cms.com/display/DOCS/Content+components#Contentcomponents-HTMLComponent

If you don't want to open this possibility of editors embedding anything they 
want, you could create your own component, put anything that should be 
configurable by the editor in its dialog and create a template script that 
renders the HTML for the iframe, so editors can only add dashboards using this 
component and not just any random blob of HTML: 
https://documentation.magnolia-cms.com/display/DOCS/Creating+a+component

Nils.

----------------------------------------------------------------
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <user-list-unsubscr...@magnolia-cms.com>
----------------------------------------------------------------

Reply via email to