Hi,

Can you please help me with this:

I'm using your Grunge Drupal theme for a site currently under development.

If I put stories (blog posts) to the front page, print $node_url will have no effect, i.e. the title is not linked to the content though it is in node.tpl.php as usual:

<h2><a href="<?php print $node_url ?>" title="<?php print $title ?>"><?php print $title ?></a></h2>

Please let me know how I could solve this.

Best,
Csaba

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

szantog’s picture

Status: Needs work » Needs review
FileSize
733 bytes

And some fix

balintk’s picture

Category: bug » task
Priority: Major » Minor

Actually, the patch in #1 doesn't solve the problem. The condition is correct, because 0 evaluates to FALSE. After all you should consider the changes what the patch introduces, because the code will be more readable and obvious this way.

The reason of this problem described here:
#1217028: Wrong jQuery selector brakes the node title links on the frontpage