forum.coppermine-gallery.net

No Support => Feature requests => Topic started by: Youpi on November 16, 2004, 11:27:10 am

Title: include files in theme.php
Post by: Youpi on November 16, 2004, 11:27:10 am
i would like to know how can i include a external files in theme.php ??

Code: [Select]
// 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 ?
Title: Re: include files in theme.php
Post by: Joachim Müller on November 16, 2004, 06:20:03 pm
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
Title: Re: include files in theme.php
Post by: Youpi on November 17, 2004, 12:18:52 pm
sorry i'm french, bad speak :( sniff