Embedding in existing webpage

GravityArc
GravityArc's picture

Joined: 2003-02-27
Posts: 54
Posted: Thu, 2009-09-17 23:28

I created a header and left-side navigation bar that I want to use throughout my site. What is the easiest way to include it on my G2.3 pages? I can edit a template and add it, but I also want the header/navigation to be included on my CMS as well. I'd prefer not to have to manage the header/navigation in two places.

Is there a way to take the existing php file I made with the header/navigation and include or embed G2.3 inside of it? I'd rather not use an iframe since it messes-up links.

The header/navigation page I'd like to use is currently located here: http://www.udkow.com/modules/Gallery2/NEW_TEMPLATE.php

Thanks.
-Ben

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 6138
Posted: Fri, 2009-09-18 00:23
 
GravityArc
GravityArc's picture

Joined: 2003-02-27
Posts: 54
Posted: Fri, 2009-09-18 03:58

Thanks for the link. You helped me some time ago with some customization on your killer mediaBlock to display the photos from one year ago today.

I've got a good start on getting this up and running now. One thing I'm seeing is when I browse to a gallery ("Featured" which is http://www.udkow.com/modules/Gallery2/gallery2Embedded.php?g2_itemId=5999 for example), then click on an image, and then click back on "Featured" in the nav path at the top of Gallery, it appends "&g2_highlightId=6009" to the URL which returns a 404.

Any thoughts on why this might be happening? BTW, to get it working I had to use HTML 5.0 if that matters.

Thanks!
-Ben

 
GravityArc
GravityArc's picture

Joined: 2003-02-27
Posts: 54
Posted: Fri, 2009-09-18 04:10

:) Found the solution here: http://gallery.menalto.com/node/70008 under option 9.