Where can I change the Submitted by text

jamesialford - June 24, 2009 - 14:28

Hi all,
I am looking for the file that I can change the Submitted by text on the user post. I would like to just change the wording to something else like user feedback. I have everything working the way I want it, but I need to change the wording. I am thinking it is somewhere in the Global themes. I have looked for this for a few days now and cant find it. Can someone help me PLZ.

James Alford

More info please? but it's

i-sibbot - June 24, 2009 - 15:56

More info please? but it's sounding like either the themes page.tpl or node.tpl, more likely the latter!

Change 'submitted by' text in the node

jamesialford - June 25, 2009 - 13:29

I want to change the 'submitted by' text in the node to 'User Feedback'

I have looked for the text in the page.tol and node.tpl.

I am thinking the text is coming from a drupal file and not a theme file.

James Alford
www.websites4hoa.com

_

WorldFallz - June 24, 2009 - 18:55

The 'submitted by' text (which is turned on/off at admin/build/themes/settings/global) is part of the node.tpl.php file.

_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.

Not there

jamesialford - June 25, 2009 - 13:27

I have looked in the theme node.tpl.php and the text for 'submitted by' is not in that file. Any other idears

James Alford
www.websites4hoa.com

_

WorldFallz - June 25, 2009 - 14:00

You don't say which theme you are using, but if you check the node.tpl.php file for garland you'll see <?php print $submitted; ?>. Maybe check the template.php file for your theme.

_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.

Did not work

jamesialford - June 25, 2009 - 17:01

I am useing the picture reloaded theme. I have changes line 27 in the node.tpl.php and it did not work. I get errors on line 27 when I access the node.

All I want to do is change the word "Submitted By" to "User Feedback"

I think it is coming from a Drupal file and not a theme file. I have looked in every theme file for "Submitted By" and nothing comes up.

Any other thoughts?

James Alford
www.websites4hoa.com

_

WorldFallz - June 25, 2009 - 17:24

Pixture reloaded does indeed have the 'print $submitted' code, but for what you want to do probably the easiest option is the stringoverrides module (or the core locale module) as mentioned by caschbre. The other option would be to override that info by using the theme_node_submitted function in your template.php file.

_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.

Submitted by module

jamesialford - June 25, 2009 - 17:34

I have just found the Submitted By module and it worked perfict. It is very simple to use as well.

Thank you for the help.

James Alford
www.websites4hoa.com

String overrides module

caschbre - June 24, 2009 - 19:52

The String Overrides module might be able to do the trick for you.

 
 

Drupal is a registered trademark of Dries Buytaert.