I'm trying to replace the button text for 'Post new Forum topic' and String Overrides doesn't seem to be working. I have successfully used SO to replace other text and have cleared the cache but it doesn't seem to work here. Any other ideas on how I can update the text of this button without editing the core?

Comments

michelle’s picture

It's probably not working because the string 'Post new Forum topic' doesn't exist. It's 'post new' + node type friendly name. You can alter it in *_preprocess_forums() though.

Michelle

robloach’s picture

Status: Active » Postponed (maintainer needs more info)

Thanks Michelle...... You should be able to override it by using "Post new @node_type" in String Overrides.

michelle’s picture

Ah, that's cool. I've never actually used SO, so didn't even know you could do that. I just hit this issue on a "forum" search and thought I'd chime in about the whole phrase not being there. :)

Michelle

m_i_c_h_a_e_l’s picture

Rob, you confused me on that one.

On the top of the node/add/blog page, there is a title that says "Create Blog entry"

I have changed absolutely everything else to Journal, using string overrides, but I cannot figure out how to change that one.

I think this is what you are talking about, but I need a little hand-holding.

Can you please explain a little more clearly exactly what string I need to change to get the result I want?

Thanks so much,

Mike

Anonymous’s picture

Status: Postponed (maintainer needs more info) » Fixed

I recently had a similar issue with renaming "Forum topics" to "Community Hub Posts".
The way I changed the "Add new Forum topic" text was by renaming the "Forum topic" content type to "Community Hub Post". This change then propagated to the forum.

Similarly, I would imagine you could rename the "Blog entry" content type (or whatever it happens to be called) to "Journal entry" at admin/content/node-type/blog.
Hope this helps.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.