Integration with mywebsite Integration with mywebsite
 

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

Integration with mywebsite

Started by hardy24, February 15, 2006, 05:46:14 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

hardy24

Hi,

I want to integrate coppermine with my html website (www.24fans.com), I figured that was mostly easily accomplished by modifying coppermine to include my header and footer, which I'm fairly confident I can do by following the instructions in the documentation on that. But my problem comes when I try to figure out how to add my menu/left sidebar to the coppermine skin.

Any help gratefully received, thanks in advance.

Joachim Müller

The name "custom header" doesn't necessarily mean that you can only include the stuff that is at the top of your page. Instead, it means that you can add everything there that is suppossed to come in front of the actual gallery content, even the left sidebar.

Here's an example:
Your custom header file's content:
<h1>Some overall header at the top</h1>
<table>
<tr>
<td>The sidebar</td>
<td>


Your custom footer file's content:
</td>
</tr>
</table>


The template file of your custom theme (template.html):
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html 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/yourtheme/style.css" type="text/css" />
<script type="text/javascript" src="scripts.js"></script>
</head>
<body>
  {CUSTOM_HEADER}
        <table>
          <tr>
            <td>
              {SYS_MENU}<br />
              {SUB_MENU}<br />
              {ADMIN_MENU}
            </td>
          </tr>
          <tr>
            <td>
              {GALLERY}
            </td>
          </tr>
        </table>
  {CUSTOM_FOOTER}
</body>
</html>

hardy24