Closed (outdated)
Project:
Date
Version:
6.x-2.7
Component:
Code
Priority:
Minor
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
3 Nov 2011 at 22:22 UTC
Updated:
6 Feb 2018 at 01:35 UTC
Jump to comment: Most recent
I asked this first in views and well, now I'm here.
From what I can gather, the date field is adding '[value][year]' to the name attribute given to the CCK field. This becomes very ugly when you have it exposed to the user as it ends up in the query such that:
'/articles?year[value][year]=2008'
Would ideally be simply: '/articles?year=2008'
Any suggestions on how to remove or hide the backets bit? Client doesn't like them.
If there's not way to alter it in code, would something like an Apache rewrite rule work?
Thanks.
Comments
Comment #1
damienmckennaWe're sorry but the D6 release of Date module is no longer being supported. You are encouraged to update to Drupal 7 or 8, or direct questions to Drupal Answers.