Support

  1. Michael729
  2. Support
  3. Wednesday, June 13 2018, 09:34 PM
In the Social Network plugin, when looking at a person's profile the default view is Profile. I would like to change the name of that and also change the default to the Info tab (and change its name as well).

How do I make those changes?
Attachments (1)
admin Accepted Answer
Admin
Hi,
follow these steps to customize these texts:
- Access to Admin Panel (http://docs.easy-profile.com/index.php/article/social-network-configuration)
- Go to Theme Manager
- Choose "SocialNetwork Theme"
- Choose file Users/view.ctp on left menu
- Click on button "Copy"*** and copy it in "Blue Theme"
- Come back to Theme Manager and choose "Blue Theme"
- You will see your override to customize, basically these texts are at lines 127 and 130, you can replace "profile" and "info" with what you prefer ;)

NOTE: This way create a override for layout file called "Users/view.ctp" and after future upgrade you does not loss your override.
  1. more than a month ago
  2. Support
  3. # 1
Michael729 Accepted Answer
thank you for that. I was able to change the items there.. but you didn't answer the second part of my question:

how do i change the default view to show the Info tab when a profile is first opened?
  1. more than a month ago
  2. Support
  3. # 2
admin Accepted Answer
Admin
Ops...sorry :(

Now you have already created the override, so:
- open override from Theme Manager->Blue Theme->Users/view.ctp
- at line 260 replace this:
echo $this->element('ajax/profile_detail');
with this:
{ ?><script>jQuery(document).ready(function($){$('#browse [data-url="<?php echo $this->request->base?>/users/ajax_info/<?php echo $user['User']['id']?>"]').click();});</script><?php }
  1. more than a month ago
  2. Support
  3. # 3
Michael729 Accepted Answer
thank you for the excellent support!
  1. more than a month ago
  2. Support
  3. # 4
  • 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.