help to better help you:
Please: add always Joomla / JEM version and details to your posts, so we can try to reproduce your issue!
JEM teaser module
Re: JEM teaser module
6 years 10 months ago
No, it doesn't. I changed global setting "number of events .... " in JEM's global settings to 5, it still shows 20 events.
Please Log in or Create an account to join the conversation.
Re: JEM teaser module
6 years 10 months ago
It is possible something in 3.9.5 broke the eventlist model populateState function. There is a block of code around line 74 in /models/eventslist.php that deals with applying the limit for lists, including teaser...
It seems to indicate developers had to deal with changes in 3.3.6. It is possible something in 3.9.5 also changed.
Code:
# limit/start
if (empty($format) || ($format == 'html')) {
/* in J! 3.3.6 limitstart is removed from request - but we need it! */
if ($app->input->get('limitstart', null, 'int') === null) {
$app->setUserState('com_jem.eventslist.'.$itemid.'.limitstart', 0);
}
$limit = $app->getUserStateFromRequest('com_jem.eventslist.'.$itemid.'.limit', 'limit', $jemsettings->display_num, 'int');
$this->setState('list.limit', $limit);
$limitstart = $app->getUserStateFromRequest('com_jem.eventslist.'.$itemid.'.limitstart', 'limitstart', 0, 'int');
// correct start value if required
$limitstart = $limit ? (int)(floor($limitstart / $limit) * $limit) : 0;
$this->setState('list.start', $limitstart);
}
It seems to indicate developers had to deal with changes in 3.3.6. It is possible something in 3.9.5 also changed.
The following user(s) said Thank You: fmartin
Please Log in or Create an account to join the conversation.
Re: JEM teaser module
6 years 10 months ago
Well, thank you depebo! Although it doesn't help me. Will there be an update of JEM if a correction in eventslist.php is necessary?
Greetings
Martin
Greetings
Martin
Please Log in or Create an account to join the conversation.
Re: JEM teaser module
6 years 10 months ago
I think best is to log this as issue on
github.com/jemproject/JEM-Project/issues
and include reference to this topic, so one of the developers/contributors can have a look. From my side I'll try and re-create this issue and provide more details for a fix, if I find one (I am simply another user of JEM just like you are).
Please Log in or Create an account to join the conversation.
Re: JEM teaser module
6 years 10 months ago
I just tested it locally and on a remote server – it works here on J 3.9.5 an JEM 2.2.3 …
Are you sure all the JEM files are correctly reinstalled on the server from akeeba?
Are you sure all the JEM files are correctly reinstalled on the server from akeeba?
Happy with the support?
Consider a donation: www.joomlaeventmanager.net/project/donate
– We are all volounteers, investing time and money to keep JEM runnung and evolving, With your donation we cover our expenses –
Thank you.
Consider a donation: www.joomlaeventmanager.net/project/donate
– We are all volounteers, investing time and money to keep JEM runnung and evolving, With your donation we cover our expenses –
Thank you.
The following user(s) said Thank You: jojo12
Please Log in or Create an account to join the conversation.
Re: JEM teaser module
6 years 10 months ago
I have tested on new install J!3.9.5 and JEM 2.2.3 - can confirm JEM Teaser Module displays the correct number of events. Pretty sure that your issue is not related to Joomla! 3.9.5 version, can you try re-install JEM?
Please Log in or Create an account to join the conversation.
Time to create page: 0.586 seconds