I would like to add a link to my website at the bottom of my photo album. Which file should I change and where should I put the code for the link? I took a look at the theme.php file, but couldn't quite figure out where to add it. Thanks!
http://gallery.simtycoongamer.net/
To put the link at the bottom, just add it in your theme template.html.
Find this table row;
<tr>
<td align="center" valign="top">
{ADMIN_MENU}
{GALLERY}
</td>
And add a new row/cell with the link under it.
That worked. Thanks.
How would you add a link to the area with the other links (i.e. Album list, my gallery, upload file, search, etc.)
Let's say that i want to insert a link to my forum,,,what part of the code would I have to change?
Theme.php.. This is also in the docs.
Okay, i tried to add the link. Now after I changed the cde it looks something like this:
Album list :: My gallery :: User mode :: Upload file :: {FORUM_LNK} :: Logout [iCoty]
Last uploads :: Last comments :: Most viewed :: Top rated :: My Favorites :: Search
I edited the "theme.php" file located in the themes>classic folder
I assuming that I have to input the url somewhere in the code but I don't know where. When i click {FORUM_LNK} it leads to a Not Found page.
the code looks like this:
// HTML template for main menu
$template_main_menu = <<<EOT
<span class="topmenu">
<!-- BEGIN album_list -->
<a href="{ALB_LIST_TGT}" title="{ALB_LIST_TITLE}">{ALB_LIST_LNK}</a> ::
<!-- END album_list -->
<!-- BEGIN my_gallery -->
<a href="{MY_GAL_TGT}" title="{MY_GAL_TITLE}">{MY_GAL_LNK}</a> ::
<!-- END my_gallery -->
<!-- BEGIN allow_memberlist -->
<a href="{MEMBERLIST_TGT}" title="{MEMBERLIST_TITLE}">{MEMBERLIST_LNK}</a> ::
<!-- END allow_memberlist -->
<!-- BEGIN my_profile -->
<a href="{MY_PROF_TGT}">{MY_PROF_LNK}</a> ::
<!-- END my_profile -->
<!-- BEGIN faq -->
<a href="{FAQ_TGT}" title="{FAQ_TITLE}">{FAQ_LNK}</a> ::
<!-- END faq -->
<!-- BEGIN enter_admin_mode -->
<a href="{ADM_MODE_TGT}" title="{ADM_MODE_TITLE}">{ADM_MODE_LNK}</a> ::
<!-- END enter_admin_mode -->
<!-- BEGIN leave_admin_mode -->
<a href="{USR_MODE_TGT}" title="{USR_MODE_TITLE}">{USR_MODE_LNK}</a> ::
<!-- END leave_admin_mode -->
<!-- BEGIN upload_pic -->
<a href="{UPL_PIC_TGT}" title="{UPL_PIC_TITLE}">{UPL_PIC_LNK}</a> ::
<!-- END upload_pic -->
<!-- BEGIN forum -->
<a href="{FORUM_TGT}" title="{FORUM_TITLE}">{FORUM_LNK}</a> ::
<!-- END forum -->
<!-- BEGIN register -->
<a href="{REGISTER_TGT}" title="{REGISTER_TITLE}">{REGISTER_LNK}</a> ::
<!-- END register -->
<!-- BEGIN login -->
<a href="{LOGIN_TGT}">{LOGIN_LNK}</a>
<!-- END login -->
<!-- BEGIN logout -->
<a href="{LOGOUT_TGT}">{LOGOUT_LNK}</a>
<!-- END logout -->
<br />
<a href="{LASTUP_TGT}">{LASTUP_LNK}</a> ::
<a href="{LASTCOM_TGT}">{LASTCOM_LNK}</a> ::
<a href="{TOPN_TGT}">{TOPN_LNK}</a> ::
<a href="{TOPRATED_TGT}">{TOPRATED_LNK}</a> ::
<a href="{FAV_TGT}">{FAV_LNK}</a> ::
<a href="{SEARCH_TGT}">{SEARCH_LNK}</a>
</span>
Don't just make up a {FORUM_TGT}, add the url straight in there. Same goes for the others.
So just replace FORUM_TGT with my URL? When I do that it still doesn't work out.
Am i modifying the correct file? I am editing the "theme.php" file in the themes>classic folder
<a href="http://www.mydomain.com/forum" title="Go to my forum">Forum</a> ::
If it doesnt work, gimme a link to your gallery.
Sweet...It works!
Thanks nibbler!