Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Event List Month-Year filter BUG

Event List Month-Year filter BUG 13 years 11 months ago #11103

  • vostokoved
  • vostokoved's Avatar Topic Author
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 160
  • Thank you received: 0
Hey guys,
Selecting only month in the filter reloads the page, but shows all the events even if there's no such event in the specified month. Only after some year is selected the filter is working properly.

Is it supposed to be like that?

P.S. Selecting only a year makes the filter work properly however

Please Log in or Create an account to join the conversation.

I'm not a native English speaker, so don't judge me too hard, please.

Event List Month-Year filter BUG 13 years 11 months ago #11122

  • Yinyang
  • Yinyang's Avatar
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 21
  • Thank you received: 0
Hi,

Besides the vostokoved comment I wish to ask if there is a way to independently show/hide the Month/Year Filter instead all together. For me doens't make sense to search for events on 2008, 2009 or 2010 unless wish to show past events.

Another solution for me could be to know how to short the date showed on the Year dropdown list, for example 2011 and 2012 only.


Thanks and keep up this good work!

Please Log in or Create an account to join the conversation.

Event List Month-Year filter BUG 13 years 11 months ago #11125

  • dthadmin
  • dthadmin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 5470
  • Thank you received: 3
vosto - yes, the year must be selected with the month.

Yinyang - in the DT Reg configuration, event listing tab, there is a parameter to Hide the month/year filter if you do not want or need it.

Please Log in or Create an account to join the conversation.

Event List Month-Year filter BUG 13 years 11 months ago #11126

  • vostokoved
  • vostokoved's Avatar Topic Author
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 160
  • Thank you received: 0
Thanks!

Is it possible to move this topic to the wish list? Or there's no plans to make the months only filter?

If not I'd like page not to be reloaded when selecting month only, because it confuses the users. Looks like mistake

Thanks

Please Log in or Create an account to join the conversation.

I'm not a native English speaker, so don't judge me too hard, please.

Event List Month-Year filter BUG 13 years 11 months ago #11128

  • Yinyang
  • Yinyang's Avatar
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 21
  • Thank you received: 0
dthadmin,

Problably gave a wrong explanation but I mean, same as vostokoved, whether there is a way to separe those filters with the posibility to show or hide either the Year or the Month.

On the other hand, how to remove Years (2008, 2009, 2010) from the dropdown list which I'm not interested on?

Thanks

Please Log in or Create an account to join the conversation.

Event List Month-Year filter BUG 13 years 11 months ago #11131

  • dthadmin
  • dthadmin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 5470
  • Thank you received: 3
You can modify the years that show in the filter in this file:
/components/com_dtregister/views/event/tmpl/list.php

Search for this around line 245:
for($i=2015 ; $i > 2007; $i-- ){

You can see it is set to filter from 2007 to 2015. Change the years as desired.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
  • 2
Time to create page: 0.150 seconds