Remove fields "Gallery name" and "Gallery des Remove fields "Gallery name" and "Gallery des
 

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

Remove fields "Gallery name" and "Gallery des

Started by Mozez, February 23, 2004, 11:29:56 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Mozez

Hi!

I have searched this forum, but didn't find an answer to my problem.

I want to completely remove the fields "Gallery name" and "Gallery description" in order to "slim" the lookfeel of the photoalbum. I just don't want it blank, i want the whole content "moved up" on the layout since i use frames anyway.

I hope you know what i mean, i'll try to illustrate it for you:
Current original layout:
-----------------
<Gallery name>
<Galler description>
<"Meny">
<Thumbs/pics so on>
-----------------


And i want:
-----------------
<"Meny">
<Thumbs/pics so on>
-----------------

This way there isn't as much scrolling needed to be done.
Please help me with this!!

Regards!
/Mozez

PS. Thanks for a really super photoalbum, all creds to you guys!!!

Joachim Müller

please read the documentation that comes with coppermine: just edit /themes/yourtheme/template.html and remove {GAL_NAME} and {GAL_DESCRIPTION} (plus the html surplus surrounding it). If you're using the default theme, you could go for a super-slim template with this code:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{LANG_DIR}">
<head>
<title>{TITLE}</title>
<meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" />
<meta http-equiv="Pragma" content="no-cache" />
{META}
<link rel="stylesheet" href="themes/default/style.css" />
<script type="text/javascript" src="scripts.js"></script>
</head>
<body>
<div align="center">
{MAIN_MENU}
</div>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td align="center" valign="top">
      {ADMIN_MENU}
      {GALLERY}
    </td>
  </tr>
</table>
</body>
</html>

GauGau