By Michael Guthrie on Wednesday, 28 January 2015
Posted in General Issues
Likes 0
Views 650
Votes 0
Hi, I'd like to move the Albums and Hits links (.es-profile-header-footer) into the group header (.es-profile-header-body) in order to close the gap between the cover and the body, but I'm getting a bit lost in all the files of Wireframe, could you point me towards the correct file(s) to edit?
Thanks,
M
Hello Michael,

What you can do is to edit the file /components/com_easysocial/themes/wireframe/groups/item.header.php and copy the codes below,


<?php if ($this->config->get('photos.enabled', true) && $group->getCategory()->getAcl()->get('photos.enabled', true) && $group->getParams()->get('photo.albums', true)) { ?>
<span>
<a href="<?php echo FRoute::albums( array( 'uid' => $group->getAlias() , 'type' => SOCIAL_TYPE_GROUP ) );?>">

<i class="ies-picture"></i>

<?php echo JText::sprintf( FD::string()->computeNoun( 'COM_EASYSOCIAL_GROUPS_ALBUMS' , $group->getTotalAlbums() ) , $group->getTotalAlbums() ); ?>
</a>
</span>
<?php } ?>
<span>
<i class="ies-eye"></i>

<?php echo JText::sprintf( FD::string()->computeNoun( 'COM_EASYSOCIAL_GROUPS_VIEWS' , $group->hits ) , $group->hits ); ?>
</span>


Place the codes within the file /components/com_easysocial/themes/wireframe/groups/cover.php . You will need to style them accordingly though.
·
Thursday, 29 January 2015 01:42
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Michael,

I'm sorry but I'm not sure which part you are referring to. Can you provide a screenshot instead?
·
Thursday, 29 January 2015 00:07
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi, I think I forgot to include the front-end login details. Here they are and also a screenshot. I'd like to move the elements in blue into the area in red.
Best,
Michael
·
Thursday, 29 January 2015 00:17
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark,
Thanks for pointing me towards the item.header.php file, in fact it was a matter of moving the code you placed above to a different position within the same file.
Best,
Michael
·
Thursday, 29 January 2015 18:18
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome Michael
·
Thursday, 29 January 2015 23:42
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post