Skip to main content

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!

 

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!


That worked. Thank you, @Julian!


@Julian 

How do you do that exactly?

Where do I change the setting?

Cheers :)


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 oCustomization] - -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!


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!


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.


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

 

 


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


Thank you @Julian that was it! :) 


Reply