Обновление страницы после действия "сбросить фильтр"

More
4 years 8 months ago #8371 by Анна Петяева
Здравствуйте!

Хотелось бы, чтобы можно было сбросить фильтр так, чтобы вернуться на страницу со всеми материалами, без фильтрации.

Сейчас мы делаем так: нажимаем "сбросить фильтр" и потом "применить фильтр" - и только так возвращаемся на исходную страницу без фильтрации. Но мало кто догадается, что сбросить фильтр - это всего лишь очистить поля, а после этого еще и нажать на кнопку "применить". А если я нажимаю на категорию или на пункт меню в надежде сбросить фильтр, фильтрация сохраняется, пока я ее принудительно не сброшу в два действия. Это немного муторно и неочевидно.

Как сделать, чтобы был возврат в исходную позицию типа "попробовать снова"?

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

More
4 years 8 months ago #8373 by Анна Петяева
В общем, я продублировала под Сбросить фильтр кнопочку submit, только добавила еще одну языковую переменную для ясности:

MOD_JLCONTENTFIELDSFILTER_RESET="Очистить фильтр"
MOD_JLCONTENTFIELDSFILTER_RENEW="Обновить страницу"

MOD_JLCONTENTFIELDSFILTER_RESET="Clear"
MOD_JLCONTENTFIELDSFILTER_RENEW="Reload page"

Не идеал, но вроде достаточно понятно и просто...

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

Powered by Kunena Forum

Last from the forum

    • google seo
    • 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 TV
    • newtopbestblogger
    • The salmon roe warship is particularly alluring. There are such a lot of round and plump salmon roes, which are "crispy" in the mouth and have an top notch taste. Don’t suppose that the meals that simplest fees 20 yuan is not of excessive exceptional.
    • In Component / JL TV
    • firstwriteshop
    • The frame does not synthesize nutrition B12 on its personal. The main assets of diet B12 are animal proteins, such as clams, oatmeal, salmon, milk, yogurt, ham, eggs, bird, cereals, soy milk, almond milk, etc.
    • 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.