• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
Profile Page Tab Icon Replacement

Profile Page Tab Icon Replacement

Sheldon

Well-known member
#1
Sheldon submitted a new resource:

Profile Page Tab Icon Replacement - Tired of getting stacked profile tabs?

Profile Page Tab Icon Replacement
View attachment 59124 View attachment 59125
Simple template modification to change the look of your profile page tabs.

First off, I decided to use Font Awesome, just seemed as easy to use as anything.

So, in order to do that, go to the template PAGE_CONTAINER

Find:
Code:
<head>
Insert After:
Code:
<link...
Read more about this resource...
 

Sheratan

Well-known member
#4
Do you know how to use this with [bd]Medal? Because I can't find the right template to put <i class="icon-star icon-large"></i>

-edit-
Found it. It's on bdmedal_member_view_tabs_heading

 
Last edited:

SignTorch

Active member
#6
for the resource tab

in ACP click the appearance tab then template-modifications then find member_view (Adds tab resources header)

then adjust the Replace textarea content

Code:
<xen:if is="{$user.resource_count} AND {$canViewResources}">
<xen:comment><li><a href="{$requestPaths.requestUri}#resources">{xen:phrase resources}</a></li></xen:comment>
<li><a title="Resources" href="{$requestPaths.requestUri}#resources"><i class="icon-picture icon-large icon-fixed-width"></i></a></li>
</xen:if>
$0
 
#7
for the resource tab

in ACP click the appearance tab then template-modifications then find member_view (Adds tab resources header)

then adjust the Replace textarea content

Code:
<xen:if is="{$user.resource_count} AND {$canViewResources}">
<xen:comment><li><a href="{$requestPaths.requestUri}#resources">{xen:phrase resources}</a></li></xen:comment>
<li><a title="Resources" href="{$requestPaths.requestUri}#resources"><i class="icon-picture icon-large icon-fixed-width"></i></a></li>
</xen:if>
$0
My site doesn't have the member_view section you are talking about (Adds tab resources header) - any help would really be appreciated as would love to fix this up - looks weird with it all there and then a tab saying Resources!
 

Sheldon

Well-known member
#8
My site doesn't have the member_view section you are talking about (Adds tab resources header) - any help would really be appreciated as would love to fix this up - looks weird with it all there and then a tab saying Resources!
Enable debug.

Go into Template Modifications
Screenshot_3.png

Select the one that says Adds tab resource header

Go down to replace:
Screenshot_5.png

Change to:
Code:
<xen:if is="{$user.resource_count} AND {$canViewResources}">
<li><a href="{$requestPaths.requestUri}#resources"><i class="icon-gears icon-large icon-fixed-width"></i></a></li>
</xen:if>
$0
Result:
Screenshot_6.png