0

I am trying to learn about creating a reasonable workflow between a development site and a production site and I have decided to use the Features module to help accomplish this task.

Standard "/user" page allows me to click "forgot my password" or "create new account", but I want more options and I'd like to override that page with feature module. I am not sure is this a good approach, but with this feature I will have ability for users to create accounts, login to the website, and manage their account profile.

I have added dependencies and Strongarm variables, but I don't know how to make it use "/user" path.

Thanks, Michael

0

Features is the way to move configuration data between different environments, or at least the most typical. But in your case you need to move functionality, not simple configuration (as what you want to achieve can't be done just modifying configuration).

Features takes some Drupal objects as Views, permissions, roles, content types, panels and so on an put them into code that can be later imported to another Drupal instance. This is considered configuration because even when this kind of objects add functionality to the site you have added it configuring some modules.

So, if you can manage to achieve your desired functionality (I suppose using Panels and others modules) you may export that configuration using Features. And I say may because not all configuration can be exported this way (most yes).

In your case probably you'll need a custom module that menu_alters the /user URL and uses a custom page callback that adds what you need. But what you need is too broad to explain in an answer here.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.