Hello, I'm wondering how to do the following. I'm working with the Ubercart module where I need to display links on each product page to all other products that share the same taxonomy termID. Do I create a block view with an argument of termID? If so, how do I pass the termID of the product? Thanks,
http://drupal.org/project/views_attach is what you want. On Mon, Nov 29, 2010 at 8:32 AM, Lynn Stott (Stott Design) < lynn@stottdesign.com> wrote:
Hello,
I'm wondering how to do the following.
I'm working with the Ubercart module where I need to display links on each product page to all other products that share the same taxonomy termID. Do I create a block view with an argument of termID? If so, how do I pass the termID of the product?
Thanks,
-- A decathlon Drupal developer & programmer http://blog.eood.cn/
On 29 Nov 2010 00h32 WET, lynn@stottdesign.com wrote:
[1 <text/plain; US-ASCII (7bit)>] Hello,
I'm wondering how to do the following.
I'm working with the Ubercart module where I need to display links on each product page to all other products that share the same taxonomy termID. Do I create a block view with an argument of termID? If so, how do I pass the termID of the product?
Thanks,
I suggest using Panels and adding a View with a content pane display. You get the term ID from the context. Context here is to be understood in CTools/Page Manager sense. --- appa
I assume that you aren't seeing the standard "taxonomy/term/xxx" link or that you want more than that. A simple hook_link should do it. The term ID is in $node->taxonomy. Nancy Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King, Jr. ________________________________ From: Lynn Stott (Stott Design) <lynn@stottdesign.com> To: development@drupal.org Sent: Sun, November 28, 2010 7:32:17 PM Subject: [development] Taxonomy Hello, I'm wondering how to do the following. I'm working with the Ubercart module where I need to display links on each product page to all other products that share the same taxonomy termID. Do I create a block view with an argument of termID? If so, how do I pass the termID of the product? Thanks,
participants (4)
-
António P. P. Almeida -
Bruce Dou -
Lynn Stott (Stott Design) -
nan wich