hello,
I installed the gallery2 on my server and are happy with the way it looks. Now, how can I make it appear in my web-site?
Is there a piece of code that I include in my <td>&</td> table so that the gallery displays in there?
thanks for any help,
florian
Posts: 32509
if you plan to customize your g2, first get the latest nightly snapshot.
in the new version
edit themes/matrix/templates/*.tpl
you can use any html there.
you want to edit theme.tpl.
Posts: 17
thanks for the fast reply. I dont want to cusomize the g2. I am happy with it the way it looks right now. I just need to implement it into my existing web-site and I dont know how to do that? any pointers for that?
Posts: 32509
"mplement it into my existing web-site" = customizing.
follow the instructions from my last post please.
in theme.tpl, you can add everything before the opening <td> and everythign after the closing </td>.
Posts: 17
hi,
i tried to follow your advice from the first post however I dont have a theme.tpl or the template folder in the matrix folder.
What is a nightly snapshot? I didnt know what that was, so maybe thats why I am missing that file? I downloaded the gallery 2 beta 3 version ...
hope you can help me again, its really appreciated?
are there also documents or other links about implementing into an existing web-site?
thanks
florian
Posts: 32509
click on "get the latest code" to get the nightly snapshot, etc.
http://codex.gallery2.org/index.php/Gallery2:faq#How_to_upgrade_Gallery2.3F
Posts: 4
Hello,
If I understand correctly, editing theme.tpl is the same concept as editing the header and footer in Gallery1? If I use Gallery2, is there a way to "include" the entire application into an existing table on my website. In other words, If my website is already utilizing one header and footer for navigation, and I am including content based on a set variable, what file in the gallery doc tree can I include to embed the entire thing?
Thanks!
Posts: 32509
editing theme.tpl is really the easiest way. you can there include your whole page, you could even do {php}include('path/to/yourHeader.html');{/php}.
the other approach is to use GalleryEmbed...
see the Embedding and Integration sticky topic (link in my signature).
but this total overkill because you don't want to integrate / synchronize user management. if you only want to integrate g2 visually, changing the theme is the way to go.