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: Inserting Coppermine into my own theme Problems.  (Read 5130 times)

0 Members and 1 Guest are viewing this topic.

cbarone

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Inserting Coppermine into my own theme Problems.
« on: October 23, 2003, 05:22:39 pm »

Hello,

I am trying to insert coppermine into the following theme. Note, I am using (version cpg1.2.0rc2)

http://www.santonefamily.com/gallery.htm

I am using the default theme so I tried editing the theme.php file within the default theme folder with no success. The gallery keeps appearing below my actual theme.

Thanks for your help in advance.

Regards,

cbarone@dca.net
Logged

cbarone

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Inserting Coppermine into my own theme Problems.
« Reply #1 on: October 23, 2003, 07:50:44 pm »

What I have been doing is copying the entire contents of the theme.php file and inserting it in the center of my customized theme. Then I save it at theme.php and replace the existing theme.php file.

This is what it looks like.

http://www.santonefamily.com/gallery/

Please help.

Thanks!

cbarone@dca.net
Logged

DaMysterious

  • Contributor
  • Coppermine frequent poster
  • ***
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 404
  • My CPG Recources
    • My CPG Recources
Re: Inserting Coppermine into my own theme Problems.
« Reply #2 on: October 23, 2003, 08:20:26 pm »

Quote from: "cbarone"
Hello,

I am trying to insert coppermine into the following theme. Note, I am using (version cpg1.2.0rc2)


I don't know about your layout (tables etc.), but replace

 "I WANT TO INSERT COPPERMINE HERE. I AM USING VERSION cpg1.2.0rc"

with following:

Code: [Select]

{GAL_NAME} :: {GAL_DESCRIPTION}

{MAIN_MENU}

{ADMIN_MENU}

{GALLERY}


Change the style via style.css.

Have fun...
Logged
DaMysterious.

cbarone

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Inserting Coppermine into my own theme Problems.
« Reply #3 on: October 23, 2003, 09:09:57 pm »

You said

"with following:

Code:

{GAL_NAME} :: {GAL_DESCRIPTION}

{MAIN_MENU}

{ADMIN_MENU}

{GALLERY} "

Where is this code coming from? theme.php?

kind of confused.

Thanks!

cbarone@dca.net
Logged

DaMysterious

  • Contributor
  • Coppermine frequent poster
  • ***
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 404
  • My CPG Recources
    • My CPG Recources
Inserting Coppermine into my own theme Problems.
« Reply #4 on: October 23, 2003, 09:32:57 pm »

Quote from: "cbarone"
You said

"with following:

Code:

{GAL_NAME} :: {GAL_DESCRIPTION}

{MAIN_MENU}

{ADMIN_MENU}

{GALLERY} "

Where is this code coming from? theme.php?
kind of confused.

Thanks!

cbarone@dca.net


You have don't be to confused. Just trust me ;)! Take a look into the default theme to learn more how to make changes into anoher theme. I saw that it works. Nice Layout.
Logged
DaMysterious.

hyperion

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 1317
  • - retired -
Inserting Coppermine into my own theme Problems.
« Reply #5 on: October 23, 2003, 09:47:15 pm »

{GAL_NAME}, etc. are found in the template.html file that goes with each theme.

Modifications should/can be made to the theme.php, template.html, and the CSS files, as well as the image files. They all work together.
Logged
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.