Community & Support

Greeny_Blue theme adding extra word 'node' with each menu selection

I'm fairly new to Drupal and was hoping to get a hint or two as to where to look for the solution to this problem.

Problem:
In the Greeny_Blu theme, the word 'node' gets added into the address field after selecting menu choices. It's accumulative in that each clicking adds another 'node' in the address field.

Much kindly appreciated if anyone has encountered this or knows where I could begin to look for the bug.

RJSchwager

Comments

.

This is a very simple theme.
It has just one template: page.tpl.php
The only error i've seen is in line 41(aprox).
That line is:

<?php
print "<a href='" . $link['href'] . "' class=\"main_link\">" . $link['title'] . "</a>";
?>

and it should be
<?php
print (l($link['title'], $link['href'], array('class' => 'main_link')));
?>

Change that line and see what happens. I can't see anything else in the theme that can been causing that problem.
If it is not( pretty much possible ) check the modules you have and see if they are in dev, alpha, beta state or something like that.

Good luck!

That's the solution

Thanks!
I appreciate you taking the time to look into this.
It worked.