Custome dates in articles

  • grashoper
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 6 months ago #58 by grashoper
Custome dates in articles was created by grashoper
Hi

i have a customers that has a websites for special events.
he likes everything about the look of the component and the funcionality, there is only one thing missing..

is there a possibility to add a custome date to the article ?

because, there is an option to search by the date the article was created... but i need the option to display the search by the dates you want/search...

let's say i have artilce1 and article2, one is happening on nov 1st and the second november 5th... and you could search for all events between nov4 and nov7 and it would display all events that are happening betwen these 2 days..

is it possible to make such feature ?

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

More
12 years 6 months ago - 12 years 6 months ago #61 by andrea_4g
Replied by andrea_4g on topic Re: Custome dates in articles
A search-by-date-range feature is already there.

From Custom Properties Documentation:
www.solidsystem.it/joomla-extensions/custom-properties.html

Date Range Search

Starting from Custom Properties 2.0, it is possible to search content items in a delimited period of time. Enable this feature by setting 'Search by date range' to yes in CPsearch module configuration.

We consider the 'created date' as the beginning of the event and 'end publishing' as end date of the event. By means of the two calendar controls at the bottom of the search module (see picture), you are able to set the start-from and end-to date you your search. All articles that has one date within the search range will be returned. The illustration that follows show the concept.


Adding a new field of type 'Date', is hardly feasible, for it goes against CP "philosophy" to have a given, finite, set of tags to choose from. A 'Date' field, with infinite values, would be problematic to handle and maintain.
Last edit: 12 years 6 months ago by andrea_4g. Reason: formatting

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

Time to create page: 0.154 seconds