By Peter Bauer on Thursday, 04 February 2016
Replies 5
Likes 0
Views 1.1K
Votes 0
Hi there,
how do i get a quick link for Photos or Albums under the avi-pic? (like videos, friends, followers)
Peter
Hey Peter,

Hm, we don't have this currently but I will try to add this in the next release. Temporarily, what you can do is this, edit the file /components/com_easysocial/themes/wireframe/profile/default.header.php and at line 230 add the block of codes below:


<?php if ($this->config->get('photos.enabled')) { ?>
<span>
<a href="<?php echo FRoute::albums(array('uid' => $user->getAlias(), 'type' => SOCIAL_TYPE_USER));?>">
<i class="fa fa-picture-o"></i>
<?php echo JText::sprintf(ES::string()->computeNoun('COM_EASYSOCIAL_USER_ALBUMS' , $user->getTotalAlbums()), $user->getTotalAlbums()); ?>
</a>
</span>
<?php } ?>


Then, in your language file /language/en-GB/en-GB.com_easysocial.ini , add the following


COM_EASYSOCIAL_USER_ALBUMS_PLURAL="%1$s Albums"
COM_EASYSOCIAL_USER_ALBUMS_SINGULAR="%1$s Album"
·
Thursday, 04 February 2016 11:58
·
0 Likes
·
0 Votes
·
0 Comments
·
great work, Mark.
We are on the way :-).... Albums are shown, only the link is invalid. It links to the root without domain-name

https://index.php/community/alben/user/421-chrichri
·
Thursday, 04 February 2016 16:27
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Peter,

Remove the / right after the quotes in the href as our site is fixing the SEF link
·
Thursday, 04 February 2016 17:11
·
0 Likes
·
0 Votes
·
0 Comments
·
works !!
·
Thursday, 04 February 2016 17:34
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome This will be added in EasySocial 1.4.8 by the way.
·
Friday, 05 February 2016 14:49
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post