JL Content Fields Filter конфликтует с Fancibox

More
6 years 11 months ago #7040 by Владимир
Сегодня обнаружил новую проблему с модулем - при его использовании перестает работать Fanсibox.
Сперва я думал что проблема в библиотеке Jquery, которая подключается в шаблоне модуля. Я закомментировал строку
//JHtml::_('jquery.framework');
но это проблему не решило. Видимо что-то еще конфликтует... Если модуль снять с публикации - все сразу начинает работать нормально
Проблема наблюдается на модулях 1.1.0 и 1.2.0

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

More
6 years 11 months ago - 6 years 11 months ago #7041 by JoomLine
ссылку на страницу где это происходит укажите... сдается мне что проблема не в модуле фильтра... а в способе подключения фенсибокс.
Last edit: 6 years 11 months ago by JoomLine.

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

More
6 years 11 months ago #7042 by Владимир
general-smeta.ru/dokumenty-dlya-smetchik...artal-2017-goda.html
Не знаю, что там с подключением не так. Со всеми модулями и компонентами нормально "фансится" а с фильтром конфликтует...

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

More
6 years 11 months ago #7043 by JoomLine
У вас в консоли все написано же... перепишите jq через ноуконфликт s.mail.ru/4BDH/LWU9B8oxA то есть $ замените на jQuery.
The following user(s) said Thank You: Владимир

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

More
6 years 11 months ago #7044 by Владимир
Спасибо, jQuery переписал. Просто думал может в модуле можно что-то отключить, чтобы не конфликтовало...

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

More
6 years 11 months ago #7045 by JoomLine
У вас не был подключен jq Joomla, подключались сторонние библиотеки с гугла, по хорошему их можно отключить, а модуль работает с нативными инструментами Joomla, они все таки предполагают использование переопределения $

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

More
6 years 11 months ago #7046 by Владимир
Ну да, jq Joomla у меня специально отключен, т.к. вместо одного файла jq, подключается 3 (jq, noconflict, migrate). Плюс там всякие "коры", бутстрапы устаревшие, кэпшены и прочая ерунда...

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

More
6 years 9 months ago #7193 by Али Простой
а на чем вы сделали вывод документов?
на К2?

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

More
6 years 9 months ago #7194 by Владимир
Нет, все на чистом движке + пользовательские поля. Пока полей не было перепробовал и к2 и Мозетс и Флекси. Все не нравилось. К счастью, теперь все можно на чистом движке делать...
The following user(s) said Thank You: Али Простой

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

More
6 years 9 months ago #7195 by Али Простой

Владимир wrote: Нет, все на чистом движке + пользовательские поля.

Ты макет блога переделывал чтоб так выглядело или это стандартный макет
,
если переделывал макет блога, можешь мне тоже скинуть, я тоже делаю на подобие твоего, но у меня вообще пропал фильтр
вот мой тестовый макет документы

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

More
6 years 9 months ago #7196 by Владимир
Да, переделывал макет. У меня вообще много всяких макетов под собственные нужды сделано, так что не знаю, чем мой макет может быть полезен.
Принцип действия моих макетов такой: к пункту меню с определенной категорией (блог категории) привязан макет. Привязан через базу данных, т.к. в параметрах я не нашел настроек. В макете для блога категории у меня проверяется наличие привязанных макетов
if($this->params->get('layout_type') && ($this->params->get('layout_type') != 'blog')):
	echo $this->loadTemplate($this->params->get('layout_type'));
else:
	echo $this->loadTemplate('default');
endif;
и если они есть, то используется собственный макет. В случае с документами - blog_smdoc.php По содержанию аналогичен дефолтному blog.php только название шаблона элемента блога заменено с blog_item.php на blog_smdoc_item.php
Макет blog_smdoc_item.php у меня такой:
Warning: Spoiler!

Вот как-то так у меня все работает
The following user(s) said Thank You: Али Простой

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

More
6 years 9 months ago #7197 by Али Простой
я хотел сделать как здесь rosmintrud , но пока не плучается

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

Powered by Kunena Forum

Last from the forum

    • чет не работает
    • You may have heard about the for a while now, but you still don't dare to visit them. It is time for you to lose your fear of these prostitute websites. Take your mobile phone, and visit it now. The escorts are local prostitutes you can access for a minimum amount.
    • In Component / Yandex Market XML
    • After searching the house and finding nothing,
    • One day, a curious boy named Sam moved into the house with his family. As he explored the property, he noticed a rusty, old key lying under a bush. Sam picked it up, wondering what it might unlock. After searching the house and finding nothing, Sam decided to try the key on the garden gate. To his surprise, the key fit perfectly. With a turn of the key and a creak of the hinges, the gate slowly swung open. Inside the garden, Sam was greeted by a sight of wonder. The garden was overgrown but full of vibrant flowers, exotic plants, and a small, sparkling pond. In the middle of the garden stood a beautiful stone statue of a unicorn. As Sam explored further, he discovered a small plaque next to the statue. It read: "To whoever finds this garden, may you always find joy in the beauty of nature and the magic of discovery." Sam spent hours in the garden, exploring every corner and marveling at the hidden beauty. The garden seemed to have a magical quality that made Sam feel at peace and incredibly happy. From that day on, Sam made it a habit to visit the garden every day, taking care of it and sharing its beauty with his friends and family. The once-forgotten garden became a place of joy and wonder for everyone who visited. And so, Sam learned that sometimes, the greatest treasures are not just the secrets we uncover but the beauty and joy we find in them
    • In Component / Afisha Joomla
    • search engine optimization
    • One crisp autumn afternoon, while playing near the house, Emma noticed something shiny half-buried in the dirt. She dug it up and found an old, ornate key with intricate designs. Excited, she wondered what it might open. With the key clutched tightly in her hand, she approached the old house. The door creaked open with surprising ease, and Emma stepped inside. The interior was just as dusty as the outside, but it had an air of mystery. She wandered through the rooms, discovering old furniture and forgotten toys. Each room told a story of a family that had once lived there long ago. As she explored, Emma came upon a small, locked chest in the corner of one room. Her heart raced as she inserted the key into the lock. With a satisfying click, the chest opened to reveal a collection of old photographs, letters, and a beautiful, hand-carved wooden box. Inside the wooden box was a small locket. When Emma opened it, she saw a picture of a young girl who looked strikingly similar to herself. Beside the locket was a letter addressed to "The Finder of the Key." The letter explained that the house had belonged to a family who had to leave quickly many years ago, leaving behind their cherished belongings. The letter's writer was the young girl’s great-grandparent, and the locket was a family heirloom meant to be passed down. Emma's heart swelled with joy as she realized that she had discovered a piece of her own history. She decided to bring the locket and the other treasures to her parents. They were amazed and touched by the find, and they decided to restore the old house, making it a special place to remember their family’s history. From that day on, the house was no longer forgotten. It became a cherished part of the town, where Emma and her family would often visit, sharing stories of the past and making new memories. And so, the little girl with the curious heart had not only uncovered a hidden treasure but had also brought new life to a piece of history, all with a simple, forgotten key.
    • In Component / JL TV
© 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.