Active
Project:
Demonstration Site Install Profile
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
18 Apr 2009 at 21:53 UTC
Updated:
10 Nov 2009 at 05:44 UTC
Currently the profile gets installed and is called:
"Demonstration site
Select this profile to restore from a Database dump."
It would be nice if we could somehow configure this. I can imagine a variable in settings.php, but maybe Drupal isn't bootstrapped enough to handle that?
A simple solution that doesn't require any of Drupal's infrastructure is a file in profiles/demo_profile/ with a specific name and a specific content that doesn't ship with the module but, if present, would somehow provide the name (either an .info file or a php function).
Thoughts?
Comments
Comment #1
robloachWould love to have a custom name for this profile, but not sure how the best way to do it would be. Replace "Demonstration site" and "Select this profile to restore from a Database dump." with some custom text.
Could read it from a .info file, but then it wouldn't work if you had multiple dumps with different websites. What do you suggest?
Comment #2
gregglesYeah, I'm not sure either ;)
Why doesn't the .info file work? Can you explain that more?
Comment #3
sunFYI: This is now doable with D7's new install profiles: #628374: Drupal 7 core install profile AWESOMENESSAUCEWITHEXTRACHEESE!
However, .info file changes are not permanent, so we might want to find a better solution still.