Embedding help!

ggcaboose
ggcaboose's picture

Joined: 2009-07-30
Posts: 2
Posted: Thu, 2009-07-30 05:57

Hello!

I am trying to embed Gallery in my website, and I am having issues customizing what is displayed. Here is a link to the website I am working on:
www.texasultimate.org/gallery2test.php

I (successfully?) followed the how-to for "How to Visually Embed G2 in Your Own Website Using Embedded Mode", as found in the gallery docs. Although the gallery is successfully embedded, I want to customize it.

I have two main questions. First, how can I customize the embedded gallery? Secondly, is this the right approach for what I am trying to achieve? I want the gallery to look like it is in the white content box on my website, so that the unity of the website is preserved.

Basically, I only want to display the album thumbnail, the title of the album, and perhaps the album description. In other words, I want to remove the sidebar (gsSidebarCol), the navigaion bar (gsnavBar), the header (gsHeader), and the footer (gsFooter). I also want to edit and be able to delete from the gsContent div.

I have tried everything I can think of in order to do this - I have edited the .tpl files in themes/matrix/templates/, and I have tried looking at the embed.php and config.php files in the gallery2 directory. From what I can tell, if I could somehow edit the contents of 'bodyHtml' (or rather $g2moddata['bodyHtml']), then my problem would be solved.

I am new to this, so I would appreciate any advice.
Thanks!

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Thu, 2009-07-30 12:47

I have a simple form.

But to remove undesirable elements you do have to edit theme templates.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Thu, 2009-07-30 12:49

I used to run an ultimate league in Rochester NY ~20yrs ago :)

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
ggcaboose
ggcaboose's picture

Joined: 2009-07-30
Posts: 2
Posted: Thu, 2009-07-30 16:13

thanks! that's a big help.

do you still play ultimate these days?