Vista combinada Visión Plana Vista de árbol
Discusiones [ Anterior | Siguiente ]
toggle
Kevin Mui
Is it possible to run a Poll Portlet within an iFrame?
5 de diciembre de 2011 8:22
Respuesta

Kevin Mui

Ranking: New Member

Mensajes: 4

Fecha de incorporación: 16 de mayo de 2011

Mensajes recientes

The idea is to embed a streaming video player into a community, and have the option to have polls. The reason for the iFrame is so that when someone interacts with the poll, it does not 'refresh' the entire page, thus forcing the user to reload the video stream.

Thanks,

Kevin
Kevin Mui
RE: Is it possible to run a Poll Portlet within an iFrame?
13 de diciembre de 2011 8:43
Respuesta

Kevin Mui

Ranking: New Member

Mensajes: 4

Fecha de incorporación: 16 de mayo de 2011

Mensajes recientes

Anyone have any experiencing performing this?
Stian Sigvartsen
RE: Is it possible to run a Poll Portlet within an iFrame?
13 de diciembre de 2011 12:48
Respuesta

Stian Sigvartsen

Ranking: Junior Member

Mensajes: 88

Fecha de incorporación: 27 de agosto de 2010

Mensajes recientes

Have you tried creating a second hidden page for the community with an instance of the polls portlet on it and then retrieving the share as "widget" code snippet that's available for displaying it on any website (through the portlet configuration -> sharing). You can paste this code snippet into a web content (use source mode) and this will cause the portlet to be displayed, but in an iFrame so it doesn't disrupt the page that the web content is on.

-Stian
Kevin Mui
RE: Is it possible to run a Poll Portlet within an iFrame?
14 de diciembre de 2011 13:12
Respuesta

Kevin Mui

Ranking: New Member

Mensajes: 4

Fecha de incorporación: 16 de mayo de 2011

Mensajes recientes

Stian Sigvartsen:
Have you tried creating a second hidden page for the community with an instance of the polls portlet on it and then retrieving the share as "widget" code snippet that's available for displaying it on any website (through the portlet configuration -> sharing). You can paste this code snippet into a web content (use source mode) and this will cause the portlet to be displayed, but in an iFrame so it doesn't disrupt the page that the web content is on.

-Stian



Absolutely brilliant. Works wonderfully, thanks for sharing!
Stian Sigvartsen
RE: Is it possible to run a Poll Portlet within an iFrame?
15 de diciembre de 2011 13:39
Respuesta

Stian Sigvartsen

Ranking: Junior Member

Mensajes: 88

Fecha de incorporación: 27 de agosto de 2010

Mensajes recientes

No problem. Glad I could help.