Active
Project:
Amazon Product Advertisement API
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
19 Dec 2010 at 16:23 UTC
Updated:
8 Sep 2017 at 10:11 UTC
Jump to comment: Most recent
Comments
Comment #1
fragtom commentedHello morningtime,
I think, you're able to access to the node-id via standard drupal way, with the arg(1) function. Please see at http://drupal.org/node/945934, there I've described that.
best, tom
Comment #2
rfayPeople ask for this so often, it would probably be good to add the node to $variables in amazon_preprocess_amazon_item().
Comment #3
Anonymous (not verified) commented@fragtom, indeed your solution will work when you are on a node page. But it wont work on overviews/lists/taxonomy pages.
But thanks for the tip, I will use it on node pages.
Comment #4
willvincent commented