[Invalid]: Nav Button For Coppermine In SMF Tinyportal [Invalid]: Nav Button For Coppermine In SMF Tinyportal
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

[Invalid]: Nav Button For Coppermine In SMF Tinyportal

Started by widowmaker2000, October 27, 2008, 03:07:55 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

widowmaker2000

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">&nbsp;</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">&nbsp;</td>' : '';

The above code just defaults back to my forums when I click on the Gallery link Button

What am I doing wrong?

Joachim Müller

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.