How to have a page within another page?

Discussion in 'HTML & Website Design' started by jimd118, Nov 19, 2007.

  1. #1
    Hi guys. Im trying to figure out how to insert a page within another. What im trying to do is insert a forum of mine into another page so i can have additional content at the top and bottom. Whats the best way to do this? Frames? If so how can i link on frame to my forum? Any help i will appreciate.
    Thanks
    Jim
     
    jimd118, Nov 19, 2007 IP
  2. twistedspikes

    twistedspikes Notable Member

    Messages:
    5,694
    Likes Received:
    293
    Best Answers:
    0
    Trophy Points:
    280
    #2
    Could use a frame but I wouldn't recomend it.

    I'm sure there must be another way now.
     
    twistedspikes, Nov 19, 2007 IP
  3. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Are you just trying to include the header and footer (or a menu) in the forum itself? If that's the case, then modifying the template to call those sections of the main site would work as well, though you'd need some server-side programming knowledge (which language would depend on which one you're using for the forum of course).
     
    Dan Schulz, Nov 19, 2007 IP
  4. d3vice

    d3vice Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Using an iframe (inline frame) is another quick and dirty option.
     
    d3vice, Nov 19, 2007 IP
  5. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #5
    You got the quick and dirty part right, since it won't validate against a Strict DOCTYPE (whether it's HTML or XHTML).
     
    Dan Schulz, Nov 19, 2007 IP
  6. QiSoftware

    QiSoftware Well-Known Member

    Messages:
    805
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    158
  7. jimd118

    jimd118 Peon

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Thanks but can anyone be more specific on how to do these? My only programming knowledge is some light html. All I need to do is ive got a domain dineyoungstown.com and a forum at jmdaviswebandimageservices.com/forum/ i want to put the forum on the dineyounstown default page so i can have a logo at the top and an ad at the bottom. Ive been experimenting but nothing has worked yet.
    Any specific help would be well appreciated.
    Thanks
    Jim
     
    jimd118, Nov 19, 2007 IP
  8. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Jim, what forum are you using? (And before someone tells you to hire someone to do it, allow me to tell them to bugger off.)
     
    Dan Schulz, Nov 20, 2007 IP
  9. ColorWP.com

    ColorWP.com Notable Member

    Messages:
    3,121
    Likes Received:
    100
    Best Answers:
    1
    Trophy Points:
    270
    #9
    You can iclude it with iFrame but it won't be good for SEO. I would recommend use PHP (if your host supports it) and iclude the forum with the simple:
    <?php include"http://jmdaviswebandimageservices.com/forum/"; ?>
    PHP:
    However it won't work if your server doesn't support remote file opening or including.

    I would suggest you Google and read about anything you need in this (iframes, PHP etc)
     
    ColorWP.com, Nov 20, 2007 IP