Putting Inside Website
|
tnederlof
Joined: 2009-09-28
Posts: 3 |
Posted: Thu, 2009-11-12 16:54
|
|
Hey everyone, I have been using gallery 2 for a while now and I love the project. So I was playing with Gallery 3 and I wanted to put it inside a site I just created. I literally copied the php from index.php and stuck it in the content area of my site, which you can see at http://clevertutoringsolutions.com/lax/photos/index.php as you can see, it is in there but it doesnt look right (css and js not working I think). I feel kind of dumb having to ask this but is there someone who could let me know what else I need to do in order to have it work. Thanks! |
|

Posts: 16503
Gallery3 isn't yet designed to be embedded like that. You can't just edit index.php for one thing.
The only thing you can do with G3 right now is edit a theme to make it look like your site. First, you'll want to upgrade to the latest experimental code. Follow the tips about unpacking the code to make sure no old files are left behind
http://codex.gallery2.org/Gallery3:Upgrading
Then you'll want to copy a theme to create your own edits:
http://codex.gallery2.org/Gallery3:Tutorials:Themes
If you look at the source code of your page you'll see the HTML, HEAD, BODY sections, etc all being declared twice.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here