| Project: | Storm Project Management |
| Version: | 6.x-2.x-dev |
| Component: | Storm.module |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
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!
Comments
#1
You 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)
#2
The last submitted patch, storm-dashboard-string-overrides.patch, failed testing.
#3
Hello 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!
#4
Thanks 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.
#5
#1: storm-dashboard-string-overrides.patch queued for re-testing.
#6
#7
The last submitted patch, storm-dashboard-string-overrides.patch, failed testing.
#8
Let's try this for 7.x.
#9
juliangb, 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
#10
Thanks 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.
#11
Committed this to 6.x-2.x.
#12
Automatically closed -- issue fixed for 2 weeks with no activity.