By hyperworx on Wednesday, 22 January 2020
Replies 3
Likes 0
Views 776
Votes 0
Hi,

I added a list of events (eventlist) to my menu. I want to display all events from today on. The List shows events for today only. After some investigation I found out, the relstart Parameter and many others are not stored inside the $params. In the function Defaultgetstartenddates the $params->get("relstart","") (line 47) returns an empty string.

Could you look into it? If any questions, please feel free to ask.
Hello,

So if you access it via the later you have not set an Itemid. When accessing a hidden menu item you need to do part of the generation so you copy:

index.php?option=com_jevents&view=list&layout=events

from the link area then add the menu itemid so

index.php?option=com_jevents&view=list&layout=events&Itemid=331

This is how it would natively render in the frontend.

Many thanks
Tony
·
5 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

Can you provide super user logins for us to review?
·
5 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Sorry for the late reply.

I think the problem is just the menu URL generated by Joomla. If I click on the "Alle Veranstaltungen" ("All Events") button in the frontend module or if I place the menuitem inside a visible menu, everything is fine. I noticed a difference in the url:

index.php?option=com_jevents&Itemid=331&task=list.events (button)
index.php?option=com_jevents&view=list&layout=events (link provided by menu in backend (hidden menu))
·
5 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post