You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

Support is currently Offline

Official support hours
Monday to Friday
09:00 - 17:00 Europe/London (BST)

Please create a new Ticket and we will get back to you as soon as we can.

#116939 Responsify doesn't work in a module

Posted in ‘Editor’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by Ryan on Tuesday, 05 November 2024 10:19 GMT

timryan

I have placed the same video in an article and in a module on the same page here, but only the one in the article has the container span added to it. So the one in the module doesn't work correctly as the container span doesn't exist.

Is Responsify only designed to work within articles or is this a bug?

Ryan

If the module is a "Custom" module, then in the module's Options tab enable the Prepare Content option.

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

timryan

Amazing thanks! I've not used that option before, would you mind explaining how it works?

Ryan

It allows the onContentPrepare event to be triggered on the module content, so plugins can process the content as they do with regular articles. Responsify uses this event to pre-process the content to set up the iframe.

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.