Hello,

I tri to make a link per row in my forum :
so in line 34 on advanced-forum.naked.topic-list-view.tpl.php,
i add in

one onclick for transform all the
in link.

<tr class="<?php print implode(' ', $row_classes[$count]); ?>" style="cursor:pointer" onclick="window.location.href='node/[nid]'">

But, how I can recover the correct [nid] ? I don't find the correct variable with this value.

Can you help me ?

Best Regards,
Tixxy

Comments

x3cion’s picture

Status: Active » Needs review

<tr class="<?php print implode(' ', $row_classes[$count]); ?>" style="cursor:pointer" onclick="window.location.href='node/<?php print $variables['view']->result[$count]->nid; ?>'">

Is it that what you mean?

podarok’s picture

Status: Needs review » Postponed (maintainer needs more info)

please, use proper status...