1. jose-manuel-chavez
  2. Support
  3. Wednesday, July 06 2016, 09:13 AM
Present the problem in wanting to integrate into a menu, the links to the different groups or tabs created in the profile page , try entering a league type : /http://index.php/your-profile/profile?layout=edit#tab1 - # tab2 - # tab3 etc. But does not link to the page or tab , anyone know how I can fix this? Beforehand thank you very much…
admin Accepted Answer
Admin
Hi,
you need to write some javascript code to do this, we use a simple bootstrap classes. Keep in mind that at the end of July we will release a big update (version 2.0). In this new release Easy Profile can manage this.
  1. more than a month ago
  2. Support
  3. # 1
jose-manuel-chavez Accepted Answer
Basic
There are some sample code to do this ?
  1. more than a month ago
  2. Support
  3. # 2
jose-manuel-chavez Accepted Answer
Basic
Content Protected
  1. more than a month ago
  2. Support
  3. # 4
jose-manuel-chavez Accepted Answer
Basic
The inserted code was as follows:

<script type="text/javascript">
Joomla.twoFactorMethodChange = function(e)
{
var selectedPane = 'com_users_twofactor_' + jQuery('#jform_twofactor_method').val();

jQuery.each(jQuery('#com_users_twofactor_forms_container>div'), function(i, el) {
if (el.id != selectedPane)
{
jQuery('#' + el.id).hide(0);
}
else
{
jQuery('#' + el.id).show(0);
}
});

jQuery(window).load(function(){
var url = document.location.toString();
if (url.match('#')) {
jQuery('.nav-tabs a[href=#'+url.split('#')[1]+']').click();
}
});
}
</script>
  1. more than a month ago
  2. Support
  3. # 5
admin Accepted Answer
Admin
Hi,
we point you to an example, the file /components/com_users/views/profile/tmpl/edit.php is output of edit profile page (not profile page).

you need to change the file /components/com_jsn/views/profile/tmpl/default.php.
  1. more than a month ago
  2. Support
  3. # 6
jose-manuel-chavez Accepted Answer
Basic
Content Protected
References
  1. http://www.formacionnasoft.com
  1. more than a month ago
  2. Support
  3. # 7
admin Accepted Answer
Admin
I'm sorry but I must have done a bit of confusion, in profile page there is not tabs to link. In the next release :p

The tabs are only in edit profile page so the correct file is /components/com_users/views/profile/tmpl/edit.php, I have tested code at https://www.easy-profile.com/support/html-delimiter-code-to-link-to-tab1-or-another.html with a browser console and works.

Add code to correct file and we will check on your site ;)
  1. more than a month ago
  2. Support
  3. # 8
jose-manuel-chavez Accepted Answer
Basic
Content Protected
  1. more than a month ago
  2. Support
  3. # 9
  • Page :
  • 1


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