I'm currently building what could end up being a fairly complex repository of articles. One of the client's requirements is to have a number of filters on their content, the first one being a date range. I'm implementing this with a couple of TVs (datefrom & dateto) with an extension to the standard Articles getResources call using the "Other listing parameters" field.
All good.
The only issue I have is that to get it working I've had to modify the articlesrouter class to include my new date parameter.
} else if ($params[0] == 'date') {
$_GET['date'] = $params[1];
This works perfectly, but I'm concerned that any future Articles upgrades will require me to go back in an reinstate the change.
Is there another way of handling this or should I stop whinging and get on with it?!
Cheers,
Chris
[ed. note: [email protected] last edited this post 14 years, 1 month ago.]