Posted by Hazem on December 22, 2012 at 11:24am
Hi,
I'm trying to show a form inside a page.tpl.php,
for example i'm using the following code
<?php
print drupal_render(drupal_get_form('user_login'));
?>but it only displays string 'Array'. it didn't render the form
Comments
Try render() instead or
Try render() instead or drupal_render().