include files in theme.php include files in theme.php
 

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

include files in theme.php

Started by Youpi, November 16, 2004, 11:27:10 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Youpi

i would like to know how can i include a external files in theme.php ??

// HTML template for main menu
$template_main_menu1 = <<<EOT
                <span class="topmenu">
                        <table border="0" cellpadding="0" cellspacing="0">


                                <tr>
<?
include("script.php");
?>
<!-- BEGIN my_gallery -->
                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" id="spacer" alt="" /></td>
                                        <td><img name="buttonleftmy" src="themes/hardwired/images/buttonleftmy.gif" width="17" height="25" border="0" id="buttonleftmy" alt="" /></td>
                                        <td background="themes/hardwired/images/buttoncenter.gif">
                                                <a href="{MY_GAL_TGT}" title="{MY_GAL_TITLE}">{MY_GAL_LNK}</a>
                                        </td>
                                        <td><img name="buttonright" src="themes/hardwired/images/buttonright.gif" width="7" height="25" border="0" id="buttonright" alt="" /></td>


it don't fonction, what's the code i must put in template ?

Joachim Müller

1) This has been asked many times over, search the board for "custom header"
2) Do not post support requests on the "feature requests" board (it is meant for requests for features in future versions of coppermine, as the board description clearly says. There are no actual answers given on the feature requests board)  >:(

Joachim

Youpi

sorry i'm french, bad speak :( sniff