J and Beyond 2013 | An International Joomla! Conference - May 31st - 2nd, 2013, Noordwijkerhout, The Netherlands
It is currently Sun May 19, 2013 11:02 am

Repeating events not visible in category view  Topic is solved

Discuss JEvents 2.x for Joomla 1.5-2.5 here - club members can use the special club forum for faster response times.
Forum rules
When requesting support, please copy and paste the 'Version information for Support Forum' from the JEvents Control Panel into your post. If you cannot see this, please enable JEvents project news within it's configuration. Also, if you get a 500 Error, Enable Joomla! Maximum Error Reporting and view the page again, you should now have a more detailed error which will help us to resolve you issue quickly.

Repeating events not visible in category view

Postby polderweb » Sat Dec 01, 2012 1:36 pm

I have a repeating event for every week on Thursday. It is displayed fine on every Thursday in yearly view, monthly view and also in latest events module, but in category view it is only displayed once (the first eventday and no repeats are visible). Where/how can I change this, so the event will also be visible on every Thursday in category view?

Code: Select all
Joomla : 2.5.8
component_com_jevents : 2.1.13a
module_mod_jevents_cal : 2.1.3
module_mod_jevents_latest : 2.2.5
module_mod_jevents_legend : 2.1.13
polderweb
Posts: 10
Joined: Thu Nov 29, 2012 9:13 am

Re: Repeating events not visible in category view

Postby Tonyp » Sat Dec 01, 2012 1:39 pm

Hello,

Do you have a menu item for category view?

Make sure repeating events are set to everyday.
---------------------------------------

Do not forget if you like JEvents, why not join the CLUB! for priority support and lots of excellent plugin's. JEvents Club
User avatar
Tonyp
Contributor
Posts: 8717
Joined: Tue Oct 12, 2010 9:12 pm
Location: Isle of Man

Re: Repeating events not visible in category view

Postby polderweb » Sat Dec 01, 2012 2:55 pm

Yes, I have a menu item for category view, but I don't see a parameter for repeating events, see attachment.
Attachments
parameters.jpg
parameters.jpg (29.77 KiB) Viewed 434 times
polderweb
Posts: 10
Joined: Thu Nov 29, 2012 9:13 am

Re: Repeating events not visible in category view

Postby polderweb » Wed Dec 05, 2012 8:55 am

Does anybody have a clue why the repeating events are not showing (except the first) in the category view and why I don't see a repeating events parameter in my menu item?
polderweb
Posts: 10
Joined: Thu Nov 29, 2012 9:13 am

Re: Repeating events not visible in category view

Postby Geraint » Wed Dec 05, 2012 10:30 am

on the year/category list tab of the Jevents config - what option have you set for displaying repeating events?
------------
JEvents club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits.

Join the JEvents club today!
User avatar
Geraint
Posts: 30518
Joined: Fri Feb 15, 2008 6:14 pm

Re: Repeating events not visible in category view

Postby polderweb » Wed Dec 05, 2012 11:57 am

Please see attachment. Changing anything here doesn't solve the problem.
Attachments
settingsconfig.jpg
settingsconfig.jpg (21.22 KiB) Viewed 418 times
polderweb
Posts: 10
Joined: Thu Nov 29, 2012 9:13 am

Re: Repeating events not visible in category view

Postby Geraint » Wed Dec 05, 2012 2:42 pm

In this situation your global settings should be respected.

Can you do a test edit the file components/com_jevents/views/default/cat/tmpl/listevents_body.php and at line c.3/4 you'll see
Code: Select all
$cfg    = & JEVConfig::getInstance();
$data = $this->datamodel->getCatData( $this->catids,$cfg->get('com_showrepeats',0), $this->limit, $this->limitstart);

Between these 2 lines can you insert this code
Code: Select all
echo "Show repeats? ".$cfg->get('com_showrepeats',0)."<br/>";


(change 'default' to match the Jevents layout you are actually using)

If you refresh this page you should have a text message

"Show repeats? 1" or "Show repeats? 0"

what do you see?
------------
JEvents club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits.

Join the JEvents club today!
User avatar
Geraint
Posts: 30518
Joined: Fri Feb 15, 2008 6:14 pm

Re: Repeating events not visible in category view

Postby polderweb » Fri Dec 07, 2012 11:50 am

It shows "1".
polderweb
Posts: 10
Joined: Thu Nov 29, 2012 9:13 am

Re: Repeating events not visible in category view

Postby Geraint » Fri Dec 07, 2012 12:49 pm

In which case can you enable Joomla debug mode and look in the database queries for the BIG query that fetches the JEvents data. What does it look like?
------------
JEvents club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits.

Join the JEvents club today!
User avatar
Geraint
Posts: 30518
Joined: Fri Feb 15, 2008 6:14 pm

Re: Repeating events not visible in category view

Postby polderweb » Fri Dec 07, 2012 4:16 pm

Hi,

I found these queries when loading the Category view. I hope this is what you were asking for. I like to mention again that the output of all events (also all repeating events) are showing normally in Monthly View and Yearly View. Only in Category view the first date of a repeating event is visible. When this date has passed the next date shows up, but the rest is hidden.
By the way, thanks for your help!
Attachments
db-querie-2.jpg
db-querie-2.jpg (71.9 KiB) Viewed 401 times
db-querie-1.jpg
db-querie-1.jpg (116.92 KiB) Viewed 401 times
polderweb
Posts: 10
Joined: Thu Nov 29, 2012 9:13 am

Next

Return to Jevents 2.x (Free Access)

Who is online

Users browsing this forum: Bing [Bot]

Main Menu

User Menu

Hosted By


Who is online

In total there is 1 user online :: 1 registered and 0 hidden (based on users active over the past 5 minutes)
Most users ever online was 94 on Tue Sep 01, 2009 12:33 am

Users browsing this forum: Bing [Bot]

Login Form