Advanced search  

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

Pages: [1]   Go Down

Author Topic: [Solved]: I use the eyeball theme and I want to put in my banner, how do I do it?  (Read 5558 times)

0 Members and 1 Guest are viewing this topic.

bjorner

  • Coppermine newbie
  • Offline Offline
  • Posts: 3

I use the eyeball theme and I want to put in my banner. I've tried to put it in the template.html but it does'nt show. I think the weay to do it is to put it in the anycontent.php. But I've got no experience with PHP, even if I'm used to programing. So my question is how do I call anycontent.php. And shall I call it in the template.html.

Best Regards
Bjørn :)
« Last Edit: September 17, 2008, 05:56:00 pm by Nibbler »
Logged

Nibbler

  • Guest
Re: I use the eyeball theme and I want to put in my banner, how do I do it?
« Reply #1 on: September 17, 2008, 03:36:23 pm »

Just edit the template.html. Post a link to your gallery and we can tell you why it doesn't show up.
Logged

bjorner

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: I use the eyeball theme and I want to put in my banner, how do I do it?
« Reply #2 on: September 17, 2008, 04:31:21 pm »

I'm sorry I can't give you the link to my website, and port 80 is closed from those who deliever my net. I intend to make all work before I put it on web.  I'm doing this at home with linux, apache, mysql, php. IThe picture got rwx for the ovner and rx for everyone else. the picture is called, as you can see:
-rwxr-xr-x 1 root root 31397 2008-09-17 12:31 linnJewel.jpg
 Here is my template. html, you will find the code I put in at the bottom:

Thank you Bjørn

Code: [Select]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="{LANG_DIR}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" />
<meta http-equiv="Pragma" content="no-cache" />
<title>{TITLE}</title>
{META}
<link rel="stylesheet" href="themes/eyeball/style.css" type="text/css" />
<script type="text/javascript" src="scripts.js"></script>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}
//-->
</script>
<!--
  SVN version info:
  Coppermine version: 1.4.19
  $Revision: 4392 $
  $LastChangedBy: gaugau $
  $Date: 2008-04-16 09:25:35 +0200 (Mi, 16 Apr 2008) $
-->
</head>
<body>
  {CUSTOM_HEADER}
  <table border="0" cellpadding="0" cellspacing="0" width="100%" class="top_panel">
    <tr>
      <td>
        <table border="0" cellpadding="0" cellspacing="0" width="100%">
          <tr>
            <td width="49%" style="background-image:url(themes/eyeball/images/top_background_r1_c1.gif);"></td>

            <td width="2%">
              <table border="0" cellpadding="0" cellspacing="0" width="100%">
                <tr>
                  <td>
                    <div>
                      <table border="0" cellpadding="0" cellspacing="0" width="100%">
                        <tr>
                          <td width="135" height="17" style="background-image:url(themes/eyeball/images/top_background_r1_c2.gif);background-repeat:no-repeat;"><img src="images/spacer.gif" width="135" height="17" border="0" alt="" /></td>

                          <td width="100%" style="background-image:url(themes/eyeball/images/top_background_r1_c4.gif);background-repeat:repeat-x;"></td>

                          <td width="135" height="17" style="background-image:url(themes/eyeball/images/top_background_r1_c5.gif);background-repeat:no-repeat;"><img src="images/spacer.gif" width="135" height="17" border="0" alt="" /></td>
                        </tr>
                      </table>
                    </div>
                  </td>
                </tr>

                <tr>
                  <td>
                    <div class="ie_fix">
                      <table border="0" cellpadding="0" cellspacing="0" width="100%">
                        <tr>
                          <td><img name="top_background_r2_c2" src="themes/eyeball/images/top_background_r2_c2.gif" width="55" height="25" border="0" id="top_background_r2_c2" alt="" /></td>

                          <td align="center">{SUB_MENU}</td>

                          <td><img name="top_background_r2_c6" src="themes/eyeball/images/top_background_r2_c6.gif" width="55" height="25" border="0" id="top_background_r2_c6" alt="" /></td>
                        </tr>
                      </table>
                    </div>
                  </td>
                </tr>
              </table>
            </td>

            <td width="49%" style="background-image:url(themes/eyeball/images/top_background_r1_c7.gif);"></td>
          </tr>
        </table>
      </td>
    </tr>
  </table>

  <div id="Menu1" class="topmenu">
    <table border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td>{SYS_MENU}</td>
      </tr>
    </table>
  </div>
  <div style="padding: 5px 20px;">
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td valign="top">{ADMIN_MENU} {GALLERY}</td>
      </tr>
      <img src="images/linnJewel.jpg">
      <tr>
        <td valign="top">
          <div style="text-align:center;">
            <div>
              {THEME_SELECT_LIST}&nbsp; {LANGUAGE_SELECT_LIST}<br />
              {LANGUAGE_SELECT_FLAGS}
            </div>
          </div>
        </td>
      </tr>
    </table>
  </div>{CUSTOM_FOOTER} {VANITY}
</body>
</html>
« Last Edit: September 17, 2008, 06:06:35 pm by Joachim Müller »
Logged

bjorner

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: I use the eyeball theme and I want to put in my banner, how do I do it?
« Reply #3 on: September 17, 2008, 05:29:08 pm »

I've solved it, the path to the image was to short I had to make it all the way from index.php and template.html.

Thank you
& best regards
Bjørn
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 20 queries.