Advanced search  

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]

Pages: [1]   Go Down

Author Topic: include files in theme.php  (Read 3735 times)

0 Members and 1 Guest are viewing this topic.

Youpi

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
include files in theme.php
« 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 ?
« Last Edit: November 16, 2004, 06:20:07 pm by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: include files in theme.php
« Reply #1 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
Logged

Youpi

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
Re: include files in theme.php
« Reply #2 on: November 17, 2004, 12:18:52 pm »

sorry i'm french, bad speak :( sniff
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 20 queries.