Message
  • EU e-Privacy Directive

    This website uses cookies to manage authentication, navigation, and other functions. By using our website, you agree that we can place these types of cookies on your device.

    View Privacy Policy

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

TOPIC: mod_cpsearch problem with Search by Date Range

mod_cpsearch problem with Search by Date Range 8 years 3 months ago #1383

  • subn3t
  • subn3t's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
After the installation of the paid version, the search by date does not work at all.

When you select a start date it always says "Start date must be equal or greater than today"

Can someone from the support explain how to fix this because this function is very important for us.
The administrator has disabled public write access.

mod_cpsearch problem with Search by Date Range 8 years 3 months ago #1385

  • andrea_4g
  • andrea_4g's Avatar
  • OFFLINE
  • Administrator
  • Posts: 1122
  • Thank you received: 163
The administrator has disabled public write access.

mod_cpsearch problem with Search by Date Range 8 years 3 months ago #1386

  • subn3t
  • subn3t's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
I am sorry but I do not see anything that can help there. I read everything there and do not see any fix.
The module is enabled and the Search by Date Range set to "yes"
In fact whatever date I select which is different from today - it always says the same - Start date must be equal or greater than today.
How can the start date be greater than today ??? In the future ? Please help.
The administrator has disabled public write access.

mod_cpsearch problem with Search by Date Range 8 years 3 months ago #1387

  • andrea_4g
  • andrea_4g's Avatar
  • OFFLINE
  • Administrator
  • Posts: 1122
  • Thank you received: 163
Please double check that parameter "Use 'Event mode' to search by date:" is set to "No".
This parameter changes the search logics.

If the problem is not solved after that, please let us have the url of your site (via email)
The administrator has disabled public write access.

mod_cpsearch problem with Search by Date Range 8 years 3 months ago #1388

  • subn3t
  • subn3t's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
The problem is I cannot find such parameter. Where should it be located?

Regards,
Stefan
The administrator has disabled public write access.

mod_cpsearch problem with Search by Date Range 8 years 3 months ago #1389

  • andrea_4g
  • andrea_4g's Avatar
  • OFFLINE
  • Administrator
  • Posts: 1122
  • Thank you received: 163
My fault. I failed to keep into consideration that you upgraded to Custom Properties for Joomla 1.5.

This version of CP has only the date-range-search "event mode"
That is a very specialized search that considers the creation date of the article as the beginning of the event, and end publishing date as the end of the event.

The following example explains why you can't enter a date before today.
Let's assume that there's no date validity check.

You have one event that starts the first of January 2013 (created date 1st of Jan) and ends the 31st of July 2013 (end publishing 31st Jul).

You search for events from the 1st of July onward. The event is returned among the results, because its ending is past the search date.
2013-01-01|------------event-------------------|2013-07-31
                                    ^-------------2013-07-01----date from
------------------------------------------------today------^

The problem is that if you click on the article you get an error from Joomla, because the end publishing date is earlier than today. In other words, you are trying to open an already expired article.

So, instead of having CP to return articles that can't be opened, we prevent this problem to happen by forcing the dates to be past today.
Last Edit: 8 years 3 months ago by andrea_4g.
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Time to create page: 0.076 seconds