[JLCatalog] Не работают настройки "Стиль шаблона" для каталога мест

More
6 years 10 months ago #7410 by Дмитрий
Попытался переопределить внешний вид компонента JLCatalog, т.к. документация для него отсутствует, пытался делать по аналогии с JLAfisha, описанной здесь .

1. Есть подозрения, что в документации закралась ошибка:
Изменяем: /templates/шаблон_сайта/html/com_afisha/test/event/default.php
test - это имя шаблона для вашего нового представления, шаблонов может быть у вас хоть 100 штук.
По правилам Joomla должно выглядеть примерно так /templates/шаблон_сайта/html/com_afisha/event/test.php

Но попробовав переопределить указанным выше способом, а также стандартными средствами Joomla ни тот, ни другой способ не сработал. В выпадающем списке Стилей шаблона отсутствует новое название.

2. В компоненте JLCatalog присутствуют две папки: jlcatalog и place, какую именно надо переопределять, чтобы изменить внешний вид каталога мест? Я пытался обе переопределять, но результата не получил (при этом стандартные компоненты joomla переопределяются без проблем).

Please Log in or Create an account to join the conversation.

More
6 years 10 months ago #7419 by JoomLine
Продублирую мини инструкицию, по каталогу. Дело в том, что каталог поддерживает стандартное переопределение шаблонов Joomla, в отличии от Афиша Joomla.
То есть делается так:
1. идем в шаблоны s.mail.ru/Hysh/CuvLKuDmk
2. переопределяем шаблон: s.mail.ru/LuEP/ZgfXomG4L
3. вносим изменения. s.mail.ru/6EYv/7nDibmbKP

Что получилось: s.mail.ru/2W7R/j4tvL2PNV

Please Log in or Create an account to join the conversation.

More
6 years 10 months ago #7420 by JoomLine
jlcatalog - категория
place - это представления места

Please Log in or Create an account to join the conversation.

More
6 years 10 months ago #7425 by Дмитрий
Один из сотрудников частично помог решить проблему. Оказывается если переопределить модуль стандартными средствами Joomla, новый макет будет работать пока файл называется default.php, если его переименовать как-то иначе, ничего не будет работать.

В настройках (в выпадающем списке) название макета не появляется. Таким образом, для разных категорий не получится задать несколько разных макетов каталога мест.

По поводу этого бага отписался в службу поддержки.

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum

Last from the forum

    • psyllium fiber capsule manufacturing
    • Our process combines cutting-edge encapsulation technology and meticulous quality assurance, ensuring every capsule delivers optimal fiber content and efficacy. Rigorously tested for contaminants and uniformity, our capsules are trusted by leading wellness brands who value transparency, consumer safety, and nutritional performance.  
    • In English Forum / Component
    • Is Kamagra Oral Jelly Safe for Long-Term ED Treatm...
    • can be effective for treating erectile dysfunction, but its safety for long-term use depends on individual health factors and medical guidance. The active ingredient, sildenafil citrate, is generally well-tolerated when taken as prescribed. However, regular or prolonged use without a doctor’s supervision can increase the risk of side effects such as headaches, dizziness, indigestion, nasal congestion, and visual disturbances. For long-term treatment, it's important to consider the underlying cause of ED, such as cardiovascular issues, diabetes, or stress, and address it alongside medication. Using Kamagra Oral Jelly and occasionally and under medical advice may be safe for many men, but it should not be used as a permanent solution without medical oversight.
    • In Component / Afisha Joomla
    • greensocialteam
    • Su Hailin entered the Japanese AV industry under the stage name "Erina". After her debut, she attracted many haters who kept scolding her online. She held a "Face-to-face meeting with haters" in Mong Kok yesterday (May 10). Beforehand, she publicly named 9 black fans who often attacked her, hoping to meet and talk in person. However, the night before the event, Su Hailin stated on social media that the police opposed her holding the event on the street and that it would eventually have to be held in a party room. However, all the haters disappeared, and instead a large number of fans showed up to support her. Su Hailin also announced that a photo exhibition will be held next month, and haters are also welcome to visit.  
    • In Component / JL Mail
© 2010- JoomLine
The Joomla!® name is used under a limited license from Open Source Matters in the United States and other countries. joomline.net is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

email: This email address is being protected from spambots. You need JavaScript enabled to view it.