Support > cpg1.5 upgrading

custom header file

(1/1)

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


--- Code: ---<?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>';


 ?>

--- End code ---

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.

Navigation

[0] Message Index

Go to full version