0

Hello i was hoping to create a block to attach to the taxonomy/term/* page but i am running into problems with the date arguement working with the term argument. I have just cloned the archive view and disabled the taxonomy view, added the arguments but to no avail.

Has anyone ever achieved this before with D^ and Views 3?

thanks

  • Sorry, your question doesn't make any sense. You say your problem is "the date argument", but it's unclear what that argument is supposed to be doing. You want to create a block that does what? – Letharion Nov 26 '12 at 15:30
  • hi Letharion. I was wanting to add a block to each taxonomy term page that lets me browse the term by date (just like the archive block.) Think Archive block but have it working on a term argument and only showing nodes belowing to the term. I dont think it is possible from what i can gather. – Reg Gordon Dec 2 '12 at 22:07
  • If your trying to expose a date in the url it's can be a tricky problem. If you can elaborate on how exactly with a couple sample urls in your question it would help others answer your question. taxonomy/[term]/[dd]-[mm]-[yyyy]/[nid] for example? Or it something else? Or is it problems with the date argument not being exposed or filtered properly in the view? – ransom bot Dec 2 '12 at 22:31
2
+50

http://www.webbykat.com/2012/02/creating-monthly-archive-block-drupal-7-views While not taxonomy should work. Change the content type from node to taxonomy and as you create it it will be archived. You may need to ad a date entity to the taxonomy and have rules or trigger put in a creation date since I don't believe they are creation date stamped.

| improve this answer | |
  • thanks ransom but ive tried that before and ran into problems due to the term argument being alongside the date argument. ill go give it a go but i dont think its gonna work. – Reg Gordon Dec 2 '12 at 22:05
  • sorry a typo in the first post. this is for D6. tx – Reg Gordon Dec 2 '12 at 22:07
  • drupal.org/project/date You tried that for handling the dates? – ransom bot Dec 2 '12 at 22:19
  • i will just go and try it all again just now ransom and tell you my problems. i was just finishing something up there. wont be long and thanks for your attention – Reg Gordon Dec 2 '12 at 22:34
  • 1
    sorry....and that block displays fine. Ive added the same arguments to my taxonomy/term/* page and it is accepting the arguments just fine too. The only problem i have now is to display all terms if the argument is not used.ie folks arrive in a tag term page and it shows all nodes in that term before they click the archive block. The problem seems to be what to do with the Created year and month when there is no argument. Currently i get a blank page as you can see here onlinebanter.com/forum/video-games – Reg Gordon Dec 2 '12 at 22:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.