Profile Wizard Module

Events happening in the community are now at Drupal community events on www.drupal.org.
tatien's picture

While working on an installation profile for the Filmforge project, I found out I had to do lots of pretty repetitive tasks. So I thought that it would be nice to have a tool that allows you to quickly generate a .profile file from a working website.

The result is a simple module that I called "Profile Wizard". It's very easy to use: once installed on your site, just go to profile_wizard/ e.g. profile_wizard/filmforge and a .profile will appear. Of course, you will probably have to edit it, but it does a good part of the job. Currently it export modules, content types, variables and roles/permissions.

The generated .profile file requires the crud.inc file from the Install Profile API module.

AttachmentSize
profile_wizard.info.txt164 bytes
profile_wizard.module.txt6.24 KB

Comments

brilliant!

Very handy to have

jwolf's picture

Thanks! Nice job.

Please commit this module to CVS

Wow.

bonobo's picture

This will make this a lot easier.

Thanks!

Cheers,

Bill


FunnyMonkey
Tools for Teachers

this is godsent! thank

chrisroditis's picture

this is godsent! thank you!


Open Music: the universal music revolution

A healthy disregard for the impossible.

Nice!

boris mann's picture

So....do we want to make this part of the install_profile_api project directly? Because, really, if I could code better, that's what I would have put together.

Then, as we extend what the profile wizard can do, the appropriate crud helper functions can be extended as well....

speaking of....

mikey_p's picture

Did any of the stuff from the Install Profile API make it into core in any way shape or form? I admit I should have been following this more cloesly and perhaps even submitted some patches here and there, but I think we were all waiting to see what happened to the Data API...

I'd like to see this all integrated to work together, but perhaps, not one project: I'd like to be able to use the install profile API without the overhead of the profile wizzard module....

-Mike

No data api stuff in core

boris mann's picture

Core install profile API stuff: short answer is "no"...pretty much none of the data API stuff went in, so...

HOWEVER...all is not lost. If we can try and build out a core install profile (an additional one, aside from "default"), we might be able to get some bits refactored by showing that install profiles need it.

Re: install profile + profile wizard -- joining them in one project just seemed the quickest way. I agree that you'd just have the wizard installed / enabled on your test infrastructure (along with devel and who knows what else) but it wouldn't "ship" with your install profile. But, on the other hand, shipping with one disabled module might not be that much overhead...

In any case, I want to see this profile wizard code in Drupal CVS ASAP :P

Let's do it!

tatien's picture

Yes, let's do it. Of course this is just a start, but it has proven to be very useful in developing the FilmForge installation profile.

Great

boris mann's picture

I added you to the CVS access tab for the <a href="http://drupal.org/project/install_profile_api>install profile API project, and also updated the project description.

Go ahead and commit the profile wizard stuff into the root of the directory.

Working link to Install Profile API project

mlncn's picture

http://drupal.org/project/install_profile_api

This install profile wizard is love at first site for me, too.

~ ben melançon

member, Agaric Design Collective
http://AgaricDesign.com - "Open Source Web Development"

benjamin, agaric

First commit!

tatien's picture

All right, I just commited the module to the CVS, see commit log #72994. Enjoy it!

typo in url

Roland Tanglao's picture

it's actually install_profile_wizard/profile_name e.g. install_profile_wizard/filmforge

Right

tatien's picture

Yes, indeed.

Roland Tanglao's picture

please collaborate with shiny, http://groups.drupal.org/user/31033, http://drupal.org/project/profile_generator, so we only have 1 of these modules

both modules work great but the community only needs one

Did not know about Shiny's module

tatien's picture

I did not know about the existence of this module and was surprised to find it. It is pretty advanced as compared to our profile wizard, but just recently at Koumbit we decided to invest into developing the module.

I have to talk to Shiny. I think it is better to use crud.inc from the install profile api (http://drupal.org/project/install_profile_api).

better to use crud.inc

Roland Tanglao's picture

better to use crud.inc agreed! otherwise the db_queries have to be changed in many places rather than one place!

Distributions

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: