Advanced search  


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.

Pages: [1]   Go Down

Author Topic: Customizing Coppermine to work with This  (Read 3650 times)

0 Members and 1 Guest are viewing this topic.


  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
Customizing Coppermine to work with This
« on: September 05, 2004, 01:21:32 am »

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: and the gallery design is here: 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 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:
Code: [Select]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="">
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" href="" type="text/css" />
<div id="outer">
  <div id="inner">
<div id="inner3">
      <div id="left">
  <a href="">home << </a> <br>

  <a href="">events <<</a><br>
  <a href="">media <<</a><br>
  <a href="">info <<</a><br>
          <a href="">about
          us <<</a><br>

  <a href="">awards <<</a><br>
  <a href="">contacts <<</a><br>
  <div id="right">


                         RIGHT HERE




Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
Re: Customizing Coppermine to work with This
« Reply #1 on: September 05, 2004, 01:48:52 am »

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?



  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
Re: Customizing Coppermine to work with This
« Reply #2 on: September 05, 2004, 02:13:59 am »

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.


  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 180
    • SKYBAX Communications
Re: Customizing Coppermine to work with This
« Reply #3 on: September 05, 2004, 02:51:34 am »

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.

Don't contact me for support over PM or email unless I requested you to do so. Instead: post on the proper board.
Pages: [1]   Go Up

Page created in 0.021 seconds with 20 queries.