http://www.bignyc.org

The prime example of this problem is my event calendar...links at top of calendar for DAY WEEK and LIST view display only as the text "Array"

I've tested in garland, and the links display properly...

What does this mean about my theme?

Any clues would be helpful
Thanks

Comments

dale42’s picture

I've seen this on a 4.7 to 5.1 upgrade.

In Drupal 5 links have changed from a string to an array (This is a good thing, because you don't have to parse a string if you want the text, or the URL).

In other words, to output a link:

4.7: <?php print $link ?>
5.1: <?php print l($link['title'], $link['href'])?>

Where l is http://api.drupal.org/api/5/function/l