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: Customizing Coppermine to work with This  (Read 3604 times)

0 Members and 1 Guest are viewing this topic.

MilchstrabeStern

  • 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: 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:
Code: [Select]
<!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>
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
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?

Joachim
Logged

MilchstrabeStern

  • 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.
Logged

skybax

  • 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.

-T
Logged
(http://www.skybax.com/hotImage/post_footer.gif)
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.