Skip to content
Grav 2.0 is officially stable. Read the announcement →
General

Remove item from multiple language blog

Solved by pamtbaau View solution

Started by Ton Haarmans 5 years ago · 4 replies · 443 views
5 years ago

For a client I am making a blog in 2 languages (NL & EN). Some items are only in one of the languages and so should not appear on the blog page of the other language and not in the archive of that language either...
I've tried several possibilities, even with Javascript, but no solution yet. Hope somebody can help me.
Thanks

5 years ago Solution

@TonHaarmans, Have you tried the following setting in '/user/config/system.yaml':

YAML
languages:
  supported: [nl, en]
  content_fallback:
    nl: [nl]
    en: [en]
5 years ago

@TonHaarmans, Nice!

Kind reminder... To enrich the forum, please mark replies providing a solution, or leading to a solution, as 'solution'.

By doing so, people having a similar issue can see a post provides a solution. Others who are willing to answer a post do not needlessly have to open a post to discover it has already been solved. Thanks!

last edited 03/06/21 by pamtbaau
5 years ago

Yes, I'm sorry. I did now. Thanks for reminding.

Suggested topics

Topic Participants Replies Views Activity
General · by jean-louis67, 3 weeks ago
2 308 3 weeks ago
General · by Andy Miller, 3 weeks ago
0 311 3 weeks ago
General · by Veehem, 4 weeks ago
0 263 4 weeks ago
General · by milkboy, 4 weeks ago
0 265 4 weeks ago
General · by ian russell, 1 month ago
2 335 1 month ago