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

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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.