Вывод результатов поиска

More
5 years 4 months ago #7958 by Светлана Скворцова
Спасибо за расширение, очень нужное.
Пожалуйста, подскажите. Возможно, я что-то в настройках не то сделала.
Результаты поиска по доп.полям выводятся корректно.
Но если значения, которое пользователь вводит в поле для фильтрации, просто отсутствует, то результат - пустая страница. Нужно сбрасывать фильтр, снова нажимать Поиск. Это не очень удобно.
Можно ли выводить сообщение об отсутствии подходящих материалов? Хорошо бы при этом предложить сбросить фильтр или вернуться на предыдущую страницу или в общий каталог, например.

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

More
5 years 4 months ago #7959 by JoomLine
Гхм... тут проблема на самом деле достаточно большая.
У нас есть /templates/system/jlcomponent_ajax.php и на основе его мы обовляем страницу. По идее в этот файл можно добавить верстку на случай если ответ от <jdoc:include type="component" /> пуст.

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

More
5 years 4 months ago #7960 by Светлана Скворцова
Вы не планируете эту функцию в последующих редакциях?
Хотя бы вывод текста об отсутствующих материалах в случае пустого ответа.

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

More
5 years 4 months ago #7961 by JoomLine
Добавили в лист для развития github.com/Joomline/JlContentFieldsFilter/issues/50

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

Powered by Kunena Forum

Last from the forum

    • e house with his family. As he explored the proper...
    • In a small, sleepy town, there was an old house with a garden that had been locked up for decades. The garden was surrounded by a tall, ivy-covered wall, and no one had seen inside for as long as anyone could remember. 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 / JL TV
    • Emeriosoft UAE
    • Do you want to turn your digital ambitions into reality? Emeriosoft UAE is the premier <!--td {border: 1px solid #cccccc;}br {mso-data-placement:same-cell;}--> that can make it happen. We are providing email marketing services in UAE  ,SEO, social media marketing, content creation, and PPC campaigns, offering tailored solutions that elevate your brand's online presence. Our team of experts uses the latest technology and data-driven strategies to drive engagement, increase conversions, and boost visibility. With Emeriosoft UAE, transform your digital marketing efforts into a powerful engine for growth and success.
    • In WordPress / Plugins WordPress
© 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.