Jump to content

Archived

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

namelessNN

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

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.

Share this post


Link to post
Share on other sites

You want to change the text that says 'pdf brochure'? Or you want to change the name of the .pdf file?

Share this post


Link to post
Share on other sites

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"

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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!

Share this post


Link to post
Share on other sites

×
×
  • 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.