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

More
6 years 7 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 7 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 7 months ago #7420 by JoomLine
jlcatalog - категория
place - это представления места

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

More
6 years 7 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

    • gotopbestblogger
    •   In it for the long run, during 2024 Nexon has taken the web3 extension of its MapleStory IP not just wider, but also deeper. Garnering 400,000 users during a single day in its latest MapleStory N playtest showcases Nexon’s growing understanding on sustainable ecosystem building. The release of its NXPC token model makes MapleStory Universe users even more excited about where the project is heading as we’re on the verge of a new year.
    • In Plugins Joomline / JL Comments / JL Comments PRO
    • voip phone
    • One day, a monkey drove his car near a lake. Sudden, he saw a tiger under a tree. The tiger saw him, too. The tiger ran very fast at the monkey. The monkey was very afraid and he and his car fell into the lake. The monkey couldn't swim and he shouted. A rabbit came and he jumped into the lake. The abbit swam to the monkey but did not help him. Both of them shouted forhelp. Luckily, a giraffe came along. He was very tall. He helped the rabbit and the monkey.  
    • In Component / JL Mail
    • bloggingaboutanythingonline
    • One day, a monkey drove his car near a lake. Sudden, he saw a tiger under a tree. The tiger saw him, too. The tiger ran very fast at the monkey. The monkey was very afraid and he and his car fell into the lake. The monkey couldn't swim and he shouted. A rabbit came and he jumped into the lake. The abbit swam to the monkey but did not help him. Both of them shouted forhelp. Luckily, a giraffe came along. He was very tall. He helped the rabbit and the monkey.  
    • 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.