1. gisellevqz
  2. Support
  3. Tuesday, October 17 2017, 02:39 AM
Hi,
I just purchased the Pro Version. I am really happy with the product. I do have a quick question. Is there any way that when someone who is not register, let's say Public or Guess click on an user Avatar or Link to see their profile instead of the User Profile page landing on Recent Activities, the User Profile Page shows the Info Tab Content instead of the person clicking on Info Link to the left?
Thank you so much!
Giselle
Attachments (1)
admin Accepted Answer
Admin
Hi,
sorry for late reply, it was night for us :D

there is not possible natively, but you do this with a simple javascript code. Try to add following JS code in your template:
jQuery(document).ready(function(){
jQuery('.view_profile #profile-content').hide();
});
jQuery(window).load(function(){
jQuery('[data-url*="/users/ajax_info"]').click();
jQuery('.view_profile #profile-content').show();
});


Normally all templates allow you to add Javascript/CSS code in template parameters or in a custom file. But this depends from your template.
For example for Joomla default template "Protostar" you can create file into /templates/protostar/js/user.js and put this code into this file.
  1. more than a month ago
  2. Support
  3. # 1
gisellevqz Accepted Answer
Pro
Thank you very much!!

Best Regards,
Giselle
  1. more than a month ago
  2. Support
  3. # 2
  • Page :
  • 1


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