Ive got Coppermine installed running and integrated into my SMF Tiny portal site. MY question is how do I add a custom NAV link in the nav bar to go to my galley on the SMF Tiny Portal site?
My install or root directory folder is just coppermine.
I don't want it to open up in the site I just want to add a link on the already existing nav bar.
I'm using the Enterprise theme for SMF Tiny Portal.
I tired to do the common editing the index.template.php but the code I used wont work.
Quote// Show the [gallery] button.
echo ($current_action=='gallery' || $context['browser']['is_ie4']) ? '<td class="maintab_active_first"> </td>' : '' , '
<td class="maintab_' , $current_action=='forum' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=coppermine">',$txt['gallery'],'</a>
</td>' , $current_action=='gallery' ? '<td class="maintab_active_last"> </td>' : '';
The above code just defaults back to my forums when I click on the Gallery link Button
What am I doing wrong?
So you're asking how to add links to tiny portal that point to coppermine? That needs editing tiny portal files, which is something we're not familiar with. Ask tiny portal or SMF for support, not us.