Closed (won't fix)
Project:
Related links
Version:
5.x-1.0
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
1 Dec 2007 at 05:22 UTC
Updated:
7 Jul 2008 at 09:57 UTC
I added the node id's of the discovered links to the block. The id's are use as keys of the array of links. This is useful if you want to fetch more fields from the nodes in the related links block using node_load();
the $links array was in this form:
[0] => '<a href="alias for node/2321">linktext</a>',
[1] => '<a href="alias for node/114">linktext</a>',
[2] => '<a href="alias for node/1256">linktext</a>'
and is now
[2321] => '<a href="alias for node/2321">linktext</a>',
[114] => '<a href="alias for node/114">linktext</a>',
[1256] => '<a href="alias for node/1256">linktext</a>'
| Comment | File | Size | Author |
|---|---|---|---|
| relatedlinks.tgz | 20.31 KB | basvredeling |
Comments
Comment #1
Zen commentedPlease submit changes in patch form.
-K
Comment #2
basvredelingNo longer relevant for related links 5.x-2.x