coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: Mozez on February 23, 2004, 11:29:56 PM

Title: Remove fields "Gallery name" and "Gallery des
Post by: Mozez on February 23, 2004, 11:29:56 PM
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!!!
Title: Remove fields "Gallery name" and "Gallery des
Post by: Joachim Müller on February 24, 2004, 09:03:30 AM
please read the documentation that comes with coppermine (http://coppermine.sourceforge.net/demo/docs/index.htm#creating): 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