Wednesday, 15 April 2015

How can I add custom PHP codes in my Drupal pages or blocks?

Answer:- By default, drupal will not allow inserting PHP code directly inside a post or in a block.
To do this, you need to activate a drupal module called PHP filter via, Administer » Site building » Modules. Even though this module ships with drupal, it remains disabled by default.

No comments:

Post a Comment