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

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

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