Geethapriya Posted February 22, 2010 Share Posted February 22, 2010 I wrote a php code in one of my drupal block, but the code is not at all executed. even if i gave echo it is not printed. Please help me Link to comment https://forums.phpfreaks.com/topic/192901-php-code-for-drupal/ Share on other sites More sharing options...
geekthree Posted February 23, 2010 Share Posted February 23, 2010 If you put plain text in (outside of the <? ) does it display? I've only had very basic experience with Drupal, but it should display plain text, and this would let you know if the module's actually being displayed or not.. Also, there are things like code filtering throughout drupal, check this article here http://palma-seo.com/content/creating-custom-drupal-block-php and see if it helps. Mike Link to comment https://forums.phpfreaks.com/topic/192901-php-code-for-drupal/#findComment-1017000 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.