PDA

View Full Version : Integrating sourceforge gallery into website layout - help


hempraider2002
1-15-04, 07:49 PM
Hey gang,

Here is my sourceforge gallery: http://www.spunkylee.com/gallery/albums.php

Here is my website: www.spunkylee.com

My website is set up in a simple 3 column table layout with navigation panels in the left and right columns. My navigation is set up in server side includes (ssi) so that I don't have to edit navigation each time I make a new page.

I just came up with an idea but I don't know how to accomplish doing it. I want to place my sourceforge gallery into the middle column so that the whole thing looks just like my normal layout and will look the same no matter what album a viewer is looking at.

Can anyone tell me which of my gallery page files to edit to accomplish this? Maybe there is a tuturial for this gallery that can help me as well?

Thanks,
David - www.spunkylee.com

B&T
1-15-04, 08:32 PM
don't think you are going to get gallery into a table. but you could put an iframe into the table and then put gallery into the iframe. that may do what you want. but then you will have to change the other content in the center column to use the iframe also. not a great answer, but the only one i can think of.

hempraider2002
1-15-04, 08:48 PM
I had thought about an iframe too but I would really rather not go that route if I can avoid it.

Look at rulecam's site and how his gallery is set up: http://www.rulecam.net/php/gallery/

That is similar to what I'm trying to accomplish. It doesn't appear that his gallery is set in an iframe but maybe I will give that a try and see how it works.

hempraider2002
1-15-04, 10:00 PM
Well here it is: http://www.spunkylee.com/photogallery.html

I just put the gallery into an iframe. Still not the effect I was looking for but it works just as well I suppose. Doesn't look too bad either so I guess I'll keep it. Probably the easiest way to get it there as well without too much work :)

Later,
David - www.spunkylee.com

B&T
1-15-04, 10:48 PM
Looks like they re-created the gallery main page integrating the content. You could do that also. A lot more work.

Jade Dragon
1-16-04, 09:47 PM
oh! oh!

*raises hand*

:D

Gallery has a folder called /html_wrap/ inside this folder you will find two files wrapper_header and wrapper_footer.

By following Gail's Tutorial (http://www.eclecticpixels.com/tutorials/gallerytips/) you will be able to wrap your site.

Any questions just ask!

=)
Jade

B&T
1-16-04, 10:16 PM
Hmmm . . . looked at the link. But I don't see how that will help hempraider2002 get gallery to run independently in the center of his page given the layout he has posted above. I can see how that could give you a custom header and footer for your gallery. But . . . maybe I was not able to grasp all the possibilities.

Jade Dragon
1-16-04, 10:24 PM
Originally posted by hempraider2002
My navigation is set up in server side includes (ssi) so that I don't have to edit navigation each time I make a new page.

Change the SSI to php Includes to make it seemless.

Don't think there's a way to call SSI through a php page.

Unless something like this works.


<?
include ('SSI_Header.shtml');
?>


Don't know anything about SSI, have never used it.

=)
Jade

Jade Dragon
1-16-04, 10:30 PM
oh, about splitting the code to wrap around.

put this in wrapper_header



<table>
<tr>
<td collspan=3"> header</td>
</tr>
<tr>
<td><div> left code</div></td>
<td>


then this in wrapper_footer


</td>
<td> <div> right side</div></td>
</tr>
<tr>
<td collspan="3">footer</td>
</tr>
</table>


Where I broke apart the code is where the Gallery will end up showing.

=)
Jade