Advanced search  

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]

Pages: [1]   Go Down

Author Topic: [Invalid]: Nav Button For Coppermine In SMF Tinyportal  (Read 2676 times)

0 Members and 1 Guest are viewing this topic.

widowmaker2000

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
[Invalid]: Nav Button For Coppermine In SMF Tinyportal
« on: October 27, 2008, 03:07:55 am »

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?
« Last Edit: October 27, 2008, 07:15:52 am by Joachim Müller »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Nav Button For Coppermine In SMF Tinyportal
« Reply #1 on: October 27, 2008, 07:15:35 am »

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.
Logged
Pages: [1]   Go Up
 

Page created in 0.013 seconds with 16 queries.