Posted by enboig on May 12, 2008 at 9:05am
Jump to:
| 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:
<?phpfunction 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