forum.coppermine-gallery.net

No Support => General discussion (no support!) => Topic started by: refresh on April 20, 2004, 10:37:25 pm

Title: Embed Gallery into existing HTML template
Post by: refresh on April 20, 2004, 10:37:25 pm
I've designed a website for an artist friend of mine and I'd like to use coppermine to manage his gallery.

Ideally, I want to embed the coppermine gallery into an existing HTML template to keep the site clean and consistent. Is this possible? If so, can someone with very little PHP knowledge (myself) do it... easily?

If yes, what do I need to do to get started?

A screencap of the HTML template (dreamweaver) is here: http://projects.refreshmedia.ca/jordanbent/site/frame1.html. I'd like to put the coppermine gallery into the pink section (currently a table cell).

any help would be much appreciated.
Title: Embed Gallery into existing HTML template
Post by: Joachim Müller on April 20, 2004, 11:25:14 pm
it's not possible to include coppermine into an existing html page (except by using  the clumsy frame or iframe approach, because coppermine comes with it's own theme/template system, but it's quite easy to modify a coppermine them to match the look of your site. Take a look at the demo and play with the dropdown that says "default" - you can choose some user-contributed themes there, so you can imagine it's easy to build your own (no php knowledge necessary, everything plain html and css).

GauGau
Title: building a theme
Post by: refresh on April 21, 2004, 12:15:17 am
Thanks for that info!

Where would I start if I wanted to build a theme? Is there a tutorial or a basic framework that I need to use?
Title: Embed Gallery into existing HTML template
Post by: hyperion on April 21, 2004, 12:20:03 am
http://coppermine.sourceforge.net/manual.php#creating
Title: Embed Gallery into existing HTML template
Post by: Casper on April 21, 2004, 12:24:16 am
Take a look at this, http://coppermine.sourceforge.net/manual.php#creating section 2.4.  Also, have a look at the demo, and change the theme to 'styleguide'.  This will give you an idea of which bits of the css do what.

Also, you may want to consider placing one or more pics from the gallery in that 'pink space'.  Look at the threads for 'rss feeds', and 'random image include'.
Title: Embed Gallery into existing HTML template
Post by: refresh on April 21, 2004, 01:55:14 am
thanks all... I installed coppermine and am about to start 'playing' with it. I appreciate the assistance!
Title: Embed Gallery into existing HTML template
Post by: photoman13 on April 22, 2004, 02:28:59 am
hmm I did it :)

All ya gotta do is add the CODES where they should go.. and save the page as the Template.

I think I did a good job of it .. myself if I do say so myself :)

All I did was look at the present templates... where the codes where you need... like {MENU} .. {ADMIN_MENU} ... {GALLERY} ... etc..

put them where you want on the page.. and save it.. just remeber you'll have to make the template flexable, meaning that if it continues down the page more then you like it too... it don't screw up the look of the page itself.

You can see my creation, all I got left to fix is the User Menu under the header (But all that stuff is in the navigation bar on the left pull out anyways.)

I'm working on an artist of a different sort... music! :)

to see what I did Click Here (http://www.richiebrown.net/gallery) It's a country artist that isn't signed to a label yet...

I got the forums and gallery almost done.. soon I'm gonna tear apart the rest of the site... :)

But like GauGau said.. just look at the template... see how it's done... and make your own! It's not that hard... :)
Title: Embed Gallery into existing HTML template
Post by: refresh on April 22, 2004, 04:54:20 am
thanks!

I'm playing around with it now. Hopefully I'll come up with something decent.