Skip to main content
Tweeted twitter.com/#!/StackDrupal/status/483882911872339968
fixed grammer
Source Link

How can i get a clean URL in my Exposed Filter and Contextual Filters. I want to create a archive were users can sort the nodes by its posted Date. I used contextual filter to achive this and its working fine when i pass the value in URL like.

"www.example.com/archive/10/09/2013".

But when i use a exposed filter and submit the value the URL became like this

"www.example.com/archive/archive?date_filter%5Bvalue%5D%5Byear%5D=2013&date_filter%5Bvalue%5D%5Bmonth%5D=9&date_filter%5Bvalue%5D%5Bday%5D=10" and the it returns a empty page.

How can i pass a clean value in Exposed Filter and make it work properly? Thanks in advance.

How can i get a clean URL in my Exposed Filter and Contextual Filters. I want to create a archive were users can sort the nodes by its posted Date. I used contextual filter to achive this and its working fine when i pass the value in URL like.

"www.example.com/archive/10/09/2013".

But when i use a exposed filter and submit the value the URL became like this

"www.example.com/archive/archive?date_filter%5Bvalue%5D%5Byear%5D=2013&date_filter%5Bvalue%5D%5Bmonth%5D=9&date_filter%5Bvalue%5D%5Bday%5D=10" and the it returns a empty page.

How can i pass a clean value in Exposed Filter and make it work properly? Thanks in advance.

How can i get a clean URL in my Exposed Filter and Contextual Filters. I want to create a archive were users can sort the nodes by its posted Date. I used contextual filter to achive this and its working fine when i pass the value in URL like.

"www.example.com/archive/10/09/2013".

But when i use a exposed filter and submit the value the URL became like this

"www.example.com/archive/archive?date_filter%5Bvalue%5D%5Byear%5D=2013&date_filter%5Bvalue%5D%5Bmonth%5D=9&date_filter%5Bvalue%5D%5Bday%5D=10" and it returns a empty page.

How can i pass a clean value in Exposed Filter and make it work properly? Thanks in advance.

Rollback to Revision 1
Source Link

How can Ii get a clean URL in my Exposed Filter and Contextual Filters. I want to create a archive were users can sort the nodes by its posted Date. I used contextual filter to achieveachive this and it'sits working fine when Ii pass the value in URL like.

"www.example.com/archive/10/09/2013".

But when Ii use ana exposed filter and submit the value the URL, it became like this

"www.example.com/archive/archive?date_filter%5Bvalue%5D%5Byear%5D=2013&date_filter%5Bvalue%5D%5Bmonth%5D=9&date_filter%5Bvalue%5D%5Bday%5D=10"

and then"www.example.com/archive/archive?date_filter%5Bvalue%5D%5Byear%5D=2013&date_filter%5Bvalue%5D%5Bmonth%5D=9&date_filter%5Bvalue%5D%5Bday%5D=10" and the it returns ana empty page.

How can Ii pass a clean value in Exposed Filter and make it work properly  ? Thanks in advance.

How can I get a clean URL in my Exposed Filter and Contextual Filters. I want to create a archive were users can sort the nodes by its posted Date. I used contextual filter to achieve this and it's working fine when I pass the value in URL like.

"www.example.com/archive/10/09/2013".

But when I use an exposed filter and submit the value the URL, it became like this

"www.example.com/archive/archive?date_filter%5Bvalue%5D%5Byear%5D=2013&date_filter%5Bvalue%5D%5Bmonth%5D=9&date_filter%5Bvalue%5D%5Bday%5D=10"

and then it returns an empty page.

How can I pass a clean value in Exposed Filter and make it work properly  ?

How can i get a clean URL in my Exposed Filter and Contextual Filters. I want to create a archive were users can sort the nodes by its posted Date. I used contextual filter to achive this and its working fine when i pass the value in URL like.

"www.example.com/archive/10/09/2013".

But when i use a exposed filter and submit the value the URL became like this

"www.example.com/archive/archive?date_filter%5Bvalue%5D%5Byear%5D=2013&date_filter%5Bvalue%5D%5Bmonth%5D=9&date_filter%5Bvalue%5D%5Bday%5D=10" and the it returns a empty page.

How can i pass a clean value in Exposed Filter and make it work properly? Thanks in advance.

marked code as code
Source Link
4life
  • 4.7k
  • 8
  • 26
  • 25

How can iI get a clean URL in my Exposed Filter and Contextual Filters. I want to create a archive were users can sort the nodes by its posted Date. I used contextual filter to achiveachieve this and itsit's working fine when iI pass the value in URL like.

"www.example.com/archive/10/09/2013".

But when iI use aan exposed filter and submit the value the URL, it became like this

"www.example.com/archive/archive?date_filter%5Bvalue%5D%5Byear%5D=2013&date_filter%5Bvalue%5D%5Bmonth%5D=9&date_filter%5Bvalue%5D%5Bday%5D=10"

"www.example.com/archive/archive?date_filter%5Bvalue%5D%5Byear%5D=2013&date_filter%5Bvalue%5D%5Bmonth%5D=9&date_filter%5Bvalue%5D%5Bday%5D=10" and theand then it returns aan empty page.

How can iI pass a clean value in Exposed Filter and make it work properly  ? Thanks in advance.

How can i get a clean URL in my Exposed Filter and Contextual Filters. I want to create a archive were users can sort the nodes by its posted Date. I used contextual filter to achive this and its working fine when i pass the value in URL like.

"www.example.com/archive/10/09/2013".

But when i use a exposed filter and submit the value the URL became like this

"www.example.com/archive/archive?date_filter%5Bvalue%5D%5Byear%5D=2013&date_filter%5Bvalue%5D%5Bmonth%5D=9&date_filter%5Bvalue%5D%5Bday%5D=10" and the it returns a empty page.

How can i pass a clean value in Exposed Filter and make it work properly? Thanks in advance.

How can I get a clean URL in my Exposed Filter and Contextual Filters. I want to create a archive were users can sort the nodes by its posted Date. I used contextual filter to achieve this and it's working fine when I pass the value in URL like.

"www.example.com/archive/10/09/2013".

But when I use an exposed filter and submit the value the URL, it became like this

"www.example.com/archive/archive?date_filter%5Bvalue%5D%5Byear%5D=2013&date_filter%5Bvalue%5D%5Bmonth%5D=9&date_filter%5Bvalue%5D%5Bday%5D=10"

and then it returns an empty page.

How can I pass a clean value in Exposed Filter and make it work properly  ?

Source Link
Loading