I'm integrating N13 on a multilanguage site. I have a different category for each language (ENnews, DEnews etc). My problem is that when a category is empty (=no news for that language) it is automatically populated with other languages news. Is it possible to have an empty category (no news displayed)?
Thank you
Not really possible unfortunately without making a few changes to the script. If I have some time this weekend I'll see about making the modification that will make this work.
Thank you Chris, this would be great. I tried many workarounds but none was satisfying for my problem. I have found some other threads about this so I think that it could be useful for other people too.
If you edit index.php, around line 405~ you'll see this line of code
if($f){ $f = "AND id IN ($f)"; }
If you replace it with this
if($f){ $f = "AND id IN ($f)"; }else{ $f = "AND id IN (-1)"; }
If you do an include and specify a category that doesn't have any articles assigned to it then nothing will be shown instead of all articles.
Great! Works like a charm, thank you Chris. Will this be included in future releases or will I have to include the modification once upgraded?
I'll see about including it in the next update. I'll try make it configurable so that you can decide if you want the system to work like this.