Skip to main content
LPortalupi
Helper ⭐️
May 1, 2020 12:03 AM UTC
Solved

How do I change the spoiler text?

How do I change the default spoiler text? If it’s a phrase, could someone please share the Module and Key with me?

Ours looks like this, but I noticed on this inSpired community, “Show content” has been changed to “Learn more!” I’d like to do the same.

Thanks!

 

Julian
JulianAnswer
Gainsight Employee ⭐️⭐️⭐️
May 1, 2020 11:07 AM UTC

I noticed on this inSpired community, “Show content” has been changed to “Learn more!” I’d like to do the same.

That was me… :)

Here what you need to enter:
 

Module Common
Key bb.spoiler.show-content

 

Let me know if it worked!

I follow my nose, it always knows

9 replies

Julian
JulianAnswer
Gainsight Employee ⭐️⭐️⭐️
May 1, 2020 11:07 AM UTC

I noticed on this inSpired community, “Show content” has been changed to “Learn more!” I’d like to do the same.

That was me… :)

Here what you need to enter:
 

Module Common
Key bb.spoiler.show-content

 

Let me know if it worked!

Translate
I follow my nose, it always knows
LPortalupi
Helper ⭐️
May 4, 2020 8:40 PM UTC

That worked. Thank you, @Julian!

Translate
Daniele Cmty
Helper ⭐️⭐️
Jun 16, 2021 2:10 PM UTC

@Julian 

How do you do that exactly?

Where do I change the setting?

Cheers :)

Translate
Julian
Gainsight Employee ⭐️⭐️⭐️
Jun 16, 2021 2:17 PM UTC

Good question, sorry, usually I link to FAQs that explain this step-by-step so that everyone can follow. :)

You will need to add this as a new "Phrase”in the Customization settings. Simply go to [Customization] - [Phrases] in your Control Environment, and then click on "add Phrase” in the top-right corner:

 

In the next screen, you will then need to add the codes above so that the platform knows which text you'd like to change:

Under "Singular” you can then add what you’d like to have as the text. You can ignore “Plural”, as this only applies if there is a plural form of this phrase (e.g. topic / topics).

Hope this helps!

Translate
I follow my nose, it always knows
Daniele Cmty
Helper ⭐️⭐️
Jun 16, 2021 2:25 PM UTC

Sounds good! Thank you for the detailed instructions. I’ll try it out!

That would apply to alll spoilers in my community, right?
There would be no way to customize the spoiler button text individually by post, right?

Thank you!

Translate
Julian
Gainsight Employee ⭐️⭐️⭐️
Jun 16, 2021 4:19 PM UTC

Yes, this applies to all spoilers on the community.

I was thinking maybe you can tweak this via custom CSS so that, depending on the category, other text is being displayed. That would be the only option but I cannot say for sure if that is possible, unfortunately.

Translate
I follow my nose, it always knows
copperml
Contributor ⭐️⭐️⭐️⭐️
Jun 21, 2021 9:16 PM UTC

Hi @Julian, I tried this but am not seeing the changes. Did I do something wrong or does it take time to adjust?

 

 

Translate
community.copper.com
Julian
Gainsight Employee ⭐️⭐️⭐️
Jun 22, 2021 8:14 AM UTC

Hi,

I think you simply added this phrase in the wrong order. :) If I check our phrase, it looks like this:

Please delete (or ignore) this phrase and then enter a new one, but make sure to add it in the right fields.

By the way, I also found another phrase which is related to this one, maybe also relevant for you @Daniele Cmty: There is also a phrase for the text to close a spoiler after opening it:

Module: Common

Key: bb.spoiler.hide-content

Translate
I follow my nose, it always knows
copperml
Contributor ⭐️⭐️⭐️⭐️
Jun 24, 2021 2:41 PM UTC

Thank you @Julian that was it! :) 

Translate
community.copper.com