Closed (fixed)
Project:
Drigg
Version:
5.x-1.4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Jan 2008 at 14:03 UTC
Updated:
9 Jan 2008 at 08:26 UTC
Hi, and thanks for the great module!
The following code appears under the node titles:
safe_section); $section_name=drigg_section_name_by_safe_name($node->safe_section); $section_link=l($section_name, 'taxonomy/term/'.$section_id); ?>
I've attached a screen shot that demonstrates the problem. Any ideas?
Thanks.
| Comment | File | Size | Author |
|---|---|---|---|
| Picture 3.png | 49.63 KB | oldmanpants |
Comments
Comment #1
mercmobily commentedHi,
Can you please post here the contents of your file node-drigg.tpl.php?
Please use the <code> tag around your code.
How did you install it?
Bye,
Merc.
Comment #2
oldmanpants commentedHi. Here are the contents of the node-drigg.tpl.php file:
I installed Drigg using the 'express install method'. So, it is a fresh install using Drupal 5.5. No additional modules. The only thing I did that is different (as far as I know) is to install Drigg in a sub-directory rather than the root. Thanks.
Comment #3
alliax commentedTry to add php after the first <? in
so it looks like:
It's stupid and should not happen, there's something on your side, on your server which doesn't recognize <? as a php beginning, strange.
I'm not sure but that's the only thing I see
Comment #4
mercmobily commentedHi,
I think allias is right... can you confirm that adding "php" fixes the issue?
I think I should change the template so that it does have the PHP there...
Bye,
Comment #5
oldmanpants commentedThat fixed the problem. Thanks.
Comment #6
mercmobily commentedComment #7
mercmobily commented