Hello,

I am implementing a business directory and vocabindex does exactly what I want. It nicely lists all the taxonomy terms and child terms in a nested tree fashion. But I would like to link these taxonomy terms and child terms to custom views instead of the default taxonomy pages. Mainly because I would like to add PHP headers, footers and customize the display using views.

Today, without using vocabindex, I can do this by creating a view of type term, then I can link each term to a custom view using arguments in views, as explained at http://www.leveltendesign.com/blog/dustin-currie/link-taxonomy-terms-cus....

But I like the way vocabindex displays the nested tree structure and would like to use this instead, but for the life of me I can't figure out how I can link the terms to custom views. Any helpful hints are highly appreciated. Thanks!

Comments

xano’s picture

When using a tree view you can either override the menu callbacks used by those terms or you can override vocabindex_link.tpl.php and replace $path by the path to your views.

coolreddy’s picture

Assigned: Unassigned » xano
Category: feature » support
Status: Active » Fixed

Xano, I am still not sure how this can be done. Can you please elaborate more on your answer?

My custom view uses a argument to display the correct term ID's nodes. How can I pass the view argument in $term->path variable? It would be great if you can tell me how I can override this path variable in voabindex_link.tpl.php, that would be great. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

xano’s picture

Assigned: xano » Unassigned