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

robloach’s picture

Title: allow customized names for the profile » Allow customized names for the profile

Would 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?

greggles’s picture

Yeah, I'm not sure either ;)

Why doesn't the .info file work? Can you explain that more?

sun’s picture

FYI: 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.