Project:Ajax Table
Version:5.x-1.2
Component:User interface
Category:support request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

I have mades a table showing nid and title, and I want to allow a user to go to the full node page when clicking over the title; how is this achieved? I was thinking of making this using the callback function and pass it the node nid, but I don't really know.

Thanks

Comments

#1

I solved this; I used this callback:

<?php
function ajaxtable_link_al_node ($col,$value,$row) {
  return
l($value,"node/".$row['nid']);
}
?>

If there is a "better" way of doing this it is wellcome.

#2

Sorry, I posted a comment here which was for http://drupal.org/node/257481

nobody click here