hi there,

can somebody point me to the correct place where I can edit the default URL location an article TITLE is pointing to

default is always something like ?q=node/7/ but I would like to have it point to: ?q=node/7/play

this is to have a video played automatically when somebody clicks on the teaser title ...


if($node->type == 'video' && $teaser) {
'<a href="'.$node_url.'/play">'.$title.'</a>';
} else {
'<a href="'.$node_url.'">'.$title.'</a>';

If you have h2 heading for the title, just wrap it in there. $node->type gives out a type string so this will only affect your video nodes. Goes into your node.tpl.php file.


joon park