help to better help you:

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

Category list of events: unwanted redirections in links

Category list of events: unwanted redirections in links

6 years 7 months ago
#25059
Well strange thing in Category list of events links:
some of them are redirected…

OK, for every event I get 3 links:
1- On the Event title:
http://localhost:8888/My_site/index.php?option=com_jem&view=event&id=6786:My_event_title&Itemid=2215&lang=fr
2- On the Venue where the event takes place:
http://localhost:8888/My_site/index.php?option=com_jem&view=venue&id=4:My_venue&Itemid=2215&lang=fr
3- On the Category name:
http://localhost:8888/My_site/index.php?option=com_jem&view=category&id=2:My_category_name&Itemid=2215&lang=fr

The problem is that if I click on the Venue or Category link I am redirected to the Event url:
http://localhost:8888/My_site/index.php?option=com_jem&view=event&id=6786:My_event_title&Itemid=2215&lang=fr

But if I try to copy each of these 2 urls and paste it into a fresh new page, it goes where it was supposed to go: on the Venue page or on the Category page.

Same thing occurs if I use SEO URLs
What’s going on?

Thanks for your help!
Paul

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

Re: Category list of events: unwanted redirections in links

6 years 7 months ago
#25062
Am I alone to have this problem?
:blush:

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

Re: Category list of events: unwanted redirections in links

6 years 7 months ago - 6 years 7 months ago
#25070
Well for what I have seen it's related to JEM_Responsive_1.6.1 :
if I remove the JEM Responsive override folder "common", I fallback to the original JEM category list of events with valid links for Venue and Category

/Applications/MAMP/htdocs/My_site/templates/My_template/html/com_jem/common/


(same things occur localhost or online)
Last edit: 6 years 7 months ago by Mister PAul.

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

Re: Category list of events: unwanted redirections in links

6 years 7 months ago - 6 years 7 months ago
#25071
Hum... and only with Safari.
It's fine with Chrome and Firefox (tested only on Mac)

That's the onclick on the <li> </li> that prevents the other links to work on Safari.
Well, sure there's a clever way to fix that but for now I just commented
Code:
//echo 'onclick=location.href="'.JRoute::_(JemHelperRoute::getEventRoute($row->slug)).'"';
2 lignes 145 and 152 in /Applications/MAMP/htdocs/My_site/templates/My_template/html/com_jem/common/default_jem_eventslist.php
and let the rollover effect on the raw
Last edit: 6 years 7 months ago by Mister PAul.

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

Re: Category list of events: unwanted redirections in links

6 years 7 months ago
#25076
and Safari will not be able to help!? I didn't know there's someone who continues to use safari

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

Re: Category list of events: unwanted redirections in links

6 years 7 months ago
#25077
I sent you a private message.

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

Time to create page: 0.432 seconds