Bit of a Drupal newb. When I input the code

<?php
print theme('galleria_lightbox_link', 10, 800, 600, 'Click here for the Gallery');
?>

within the body of a content type... all that happens is the code gets rendered on the page as is, as apposed to a link for the galleria/lightbox. I have full html activated... galleria is functioning well without lightbox2, so that is also working well. I was sure that lightbox was activated... am I missing something easy? I feel it the directions are pretty clear cut, but it doesn't seem to be working for me.

Comments

apresskibrewer’s picture

I have phpfilter on as well...

Mark Theunissen’s picture

If the code is just being displayed instead of being executed, then the problem in the Input Filter. You have said that your PHP Filter is enabled in your modules settings. Have you set the body field of the node to "PHP Code" ?

Mark Theunissen’s picture

Category: bug » support
Mark Theunissen’s picture

Status: Active » Closed (fixed)