Hello All,
I saw some other discussions (http://drupal.org/node/744694, http://groups.drupal.org/node/112924) regarding using the String Overrides module to rename the Storm dashboard. I have successfully renamed Storm in some areas (like the Primary Links) using String Override module, but I cannot seem to override the title of the Storm dashboard itself, or the breadcrumb. I am still new to Drupal, so it is likely I may be missing something with the way overrides work.
I can rename Storm the 'wrong' way, i.e.:
function storm_storm_dashboard_types() {
return array(
'page' => array(
'url' => 'storm',
'title' => 'TAR dashboard',
(title is set to TAR instead of Storm)
But, this is just a bad habit to customize module code! Is there a way to rename Storm dashboard using String Override module?
Just FYI, I have tried this in settings.php:
$conf['locale_custom_strings_en'] = array(
'Storm dashboard' => 'TAR dashboard',
);
With no luck.
Thanks so much for any help you can give!
Comment | File | Size | Author |
---|---|---|---|
#9 | before.png | 46.1 KB | Francewhoa |
#9 | after.png | 48.8 KB | Francewhoa |
#9 | conf.png | 45.99 KB | Francewhoa |
#8 | storm-translation.patch | 1.61 KB | juliangb |
#1 | storm-dashboard-string-overrides.patch | 1.31 KB | juliangb |
Comments
Comment #1
juliangb CreditAttribution: juliangb commentedYou should be able to do the string overrides, and I think it is a bug if you can't.
Can you try this patch? (And then your overrides)
Comment #3
christopher.boss CreditAttribution: christopher.boss commentedHello Julian,
Wow, I appreciate your quick response!
The patch did resolve my issue with String Overrides module.
Looks like everything is working now.
Thank you so much!
Comment #4
juliangb CreditAttribution: juliangb commentedThanks for the feedback.
Just before we close this issue - I'll make sure that the automated tests pass, and we'll commit this so that it appears by default in the next download.
Comment #5
juliangb CreditAttribution: juliangb commented#1: storm-dashboard-string-overrides.patch queued for re-testing.
Comment #6
juliangb CreditAttribution: juliangb commentedComment #8
juliangb CreditAttribution: juliangb commentedLet's try this for 7.x.
Comment #9
Francewhoajuliangb, confirming this works. Thanks :) This is useful.
Using
* stringoverrides 7.x-1.8
* Fresh Drupal 7.18
* Storm 7.x-1.x-dev 2012-Dec-24
* Views 7.x-3.5
* CTool 7.x-1.2
Comment #10
juliangb CreditAttribution: juliangb commentedThanks for testing @Francewhoa. Committed and pushed in to 7.x-1.x.
Moving this back to 6.x-2.x, where I think the patch works, but it seems that the 6.x-2.x tests aren't passing at the moment. This will need some work to fix before we can commit other patches.
Comment #11
juliangb CreditAttribution: juliangb commentedCommitted this to 6.x-2.x.