My client needed a Profile generator that included Views, Panels and other stuff - so I took the liberty of recoding this project (sorry Br3nda, but I was in a hurry).
It now uses plugins (courtesy of CTools) and utilises the routines supply by Install Profile API for some of its work, also where available uses the Export functionality also provided by CTools.
It can generate reasonably complex PHP code in the profile, and using this facility can produce mappings between (for example) role rids on the original site and role rids on the new site.
The areas it currently covers are:
Modules
Variables (and themes)
Custom node types
Vocabularies and terms
Roles and permissions
Filters and formats
Users and Profiles
Views
Panels (Mini panels, Panel styles, CTools Page manager)
Menus
Blocks and boxes
rather than hardcoding all the code generation it uses themes for the different types of output.
Sorry that's a bit brief.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | profile_generator.zip | 17.21 KB | adaddinsane |
| install_profile_api.zip | 32.16 KB | adaddinsane |
Comments
Comment #1
adaddinsaneIt doesn't do CCK fields yet...
Comment #2
adaddinsaneOh, this is so embarrassing ... I'm now working on a different job and downloaded my updated version from here. Only to find, like an idiot, I'd zipped the wrong module. And I can't get at my original. That is so annoying.
I'll see if I can get it.
Comment #3
adaddinsaneI finally got hold of it.
So this is my rewrite of the profile generator, generally does the same thing, but uses themes to generate the PHP and the MySQL rather than hardcoding and centralises a lot of the code.
It uses my slightly amended versions of the install_profile_api, which I uploaded by mistake before. (These are complementary modules, not in competition.)
This module does not handle CCK but can be used in conjunction with Features which does.
Comment #4
Shiny commentedI wonder... does install_profile_api not do this for you also?
http://drupal.org/project/install_profile_api
I've not been maintaining this module (though i do still use it) because i understood drupal had moved on from this, which was essentially something needed in Drupal 5 days.
Comment #5
adaddinsaneUnless I've completely missed the point - no, they are different.
The Install Profile API does nothing on its own, it's an API - it was created by the guys hand-building profiles.
So there's no reason why Profile Generator can't use it as well to avoid duplication of effort, which is what I did on my rewrite. And added some routines to Install Profile API which it was missing.
Profile Generator is what it is, it creates a Profile based on the installation its running on. Install Profile API is a set of routines that can be used to help set up a Profile, as I said originally, they're complementary.
Of course Features does a lot of this stuff now (and is great for CCK/Panels) but it still doesn't "run itself" at the Profile Install stage, so this module is still applicable.
Comment #6
Shiny commentedi've checked this into CVS head. I'll be testing it before marking it as stable release
Are you interested in being co-maintainer going forward?
Comment #7
Shiny commentedin latest release
Comment #8
adaddinsaneHi, Sorry for not replying sooner - life.
Unfortunately I haven't even got enough time to properly maintain my own projects (and I feel very guilty about it) so best not to commit myself to more and then fail to do that as well.
But thanks for asking, does the ego no end of good :-)