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: Remove fields "Gallery name" and "Gallery des  (Read 1996 times)

0 Members and 1 Guest are viewing this topic.

Mozez

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Remove fields "Gallery name" and "Gallery des
« 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!!!
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Remove fields "Gallery name" and "Gallery des
« Reply #1 on: February 24, 2004, 09:03:30 am »

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:
Code: [Select]
<!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
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.