namelessNN Posted January 20, 2009 Share Posted January 20, 2009 I'm not sure anyone CAN help me here but I figured I'd give it a shot. I posted on the Drupal forums but no one seems to know. I inherited this Drupal site when I started working here and I know next to nothing about it except that it's overly and unneccessarily complicated on this page: http://www.robertsconsolidated.com/index.php?q=node/762 i need to change the PDF Brochure label (under the product picture). I just can't seem to find where I CAN change it. I figured it would be in the admin section somewhere but I can't find it. Any advice would be greatly appreciated! Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/141660-solved-drupal-how-to-change-pdf-label/ Share on other sites More sharing options...
haku Posted January 21, 2009 Share Posted January 21, 2009 You want to change the text that says 'pdf brochure'? Or you want to change the name of the .pdf file? Quote Link to comment https://forums.phpfreaks.com/topic/141660-solved-drupal-how-to-change-pdf-label/#findComment-741763 Share on other sites More sharing options...
namelessNN Posted January 21, 2009 Author Share Posted January 21, 2009 You want to change the text that says 'pdf brochure'? Or you want to change the name of the .pdf file? the text that says "PDF Brochure" Quote Link to comment https://forums.phpfreaks.com/topic/141660-solved-drupal-how-to-change-pdf-label/#findComment-742099 Share on other sites More sharing options...
haku Posted January 21, 2009 Share Posted January 21, 2009 You should be able to do it with this module: http://drupal.org/project/stringoverrides Quote Link to comment https://forums.phpfreaks.com/topic/141660-solved-drupal-how-to-change-pdf-label/#findComment-742119 Share on other sites More sharing options...
namelessNN Posted January 21, 2009 Author Share Posted January 21, 2009 You should be able to do it with this module: http://drupal.org/project/stringoverrides Great idea! however, it didn't work ??? it installed fine but I don't think that PDF Brochure is passed through a variable. I think it must be hardcoded somewhere in the system. I've searched and can't find it. I think I may just have to give up on this one. Thanks for the suggestion though, I appreciate it. Quote Link to comment https://forums.phpfreaks.com/topic/141660-solved-drupal-how-to-change-pdf-label/#findComment-742207 Share on other sites More sharing options...
haku Posted January 22, 2009 Share Posted January 22, 2009 If that module didn't work, that means that that text unfortunately isn't passed through the t() function, which goes against Drupal standards. That unfortunately doesn't help you. That code will be inside the module that is producing it. Figure out what module that is (probably something to do with .pdfs), open the .module file, and do a search for that text. Quote Link to comment https://forums.phpfreaks.com/topic/141660-solved-drupal-how-to-change-pdf-label/#findComment-742822 Share on other sites More sharing options...
namelessNN Posted January 22, 2009 Author Share Posted January 22, 2009 If that module didn't work, that means that that text unfortunately isn't passed through the t() function, which goes against Drupal standards. That unfortunately doesn't help you. That code will be inside the module that is producing it. Figure out what module that is (probably something to do with .pdfs), open the .module file, and do a search for that text. found it! thank you very much. it was in the module called "filefield". took some searching but I found it! thanks for your help! Quote Link to comment https://forums.phpfreaks.com/topic/141660-solved-drupal-how-to-change-pdf-label/#findComment-743196 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.