Add itemid to preview in admin
by stevent on 22 Apr 2023 09:55 | 209 Hits | 0 comment(s)
In the list of events in the admin of Joomla there's a preview button. Clicking on the icon will take you to the frontend and show the event as he end user might see it. The preview unfortunately doesn't have a itemid in the url, so it will always take you to the homepage of your site, with the event somewhere on that page. The homepage is in most cases a landing page that is not intended for a single content item or components.
So I would suggest to add a setting in the RSEvents admin where one can choose an existing menu item for the preview, so that the url of the preview has an itemid and will show a correct preview.