I am using Drupal 7 with panels. When I place content into my panel it just prints the word 'Array' out instead of the content. This seems to happen with the fields I created and also the main body content as well. Does anyone know how I can fix this at all? Thanks in advance for any information.
Asked
Active
Viewed 606 times
1 Answers
1
Apply render
to the output to print the HTML.
print render($variable);

Muhammad Reda
- 26,379
- 14
- 93
- 105
-
Hi, thanks but apply it to what output in which document? The page.tpl one? – Rich Stevens Jan 14 '13 at 03:27
-
FIXED - this above information is correct but it needs to be deployed to the panels-pane.tpl.php file. Override this and place into your themes directory. – Rich Stevens Jan 14 '13 at 11:04