Needs review
Project:
Grunge
Version:
6.x-1.0-beta2
Component:
Code
Priority:
Minor
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
12 Jul 2011 at 15:42 UTC
Updated:
12 Jul 2011 at 23:01 UTC
Jump to comment: Most recent file
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
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 1216472-1-Fix-node-title-urls-in-pages.patch | 733 bytes | szantog |
Comments
Comment #1
szantog commentedAnd some fix
Comment #2
balintbrewsActually, 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