help to better help you:

Please: add always Joomla / JEM version and details to your posts, so we can try to reproduce your issue!

How to make JEM Teaser Module open the event in a specific menu item?

How to make JEM Teaser Module open the event in a specific menu item?

5 years 7 months ago
#26048
I am using latest JEM (responsive) on latest Joomla. The JEM Teaser Module creates an eventlink like this:

mydomain.com/component/jem/event/eventdetail (which opens the home page).

How can I influence the module to create a link like this:

mydomain.com/mydirectory/event/eventdetail (so that the event finds itself opened in the desired directory).

Thanks for any suggestions.

Herbert
Regards,
Herbert

Please Log in or Create an account to join the conversation.

Re: How to make JEM Teaser Module open the event in a specific menu item?

5 years 7 months ago
#26049
Have you tried using
Code:
Default Menu Itemid
from JEM >> Settings >> Global Parameters tab? You can specify the menu item there that will be used by getEventRoute function from JEMHelperRoute.
The following user(s) said Thank You: HerKle

Please Log in or Create an account to join the conversation.

Re: How to make JEM Teaser Module open the event in a specific menu item?

5 years 7 months ago - 5 years 7 months ago
#26053
Ok, that helps for general settings, when there is only one menu item used for events on the entire website.

In my case, I have some more. I use the RegularLabs component ReReplacer to search for the path and replace parts of it with the target directory parts.

Would be a nice-to-have in module options, when choosing JEM… to indicate the target menu id there individually.
Regards,
Herbert
Last edit: 5 years 7 months ago by HerKle. Reason: Question is answered, case closed.

Please Log in or Create an account to join the conversation.

Re: How to make JEM Teaser Module open the event in a specific menu item?

5 years 7 months ago
#26056
When JEM event list is used on menu, menu alias will be in URL, right?
But for teaser module, which appears under different menus, you'll have to add option to teaser module settings to specify Menu ID to use, with fallback to general settings.
Is this what you meant?

Please Log in or Create an account to join the conversation.

Re: How to make JEM Teaser Module open the event in a specific menu item?

5 years 2 days ago
#26772
Yes, I think so. I have events in the directory "Germany" for nationwide events and others in directories of federal states eg. "Berlin". When I open the event detail from a list in "Berlin" the link reads:
guttempler.de/berlin-brandenburg/mitmachen/veranstaltungen/event/19143-event-c-c-adams
and the event detail is shown correctly in tthe directory "Berlin".
When I open the same event detail from JEM Teaser Module the link reads:
guttempler.de/component/jem/event/19143-event-c-c-adams and
the event detail is no longer opened in directory "Berlin" but suddenly in "Germany" - that is confusing for the user.

How to replace "component/jem/" in module's eventlink by "[place where I am right now]"?

Thx for further assistance,
Herbert
Regards,
Herbert

Please Log in or Create an account to join the conversation.

Time to create page: 0.456 seconds