Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
apresskibrewer CreditAttribution: apresskibrewer commentedI have phpfilter on as well...
Comment #2
Mark Theunissen CreditAttribution: Mark Theunissen commentedIf 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" ?
Comment #3
Mark Theunissen CreditAttribution: Mark Theunissen commentedComment #4
Mark Theunissen CreditAttribution: Mark Theunissen commented