Support

  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.

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.