custom header file custom header file
 

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

custom header file

Started by Quinn, June 04, 2010, 12:34:14 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Quinn

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


<?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

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.