G2 Integration with Current Site
copperleaf91
Joined: 2004-02-18
Posts: 1 |
Posted: Wed, 2004-02-18 22:28 |
I've been playing with G1 for about 2 weeks now and have been really impressed with it. I found and started to play with G1 due to limitations I have experienced maintaining my own photo site (http://www.copperleaf.org). A couple of the limitations have been 1) tools for uploading images easily (sizing, thumbnails, etc.) 2) No backend db to allow for searching, etc. These are things that are (obviously) already solved with G1. However, when I considered switching, I couldn't get myself to do it because I like the look-and-feel of my current site. I played some with G1 skins (http://www.copperleaf.org/test/gallery) but that really wasn't what I wanted. I've read through the G2 forums some and I think I have a general understanding of where you all are taking it. What I'm curious about is if the direction you taking (separation of the business logic from presentation, etc.) would allow me to keep my existing look and feel (with some mods for allowing searches, etc) but take advantage of the G2 backend functionality for virtual albums, photo location and data, etc. I'm assuming that some coding will be required on my part in the form of a module, making my pages php, etc. Anyway, keep up the good work and I look forward to your comments. |
|
Posts: 7994
G1 does integrate into your existing look and feel, with a little effort. Look in the html_wrap/ and css/ directories. We include header and footer files that wrap around many of the Gallery objects -- you can put in HTML that wraps around your Gallery and has the same stylesheet, colors, etc that you have in the rest of your site so that G1 is a replacement for your existing gallery. Check it out.
Everything you see in G2 comes from template files that you can modify. The outermost layer for all template files is in templates/global.tpl, so you can edit that one template file to wrap the content we generate with your site-specific HTML. I haven't fully put it through its paces yet (and we're making some big changes in the way our templates/themes work so things are in a little flux) but I know that you can embed G2 into an existing site like yours by modifying only that one file.