> how can I change the URL of a link in a view field that is a link? 03:54PM [neclimdul] jyg: that's kinda a loaded question 03:55PM [neclimdul] what is the context? > i'm using nodecomments instead of core comments > i've created a view to list recent comments, so its actually listing a view of nodes, $node->type='comment' > in the view configurator, on of my fields is the title of the node (i.e. the comment, not the parent node of the comment... gets a bit confusing) > the title is a link to the comment (again, a node in its own right) > the problem is that it only shows that single comment with no relation to the parent node or the other comments > so instead of the link going there, i want it to go to the parent node > in the parent node, which the node comments module causes it to list the child comment nodes > i have hacked the view (in 'alter', hook_nodeapi()) to give an anchor tag at each comment > i want the link of the comment title in the view to go to the parent node, at the comment's respective anchor > what i cannot figure out is hot to change the URL > er how 04:07PM [merlinofchaos] jyg: That's not a hook, it's a callback 04:08PM [merlinofchaos] It will be defined in modules/views_comment.inc 04:08PM [merlinofchaos] nodecomment.module should have a similar definition. > well funny thing, i think i found the callback > but it doesnt get called :-/ > function views_handler_field_commentlink($fieldinfo, $fielddata, $value, $data) { > no? > i plopped an error_log() in there and it never gets written to my apache log