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: header document  (Read 4981 times)

0 Members and 1 Guest are viewing this topic.

azjennifer

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
header document
« on: February 12, 2006, 11:46:17 pm »

Hello all,

Where is the document that I can change out the Coppermine header for one I can use?

Don't know much about php but if someone can point me in the right direction, I can work with it.

thanks,

azjt
Logged

Nibbler

  • Guest
Re: header document
« Reply #1 on: February 12, 2006, 11:47:29 pm »

Edit your theme's template.html.
Logged

azjennifer

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Re: header document
« Reply #2 on: February 13, 2006, 12:07:21 am »

I have that page open and when I go to add just plain gibberish to see if I am making a change I dont see anything.  Here is the link and the code.  I am just not understanding page relationships.  I can view it i Live Data mode in Dreamweaver and see the markup, but cannot edit it.

Please advise

http://jlthompson.com/cpg143/

<!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" dir="{LANG_DIR}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" />
<meta http-equiv="Pragma" content="no-cache" />
<title>{TITLE}</title>
<link rel="stylesheet" type="text/css" href="themes/hardwired/style.css" /></head>
{META}
<script type="text/javascript" src="scripts.js" ></script>
<!-- $Id: template.html,v 1.12 2005/12/04 03:22:35 donnoman Exp $ -->

{CUSTOM_HEADER}
<body>

         <!-- HERE IS MY CODE BLOCK -->
         <table>
         <td>Here is code that I have added to see if there is any change</td>
         </table>
         <!-- HERE IS MY CODE BLOCK -->

<table width="100%"  border="0" cellspacing="0" cellpadding="0">
  <tr valign="top">
    <td width="53" rowspan="3" id="far-left"><img src="themes/hardwired/images/far-left.gif" width="54" height="14" alt="" /></td>
    <td width="18" class="middle-left"><img src="themes/hardwired/images/middle-left.gif" width="18" height="14" alt="" /></td>
    <td height="62" class="right-banner">
   
        <div class="left-banner">
        <div class="gal_name">{GAL_NAME}</div>
        <div class="gal_description">{GAL_DESCRIPTION}</div>
        </div>
    </td>
    <td width="19" class="middle-right"><img src="themes/hardwired/images/middle-right.gif" width="19" height="14" alt="" /></td>
    <td width="53" rowspan="3" class="far-right"><img src="themes/hardwired/images/far-right.gif" width="53" height="14" alt="" /></td>
  </tr>
  <tr>
    <td width="18" class="middle-left">&nbsp;</td>
    <td class="gallery"><div align="right" class="topmenu"> {SYS_MENU} </div>
      <br />
      <div align="left" class="topmenu">{SUB_MENU}</div> <br />
      <div align="center"> {THEME_SELECT_LIST} {LANGUAGE_SELECT_LIST} </div>
      <br />
      {ADMIN_MENU} {GALLERY}</td>
    <td width="19" class="middle-right">&nbsp;</td>
  </tr>
  <tr valign="baseline">
    <td width="18" class="middle-left"><img src="themes/hardwired/images/bottom-left.gif" width="18" height="31" alt="" /></td>
    <td class="bottom-middle">&nbsp;</td>
    <td width="19" class="middle-right"><img src="themes/hardwired/images/bottom-right.gif" width="19" height="31" alt="" /></td>
  </tr>
</table>
<br />
<div align="center"> {LANGUAGE_SELECT_FLAGS} <br />
  <br />
</div>
{CUSTOM_FOOTER}
{VANITY}
</body>
</html>
Logged

Nibbler

  • Guest
Re: header document
« Reply #3 on: February 13, 2006, 12:11:09 am »

Use a text editor and enter some html that is actually valid.
Logged

azjennifer

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Re: header document
« Reply #4 on: February 13, 2006, 12:23:51 am »

Hi,

That code is the code from Coppermine except for the code i added:

<!-- HERE IS MY CODE BLOCK -->
<table>
<td>Here is code that I have added to see if there is any change</td>
</table>
<!-- HERE IS MY CODE BLOCK -->

i am puzzled
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: header document
« Reply #5 on: February 13, 2006, 12:30:09 am »

You need to use <tr> between table and td.
Logged

azjennifer

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Re: header document
« Reply #6 on: February 13, 2006, 01:14:46 am »

I just noticed that.  After fixing that I saved it and checked the file on the server and the change was made. 


Here is the link:
http://jlthompson.com/cpg143/
Here is the code:
<!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" dir="{LANG_DIR}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" />
<meta http-equiv="Pragma" content="no-cache" />
<title>{TITLE}</title>
<link rel="stylesheet" type="text/css" href="themes/hardwired/style.css" /></head>
{META}
<script type="text/javascript" src="scripts.js" ></script>
<!-- $Id: template.html,v 1.12 2005/12/04 03:22:35 donnoman Exp $ -->

{CUSTOM_HEADER}
<body>

         <!-- HERE IS MY CODE BLOCK -->
         <table width="100%" height="30">
         <tr>
         <td>Here is code that I have added to see if there is any change</td>
         </tr>
         </table>
         <!-- HERE IS MY CODE BLOCK -->

<table width="100%"  border="0" cellspacing="0" cellpadding="0">
  <tr valign="top">
    <td width="53" rowspan="3" id="far-left"><img src="themes/hardwired/images/far-left.gif" width="54" height="14" alt="" /></td>
    <td width="18" class="middle-left"><img src="themes/hardwired/images/middle-left.gif" width="18" height="14" alt="" /></td>
    <td height="62" class="right-banner">
   
        <div class="left-banner">
        <div class="gal_name">{GAL_NAME}</div>
        <div class="gal_description">{GAL_DESCRIPTION}</div>
        </div>
    </td>
    <td width="19" class="middle-right"><img src="themes/hardwired/images/middle-right.gif" width="19" height="14" alt="" /></td>
    <td width="53" rowspan="3" class="far-right"><img src="themes/hardwired/images/far-right.gif" width="53" height="14" alt="" /></td>
  </tr>
  <tr>
    <td width="18" class="middle-left">&nbsp;</td>
    <td class="gallery"><div align="right" class="topmenu"> {SYS_MENU} </div>
      <br />
      <div align="left" class="topmenu">{SUB_MENU}</div> <br />
      <div align="center"> {THEME_SELECT_LIST} {LANGUAGE_SELECT_LIST} </div>
      <br />
      {ADMIN_MENU} {GALLERY}</td>
    <td width="19" class="middle-right">&nbsp;</td>
  </tr>
  <tr valign="baseline">
    <td width="18" class="middle-left"><img src="themes/hardwired/images/bottom-left.gif" width="18" height="31" alt="" /></td>
    <td class="bottom-middle">&nbsp;</td>
    <td width="19" class="middle-right"><img src="themes/hardwired/images/bottom-right.gif" width="19" height="31" alt="" /></td>
  </tr>
</table>
<br />
<div align="center"> {LANGUAGE_SELECT_FLAGS} <br />
  <br />
</div>
{CUSTOM_FOOTER}
{VANITY}
</body>
</html>

Logged

Nibbler

  • Guest
Re: header document
« Reply #7 on: February 13, 2006, 01:17:37 am »

You are using igames, so edit igames template.html not hardwired.
Logged

azjennifer

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Re: header document
« Reply #8 on: February 13, 2006, 01:27:27 am »

That is funny because I am using the template in the Hardwired folder...?????

the images are in the hardwired folder:

<!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" dir="{LANG_DIR}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" />
<meta http-equiv="Pragma" content="no-cache" />
<title>{TITLE}</title>
<link rel="stylesheet" type="text/css" href="themes/hardwired/style.css" /></head>
{META}
<script type="text/javascript" src="scripts.js" ></script>
<!-- $Id: template.html,v 1.12 2005/12/04 03:22:35 donnoman Exp $ -->

{CUSTOM_HEADER}
<body>

         <!-- HERE IS MY CODE BLOCK -->
         <table width="100%" height="30">
         <tr>
         <td>Here is code that I have added to see if there is any change</td>
         </tr>
         </table>
         <!-- HERE IS MY CODE BLOCK -->

<table width="100%"  border="0" cellspacing="0" cellpadding="0">
  <tr valign="top">
    <td width="53" rowspan="3" id="far-left"><img src="themes/hardwired/images/far-left.gif" width="54" height="14" alt="" /></td>
    <td width="18" class="middle-left"><img src="themes/hardwired/images/middle-left.gif" width="18" height="14" alt="" /></td>
    <td height="62" class="right-banner">
   
        <div class="left-banner">
        <div class="gal_name">{GAL_NAME}</div>
        <div class="gal_description">{GAL_DESCRIPTION}</div>
        </div>
    </td>
    <td width="19" class="middle-right"><img src="themes/hardwired/images/middle-right.gif" width="19" height="14" alt="" /></td>
    <td width="53" rowspan="3" class="far-right"><img src="themes/hardwired/images/far-right.gif" width="53" height="14" alt="" /></td>
  </tr>
  <tr>
    <td width="18" class="middle-left">&nbsp;</td>
    <td class="gallery"><div align="right" class="topmenu"> {SYS_MENU} </div>
      <br />
      <div align="left" class="topmenu">{SUB_MENU}</div> <br />
      <div align="center"> {THEME_SELECT_LIST} {LANGUAGE_SELECT_LIST} </div>
      <br />
      {ADMIN_MENU} {GALLERY}</td>
    <td width="19" class="middle-right">&nbsp;</td>
  </tr>
  <tr valign="baseline">
    <td width="18" class="middle-left"><img src="themes/hardwired/images/bottom-left.gif" width="18" height="31" alt="" /></td>
    <td class="bottom-middle">&nbsp;</td>
    <td width="19" class="middle-right"><img src="themes/hardwired/images/bottom-right.gif" width="19" height="31" alt="" /></td>
  </tr>
</table>
<br />
<div align="center"> {LANGUAGE_SELECT_FLAGS} <br />
  <br />
</div>
{CUSTOM_FOOTER}
{VANITY}
</body>
</html>


Logged

Nibbler

  • Guest
Re: header document
« Reply #9 on: February 13, 2006, 01:32:19 am »

You are using the igames theme on your gallery so changing the template for hardwired does nothing.

http://jlthompson.com/cpg143/index.php?theme=igames
http://jlthompson.com/cpg143/index.php?theme=hardwired
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: header document
« Reply #10 on: February 13, 2006, 09:39:57 am »

@azjennifer: when posting code on a board like this one, try using the bbcode tags [ c o d e ] your code goes here [ / c o d e ] (without the spaces) - there even is a button that adds the bbcode stuff for you ((https://forum.coppermine-gallery.net/Themes/default/images/bbc/code.gif)). Makes your postings readable.
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 19 queries.