Advanced search  


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.

Pages: [1]   Go Down

Author Topic: custom header file  (Read 5172 times)

0 Members and 1 Guest are viewing this topic.


  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 20
  • Things go better with Quinn!
    • Raven
custom header file
« on: June 04, 2010, 12:34:14 am »

After upgrading to the New CPG my custom header doesn't load the menu for the forum...

I have tried to use ssi.php but get an error - undefined function template_menu() in SSI.php. So it was switched to the SMF index.template.php and loads without errors but the menu isn't all there..


Code: [Select]
<?php require("/******/smf/theme/index.template.php");

// <!-- Display the main header & forum menu -->
<table width="90%" align="center">
    <div class="logo-border">
    <div class="logo-box"><a href="index.php">
    <img src="../Themes/****.img  width="200px" height="75px" align="left" padding-left= "15px" border="1" ></a>
        <br />
        <span class="canvas">Collections</span>
<div class="navBar">
<!-- BEGIN mainNav -->
template_menu(), '
<!-- END mainNav -->


Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
Re: custom header file
« Reply #1 on: June 04, 2010, 08:33:59 am »

You have another open thread where you report bridging issues. Maybe they are related? I doubt that you can include your SMF's SSI.php into a Coppermine-driven gallery that already is bridged. However, similarly to your other open thread this issue is related to third-party-code (SSI.php), which is not a part of coppermine and therefore doesn't get supported by us. We don't know how that piece of code works.
Pages: [1]   Go Up

Page created in 0.018 seconds with 20 queries.