Advanced search  

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

Pages: [1]   Go Down

Author Topic: custom header file  (Read 5539 times)

0 Members and 1 Guest are viewing this topic.

Quinn

  • 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..

http://forums.bs-raven.net/galleries

custum_header.php

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

// <!-- Display the main header & forum menu -->
  
echo'
  
<table width="90%" align="center">
    <TR><TD>
    <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>
<div class="navBar">
<!-- BEGIN mainNav -->
             '
template_menu(), '
<!-- END mainNav -->
</div>
    </div>
    </TD></TR>
    </table>'
;


 
?>


Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
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.
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 19 queries.