Drupal path issues with Wamp -
i installed drupal 7 on local wamp installation , trying override user registration form gives me following error:
include failed (c:\wamp\www\d7/themes/bartik\templates/user-registration-form.tpl.php) i not sure how resolve forward backslash errors on wamp. inputs?
you can use php predefined constant directory_separator creating static path example: $path =drupal_get_path('theme',$globals['theme']); $mypath = $path.directory_separator.templates.directory_separator.user-registration-form.tpl.php;
Comments
Post a Comment