View Full Version : Including one page within another
Gayowulf
October 29th, 2002, 02:58
I have created dozens of image galleries (not porn, I swear!:D) and wish to integrate them into my main site design.
The main site design being a page with a navbar on the side, and a bar along the top. Other than that it's devoid of content.
How would I go about making the gallery html pages load within my main page?
Thanks for any help, and if you need clarification just ask :)
Blank Verse
October 29th, 2002, 03:09
I don't get it. Are all these galleries on different servers and pages and you want to load them all onto one page? :confused:
Gayowulf
October 29th, 2002, 03:26
A picture is worth 100 words: (Gee wouldn't it be nice to have img tags)
My simple layout is something like this:
http://www.klinger.biz/wmp2/fileupload/uploads/demo1.jpg
When the gallery link is clicked the page opens:
http://www.klinger.biz/wmp2/fileupload/uploads/demo2.gif
that is bad; my navigation is gone, as well as the top bar that reminds people that they are at my site.
When someone clicks the gallery link I want this:
http://www.klinger.biz/wmp2/fileupload/uploads/demo3.gif
and i want the top and side bars to stay there for each consecutive page loaded by the gallery.
Blank Verse
October 29th, 2002, 03:33
Well, I'd suggest the Iframe, but I assume you want to cater to all browsers, even if that means catering to Nutscrape.
Jan
October 29th, 2002, 03:35
Glad you blanked out those pics ;)
Why not make demo1 a template, open it and add demo2 and save it as demo3.html? Your template will still be as demo1 for adding further galleries.
Gayowulf
October 29th, 2002, 03:36
how do you mean Jan?
Jan
October 29th, 2002, 03:42
Send the main page URL to me via PM, and I will be able to explain it better :)
Gayowulf
October 29th, 2002, 03:44
I dont have the page made yet :( it's all in my head right now.
Jan
October 29th, 2002, 03:53
Oh okay...make your main navigation first and save it as a template. Then to that template add your main page content and save as mainpage.html. When you make any further pages, open the template and save as *.html. That way the navigation will be on all pages.
I believe you can do all that stuff in PHP but that is still a foreign language to me :o
Gayowulf
October 29th, 2002, 03:56
Thanks I'll try that.
Each gallery has up to 100 pictures, each with its own html page. would I have to add those too. (TOO MUCH WORK!)
Jan
October 29th, 2002, 04:03
If you want the navigation on each page, yes. How come so many pics to a page? :eek: Who would want to sort through that lot? :confused:
Blank Verse
October 29th, 2002, 04:17
Porn conneisseurs, I assume.
netnexus
October 29th, 2002, 08:29
you can use ssi
<-- include #virtual fotos/fotos.html -->
the code is sth like that
and it will includei t on ur page
but then u have to save the page as .shtml
Gayowulf
October 29th, 2002, 12:49
Originally posted by Jan
If you want the navigation on each page, yes. How come so many pics to a page? :eek: Who would want to sort through that lot? :confused:
There is only one picture to a page, except for the gallery index page which has 25 or so thumbnails on it.
Belgiumdude
October 30th, 2002, 03:42
Yeah just use the php include () function (http://www.spoono.com/tutorials/php/include/)
Powered by vBulletin® Version 4.1.7 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.