When making a forum post, there is "Create Forum topic" at the top. I'd like to change that to "Create New Resource". Also, I'd like to remove the "Home » Forums" link above it. Any suggestions? THanks!

Comments

vm’s picture

to change text strings in drupal investigate the stringoverrides.module

to alter the breadcrumbs, investigate the custom breadcrumbs.module. Some themes allow altering of the breadcrumbs from within the theme configuration. themesettingsapi.module may also help if your theme supports it properly.

steveadamo’s picture

i know its bad form to edit it directly, but the string in question is located @ yoursite/modules/forum/forums.tpl.php...

danthompson’s picture

Thanks for your tips. I got the one linked one to work. But on the next page - the form - there is another "Create Forum topic" that won't change. Even with the string override.

Here it is: http://www.envirosoc.org/cms/node/add/forum/1

danthompson’s picture

ps the theme is the next project

vm’s picture

Are you using the text "exactly" as it is? including capitalization of the proper words? It is important to ensure that the the text is exactly as it is being printed. Including but not limited to any placeholders/variables that may be involved in the text strings.

When in doubt, I look to the module in question. In this case the forum.module and I search for the text string and copy and paste it into stringoverrides.

paul6299’s picture

I've tried stringoverride and it does not work for this particular string (with several variations in my entries) though it does work with other strings in the site. The forum has to do with dreams and I have modified forums.module (please, no lectures about don't do that) and have all the strings working fine on a test server which is a clone of the live site. This what I'm after: "Create New Dream Post" and I copied it exactly off of the test site page and pasted it here but it seems nothing I do will change it on the live site. Any suggestions? TIA

vm’s picture

If you would be so kind as to share the exact t(' ') and/or the line # in forum module you tried working with as well as the variations used with string overrides?

It's important to note that on node/add theses are dynamic, thus the entire string between the ' ' would need to be overwritten. if the create forum topic is at the node/add/path that may not be in forum module at all. Thus you may be able to edit the content type and alter the name of the content type.

Important to note the version of drupal in use at this point as well since D6 and D7 may differ here.