Support

  1. hooman52
  2. Support
  3. Wednesday, August 24 2016, 09:58 AM
Hi,
Please look at this site.
http://medarena.tk/
at the top of page I use jsnsearch module there is a field named " Bölgə" it means region and next to it is a field named "Rayon" it means town.
I use conditions for showing different towns when visitor select each region. it works fine but I have some issues with CSS .
1- when page loads all of fields shown and after a quick time they disappear.
2- when visitor selects one region, then in a short time search button goes down and then back to its place.
3- also when visitor select different regions there is no clear change happened between fields , I mean you have see in a short transition effect. I don't want this effect and want to see clear change

let me ask you help me how can I fix these.
thanks
Accepted Answer
admin Accepted Answer
Admin
Hi,
you have right, sorry :p , the code for search module is at /modules/mod_jsnsearch/helper.php
  1. more than a month ago
  2. Support
  3. # Permalink
admin Accepted Answer
Admin
Hi,
this is not a problem of CSS delay

1. Transition are triggered when DOM is ready, but you have a slow site. try test here: https://developers.google.com/speed/pagespeed/insights/
Solution:
- Add CSS to force to hide all fields
- Add Javascript to show all fields when DOM is ready

2. 3. When you change "Bölgə" you have 2 "Rayon" fields, 1 coming to hide and 1 coming to show. unfortunately for change that you have to change our system plugin and replace all animations slideUp/slideDown with hide/show.

Alternative to all these problems (but I think it's to late to implement in your site), is to use only one field "Rayon": Select field type allow you to get options from DB, recently we have added a possibility to filter these option from value of another field, see example (State->Regions->Cities) at https://www.easy-profile.com/support/conditional-drop-downs.html#reply-11318
  1. more than a month ago
  2. Support
  3. # 1
hooman52 Accepted Answer
Pro
Hi,
Let me know how can I change system plugin. witch files? and what i have to change
thanks
  1. more than a month ago
  2. Support
  3. # 2
admin Accepted Answer
Admin
Hi,
plugins/system/jsn_system/jsn_system.php, you need to change all animations from slideUp/slideDown to hide/show.

You also need to test these modification, we never tested something like this and we does not support custom development.
  1. more than a month ago
  2. Support
  3. # 3
hooman52 Accepted Answer
Pro
Hi
I tried this modification. I changed all animations from slideUp/slideDown to hide/show. also I added speed ( for example 0 or 1000) . it works in edit profile page but it is not ang change in search module.
is there and jquery script for search module?
thanks
  1. more than a month ago
  2. Support
  3. # 4
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Request Support

Support is currently Offline

Support Availability

Working days: Monday to Friday. The support staff is not available on weekends; in the most of cases tickets will not be answered during that time.

Reply time: Depending on the complexity of your support issue it's usually between a few minutes and 24 hours for paid members and about one week for free members. When we expect longer delays we will notify you.

Guidelines

Before you post: read the documentation and search the forums for an answer to your question.

When you post: include Site Details if you request a support (you can use the form below the reply in Site Details tab).

Auto Solved Question: If after a week the author of the post does not reply to a request by moderator, the question will be marked as resolved.

Language: only English

Search Users

Easy Profile® is not affiliated with or endorsed by Open Source Matters or the Joomla Project. Joomla is Free Software released under the GNU/GPL License.