Jevents 2.x (Free Access)

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 follow these steps:

1. Update all JEvents add on's first, via the Joomla! Updater
2. Copy and Paste the JEvents Support Information from the JEvents Control Panel.
3. If you get a 500 error OR white page, enable Maximum Error Reporting in Joomla! Global Config and visit the page again, this should give you a more detailed error and help us provide a prompt response.

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

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.
---------------------------------------
Feel free to PM me if you would like Custom Installs or Joomla! related work for a competitive quote.

User avatar
Tonyp
Team Staff
 
Posts: 23790
Joined: Tue Oct 12, 2010 9:12 pm
Location: Isle of Man

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 677 times
polderweb
 
Posts: 10
Joined: Thu Nov 29, 2012 9:13 am

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

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: 42835
Joined: Fri Feb 15, 2008 6:14 pm

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 661 times
polderweb
 
Posts: 10
Joined: Thu Nov 29, 2012 9:13 am

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: 42835
Joined: Fri Feb 15, 2008 6:14 pm

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

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

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: 42835
Joined: Fri Feb 15, 2008 6:14 pm

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 644 times
db-querie-1.jpg
db-querie-1.jpg (116.92 KiB) Viewed 644 times
polderweb
 
Posts: 10
Joined: Thu Nov 29, 2012 9:13 am

Next

Return to Jevents 2.x (Free Access)

  • Who is online
  • View new posts
  • View unanswered posts
  • In total there are 0 users online :: 0 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: No registered users