Jump to content

[SOLVED] [DRUPAL] how to change pdf label?


namelessNN

Recommended Posts

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  ;D

 

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.

Link to comment
https://forums.phpfreaks.com/topic/141660-solved-drupal-how-to-change-pdf-label/
Share on other sites

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.

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.

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!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.