1. I have created a views block and page to display nodes based on term of a taxonomy vocabulary (contextual filter).

  2. From this block I have a more link enabled and linked to the page.

  3. Here how to make the views page path linked to corresponding taxonomy term pages?

  • 2
    give the path of the view as taxonomy/term/% Jan 23, 2013 at 11:01
  • Yes, this would work. But I am trying to link to a clean URL
    – AnAnD
    Jan 23, 2013 at 11:06
  • 1
    after adding that over ride the path by installing the pathauto module and define your patter there Jan 23, 2013 at 11:10
  • ok I will add it as an aswer. Jan 23, 2013 at 11:14
  • You can also override taxonomy pages per vocabulary - using views instead of default taxonomy page - using - drupal.org/project/taxonomy_display
    – SGhosh
    Jan 23, 2013 at 11:32

2 Answers 2

  1. Provide the path as taxonomy/term/%
  2. Install the pathauto module and override the path using the required patterns.
  • When I do this, at the same time how do I print the Taxonomy title as page title? as it happens on the default Taxonomy term view.
    – AnAnD
    Jan 23, 2013 at 12:54
  • by default it should display taxonomy title as page title if not in the contextual filter select "WHEN THE FILTER VALUE IS IN THE URL OR A DEFAULT IS PROVIDED " select Override title and place %1 Jan 23, 2013 at 13:07
  • Yes, I did looked at how the contextual filter is configured on default Taxonomy term view, and did the same on my view it works like a charm.
    – AnAnD
    Jan 23, 2013 at 13:21

you can add the link manually to the footer section, your code could be something like this:

<a href="<?php print url('news'); ?>" class="bottom-block-button"><span><?php print t('Read More'); ?></span></a>

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.