Website integration?
|
pfowebmaster
Joined: 2010-03-11
Posts: 3 |
Posted: Thu, 2010-03-11 19:25
|
|
Sorry, I realize this might not be the most appropriate place to post this question, but I could not find a more suitable folder. I just installed Gallery 3 on my website and I am trying to integrate it into my website's existing design. My site uses PHP and I have been using Plogger for my album because it integrates seamlessly - http://www.princetonfriendsofopera.org/album. I am trying to accomplish the same integration with Gallery 3. From the limited information I have found on the latest version, it is supposedly easier to create templates in Gallery 3... but there do not seem to be any usable (complete) tutorials. The features of Gallery 3 mention easily adding content from your site using html_wrap, but I am unable to locate documentation on this either. Can someone PLEASE tell me how to integrate Gallery 3 into my existing design? Gallery is much more appealing to me than Plogger but I do not want to sacrifice continuity of design. Any help would be greatly appreciated. I have already viewed the Codex but it is incomplete and fairly useless. Thanks, Ben |
|

Posts: 16503
Where do you see that? That sounds like G1 terminology.
This is pretty sparse right now, but here's a quick tutorial on copying an existing theme in G3 and making it your own.
http://codex.gallery2.org/Gallery3:Tutorials:Themes
If you look at the different pages under the /views directory for the theme, you'll see they are pretty much just PHP and HTML. So long as you know HTML and CSS you should be able to make G3 look like your site.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 3
http://gallery.menalto.com/features under "Customizing"
Yep, looked there... it's incomplete and does not really answer my question..
I attempted to integrate my master CSS file, header, page container, NAV, footer, main content area, etc. into "page.html.php" and ended up with my navigation bar spread out the full width of the page and my footer on the bottom; the body of Gallery remained as it was.
Do I need to rewrite portions of the default theme's CSS or scrap it all and start from scratch somehow? Is it possible to just add tags to my typical PHP page within the Content DIV to make it all work?
Time is a factor here and I am not familiar with Gallery's theme structure. Are there any drastic differences between G2 and G3 when it comes to theming?
Thanks..
Ben
Posts: 16503
Yeah, that's G1 it's talking about and that article is about comparing G1 to G2. It was written before G3 was a glint in anyone's eyes.
I'm not sure.
G3 is still in development and documentation, as you've found, isn't up to snuff yet. So you're going to have a learning curve. There are plans to create a skeleton theme that's pretty basic, but that hasn't been done yet. The default 'wind' theme tries to show off some of the stuff you can do in G3.
They are not even remotely related. G2 uses Smarty. There is more documentation for G2 than G3.
Actually, looking at your site. If you went with G2 and the Siriux theme and used suprsidr's embed-o-rator, you'd probably be pretty close to what you already have:
http://www.flashyourweb.com/staticpages/index.php?page=gallery2_embed-o-rator
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 16503
or possibly the Floatrix theme....
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 3
This looks promising, I'll have to experiment with it tomorrow. I was able to integrate Gallery2 into the site's design but the Admin area did not work - fields were overflowing outside of the layout. I had a time limit and went with Plogger because it, for all intensive purposes, worked "out of the box." However, I've found Plogger to be a bit too clunky and miss Gallery.
I actually use JQuery and found it ironic that the menus and Admin area of G3 matched my site's UI almost perfectly. If only I could just plop it right into my pages! Oh well, thanks for the tip!