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.

#115666 MediaBox Popup now shows Menu and all Modules of the page

Posted in ‘Mediabox’
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 sabine2018 on Friday, 22 December 2023 13:34 GMT

sabine2018
Dear Supporters,
we use the MediaBox plugin, it´s installed in the recent version 2.1.7.

Since updating JCE Editor to 2.9.57 the MediaBox Popups show not only the content of linked articles but also all menus and modules of the page.
Updating to version 2.9.58 didn´t solve the problem.

How to show only headline and content of articles in the popup as it has been before the updates?

Thank you and BR
Sabine

Ryan
Please post a link to an article containing an example popup.

Ryan Demmer

Lead Developer / CEO / CTO

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

sabine2018
Dear Ryan,
here is the link to the tutors list. All tutor names are connected with an article.

https://aai-aachen-koeln.de/index.php/infos-fuer-studierende/dozentenverzeichnis

The articles contain a short text and photo and are not connected with a menu item.

Thank you and BR
Sabine

Ryan
Since updating JCE Editor to 2.9.57 the MediaBox Popups show not only the content of linked articles but also all menus and modules of the page.
Updating to version 2.9.58 didn´t solve the problem.

How to show only headline and content of articles in the popup as it has been before the updates?


In order to prevent the display of modules and other full page elements in the Mediabox content, MediaBox adds &tmpl=component to the end of the content url when it requests the data, which should make the template render the content without menus and modules.

MediaBox is doing this correctly, but your template is not, and is still adding the modules, so this has nothing to do with the recent JCE Pro or JCE Mediabox updates.

Here is an example of a URL that MediaBox has altered, but that is still rendering the menus (first item - Martin Adendorf) :

https://aai-aachen-koeln.de/index.php/infos-fuer-studierende/dozentenverzeichnis?view=article&id=139:martin-adendorf&catid=17:dozenten&tmpl=component

Ryan Demmer

Lead Developer / CEO / CTO

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

sabine2018
Thank you. I´ll try to find a solution with support from the template team.

BR

Sabine