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

Popular posts from this blog

1111. appearing after print sequence - php -

node.js - Express and Redis - If session exists for this user, don't allow access -

excel - I can't get the attachement of the email PHP -