Support

  1. ahmed
  2. General
  3. Saturday, March 26 2016, 06:51 PM
dear

kindly is't possible to change the background image or color of registration form as you can observe in the url below : http://alsoukk.com/index.php/acceuil/modifier-votre-compte?view=registration.

and for another subject can the share location option field dectect automatically the location of users with out the click of the users in every time that they make a new registration.

thanks
admin Accepted Answer
Admin
Hi,
all your forms have CSS class "well", in your custom.css you have set this background color at line 340.

and for another subject can the share location option field dectect automatically the location of users with out the click of the users in every time that they make a new registration.
No, but you can add some javascript code to simulate click on Geocode button on page load event.
  1. more than a month ago
  2. General
  3. # 1
ahmed Accepted Answer
dear

kindly can you add me a javascript code to simulate the click on geocode button on page load event.

thanks
  1. more than a month ago
  2. General
  3. # 2
admin Accepted Answer
Admin
Hi,
sorry for late reply, it was a weekend for us.

try to add this javascript code in some your javascript file:
jQuery(window).load(function(){
navigator.geolocation.getCurrentPosition(function(position){
jQuery('#jform_location').geocomplete('init');
jQuery('#jform_location').geocomplete('geocode',{
address: position.coords.latitude+','+position.coords.longitude
});
});
});


NOTE: this code is not tested and not supported, this is only for example purpose.
  1. more than a month ago
  2. General
  3. # 3
ahmed Accepted Answer
dear

kinly in which file i have to put this codes please. could you provide me the file path please?

thanks
  1. more than a month ago
  2. General
  3. # 4
admin Accepted Answer
Admin
You can try to put this code at the end of file /templates/modern/js/modern.js
  1. more than a month ago
  2. General
  3. # 5
ahmed Accepted Answer
Content Protected
  1. more than a month ago
  2. General
  3. # 6
admin Accepted Answer
Admin
Hi,
tried and for me works, try to clean your cache browser.

Still change with this code, otherwise geocode is enabled in all pages.
jQuery(window).load(function(){
if( jQuery('#member-registration').length ) {
navigator.geolocation.getCurrentPosition(function(position){
jQuery('#jform_location').geocomplete('init');
jQuery('#jform_location').geocomplete('geocode',{
address: position.coords.latitude+','+position.coords.longitude
});
});
}
});
  1. more than a month ago
  2. General
  3. # 7
ahmed Accepted Answer
Content Protected
  1. more than a month ago
  2. General
  3. # 8
ahmed Accepted Answer
Content Protected
  1. more than a month ago
  2. General
  3. # 9
admin Accepted Answer
Admin
Hi,
previous code will works only for field with alias "location", now I see a field with alias "emplacement".

as we said this code is only for example purpose, we do not support this. We can point you in a right way but we can't do this for you.
  1. more than a month ago
  2. General
  3. # 10
  • 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.