Customizing Coppermine to work with This Customizing Coppermine to work with This
 

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]

Main Menu

Customizing Coppermine to work with This

Started by MilchstrabeStern, September 05, 2004, 01:21:32 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

MilchstrabeStern

Wow, i've spent way too much time trying to find a solution to my gallery problems.  I have a CSS design that can be seen here: http://www.mplionhearts.com/idea3 and the gallery design is here: http://www.mplionhearts.com/idea3/gal.htm Righteo, so far so good? How can I modify coppermine to work with my design? How much work is it? I mean I have the stylesheet at http://www.mplionhearts.com/idea3/main.css theres very little html involved, I just have to change coppermine so i can somehow stick it between <div id="right"> </div>  and have it look as if it should belong there. Any help?

Heres what needs to be wrapped around my gallery:

<!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">
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" href="http://www.mplionhearts.com/idea3/main.css" type="text/css" />
</head>
<body>
<div id="outer">
  <div id="inner">
<div id="inner3">
      <div id="left">
<ul>
  <a href="http://www.mplionhearts.com">home << </a> <br>

  <a href="http://www.mplionhearts.com">events <<</a><br>
  <a href="http://www.mplionhearts.com">media <<</a><br>
  <a href="http://www.mplionhearts.com">info <<</a><br>
          <a href="http://www.mplionhearts.com">about
          us <<</a><br>

  <a href="http://www.mplionhearts.com">awards <<</a><br>
  <a href="http://www.mplionhearts.com">contacts <<</a><br>
</ul>
  </div>
  <div id="right">
/*

                         


                         RIGHT HERE


                */

  </div>

</div>
  </div>
</div>
</body>
</html>

Joachim Müller

just putting one <div> wrapper around coppermine alone won't be enough. Coppermine uses a template engine of it's own, you will have to create your own custom theme (don't worry, it's not too hard). There are several css classes defined in coppermine's style.css (within the themes folder) that need to be edited. Take a look at the styleguide theme on the demo page, it will give you an idea of the css classes involved.
Why don't you download the most recent coppermine package and take a look at how it works - I'm sure you'll find out easily?

Joachim

MilchstrabeStern

I have downloaded it and i understand that i have to create a theme, but there is sooooo much going on in the "theme" file its hard to tell what affects what. I just need a simple gallery, that uses databases and I can insert mass amount of images into. It seems that coppermine can do all this, except it comes with SO much more then I need, I wish i could get it down to its bare bones and thne do the editing.

skybax

You're stating that it does so much more than you need. If you're looking for just simple image placement - use the ssi or an rss mod to "place" the images into your theme. But you'll loose the ability of cpg to provide a controlled custom theme and image management setup.

Still the best idea is to just create new theme - and if you work through the layout with the style guide theme you can setup the colors to be the way you want, then just rebuild template.html file with your layout and for the right hand column use the template {command} tags.

-T
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.skybax.com%2FhotImage%2Fpost_footer.gif&hash=338b65c57a59f0b06311094e697c87794e43d945)
Don't contact me for support over PM or email unless I requested you to do so. Instead: post on the proper board.