I have installed a sample template with sample content. There is a page “Blog” and some subpages. All are visible. If I call the page but, no blog contributions are displayed. What could that be?
Have you pasted your code with invisible ink?
The theme package actually brings everything. However,
since the Kirby version is not up-to-date, I copied my default
installation and took the assets, site, and content folders from the new
theme. Then I copied my user.php into accounts, so I can log on to the panel.
Now I can go into the panel and everything looks good, but if I look at the page, the blog is blank. The other sides (for example about) I can see.
view of blog:
Is this a multi-language site? I see a site.en.txt but only a blog.txt file? Are there any other blog.xx.txt files?
Potentially yes. I do not need that.
My user I now changed from German to English. What else can I do?
If you have languages installed in your config.php file, then your content text files must have a language extension. And there may not be any additional leftover files, e.g. if you have blog.en.txt and blog.txt together. It has nothing to do with the user language you choose in the Panel.
I found this in config.php:
c::set('languages', array( array( 'code' => 'en', 'name' => 'EN', 'default' => true, 'locale' => 'en_US', 'url' => '/', ) ));
Ok, then try renaming your blog.txt to blog.en.txt
Super thanks! It works now.
Is this a long time? Maybe this is because the theme is not adapted to the latest Kirby version?
No, this is unrelated to the Kirby version, unless maybe the Kirby version is very, very old. As you can read in the documentation, you have to change the names of text files if you install languages in your config (setting languages in config.php, even if it is only one language, means that you have a multi-lang installation). If you don’t need languages, you can remove that language config setting, but then make sure that your text files do not have a language extension.
Understand. Thank you.