Forum Discussion
Yes, I'm familiar with it but it doesn't help since currently, there doesn't seem to be any category specific ones. Can you think of another way around this problem if the functionality doesn't exist?
An example of our use case is that we want to call a blog article in one category a "story" in all the text keys and an "article" in the others.
You can write a custom component and include it on the page where you want this information shown. In that custom component, you can either look up the name of your article via freemarker (or even through JS), and then use JS to change the name. Not ideal I know, but given your use case, it should have a fairly small overhead.
The disadvantage here is that if someone has a slow connection (so the page loads slowly for them), they might notice the text switch. Also, is localization involved? That might add an extra layer to check for.
Related Content
- 3 years ago
- 2 years ago
- 11 months ago