Closed (duplicate)
Project:
Image Assist
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
18 Jan 2008 at 13:56 UTC
Updated:
14 Feb 2008 at 04:12 UTC
At the moment it is supported to "link to image page", I would like to add "link to parent album" to it.
I'm a programmer, but I'm absolutely new to the Drupal API.
if ($link == 'node') {
$output .= l($img_tag, 'node/'. $node->nid, array(), NULL, NULL, FALSE, TRUE);
}I guess it's pretty simple. I need to refer to the parent node and not to the node id as described here, and I need to add this option to the possibilities of $link on other places in the code. If someone can tell me how to refer to that parent node, I can already test it in my own code :)
Comments
Comment #1
sunMarking as duplicate of http://drupal.org/node/176157