Good afternoon! joomla 6 When you select your layout in the category settings (without linking to a menu item), it only shows the category data (description and image), but it does not show the materials associated with that category, and it says that there are no materials in that category. The default category blog template has been redefined, and the files in the category folder, such as blog.php, blog_item.php, and blog_children.php, have been renamed to myblog.php, myblog_item.php, and myblog_children.php
| Labels |
Removed:
?
|
||
| Labels |
Added:
No Code Attached Yet
|
||
| Labels |
Added:
Information Required
|
||
Materials = content. It's how it gets translated from russian
@diatida вам может помочь общая статья о разработке шаблонов для Joomla 4+ и так же статья Рецепт приготовления современного сайта-каталога на пользовательских полях Joomla. Скорее всего при переопределении макетов у вас где-то возникла ошибка в наименовании переменных или же в логике. Проверьте работает ли всё на стандартном шаблоне Cassiopeia.
При создании переопределения вы можете просто скопировать и переименовать файлы в папку html вашего шаблона. И тогда они будут видны в настройках категории. А если переопределить ещё и xml-файл к этому макету, то можно будет создать пункт меню для данного переопределения. Об этом подробно рассказывается в статье про создание каталога на пользовательских полях Joomla,
Thank you for contribution. I'm not sure if i understand your issue correctly. You have made override for in your template - correct? You renamed or copied, (possibly modifed the files) to myblog....php. Then in the settings of category you can select 'myblog' as a layout (under your template)- correct?
I don't understand the term 'materials' in this context. Can you add some screenshots?