https://www.icyphoenix.com/viewtopic.php?f=26&t=3726&p=25708#p25708
-----------------------------------
moreteavicar
Sun 09 Mar, 2008 16:38

Re: Sub Cat Link On Profile Page
-----------------------------------
Well I have a reasonable idea how to do this (assuming I understand your question correctly), its not too hard. 

1) There already exists a link variable to a user's album from the profile page, in the top nav links section.
2) You can use the same link variable and put it anywhere. The actual code is

[code linenumbers=false]<a href="{U_PERSONAL_GALLERY}" class="gensmall">{L_PERSONAL_GALLERY}</a>[/code]


File to edit is:

templates/mg_themes/profile_view_body.tpl

[b]Usage[/b]
Depending on where you want to put the link, e.g. suppose you want it at top of the "Information" table:
 
look for:
[code linenumbers=false]

<tr><th colspan="2"><span class="genmed"><b>{L_INVISION_INFO}</b></span></th></tr>

[/code]

after add:
[code linenumbers=false]
							<tr>
							<td valign="top" class="row2" width="30%"><b><span class="genmed">Personal Gallery</span></b></td>
                                                        <td class="row1"><a href="{U_PERSONAL_GALLERY}" class="gensmall">{L_PERSONAL_GALLERY}</a></td>
                                                        </tr>

[/code]

The file is html so you should be able to work out what needs to be done to place the link where you want it.


