1. lokery
  2. Features Request
  3. Thursday, May 08 2014, 09:48 PM
Hi!

Thanks for the cool tool!

The url /component/users/profile?layout=edit opens the profile editor on the first tab. Could you provide a code snippet that opens profile editor on another tab? Something like /component/users/profile?layout=edit&active=tab2

Thank you.
admin Accepted Answer
Admin
Hi,
here the javascript code to add:
var url = document.location.toString();
if (url.match('#')) {
$('.nav-tabs a[href=#'+url.split('#')[1]+']').tab('show') ;
}


The urls are:
/component/users/profile?layout=edit#tab0
/component/users/profile?layout=edit#tab1
/component/users/profile?layout=edit#tab2
....
  1. more than a month ago
  2. Features Request
  3. # 1
lokery Accepted Answer
Sorry for being stupid, but which file to add this script to?
  1. more than a month ago
  2. Features Request
  3. # 2
admin Accepted Answer
Admin
Can you provide me your site link?
  1. more than a month ago
  2. Features Request
  3. # 3
lokery Accepted Answer
here you are - in the "Site Details"

BTW, could you have a look at through Mozilla? It is the only browser where the personal details are shifted to the right. Please see the attached screenshot
  1. more than a month ago
  2. Features Request
  3. # 4
lokery Accepted Answer
Sorry for being stupid, I got it.

Added the script to /components/com_jsn/assets/js/tabs.js
It works fine.

Thank you.
  1. more than a month ago
  2. Features Request
  3. # 5
admin Accepted Answer
Admin
Hi,
One thing:
if you update Easy Profile, tabs.js will be rewritten. Remember to enter the code again.;)
  1. more than a month ago
  2. Features Request
  3. # 6
jimmywiddle Accepted Answer
Content Protected
  1. more than a month ago
  2. Features Request
  3. # 7
admin Accepted Answer
Admin
Hi,
no sorry, all tabs are on the same page, so you can manage this only by adding Javascript code and use hash into URL.

You will find a more complete code at https://easy-profile.com/support/html-delimiter-code-to-link-to-tab1-or-another.html#reply-5468
  1. more than a month ago
  2. Features Request
  3. # 8
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.
Sorry, the discussion is currently locked. You will not be able to post a reply at the moment.