/ Published in: PHP
I just wanted to have the argument code as text. It is provided as an image.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$node = node_load(arg(1)); if($node){ foreach($node->taxonomy as $term) { $terms[] = $term->tid;} } else {return;}
URL: http://drupaleasy.com/blogs/ryanprice/2008/06/using-views-2-drupal-6-create-a-related-pages-block