Wednesday, 22 January 2020
  3 Replies
  1K Visits
0
Votes
Undo
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.
Tuesday, 03 March 2020 14:00
·
#215416
Accepted Answer
0
Votes
Undo
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
Tuesday, 28 January 2020 12:00
·
#214697
0
Votes
Undo
Hello,

Can you provide super user logins for us to review?
Tuesday, 03 March 2020 08:43
·
#215403
0
Votes
Undo
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))
Tuesday, 03 March 2020 14:00
·
#215416
Accepted Answer
0
Votes
Undo
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
  • Page :
  • 1
There are no replies made for this post yet.