WordPress.org

Ready to get started?Download WordPress

Forums

A page in a page (17 posts)

  1. bmasterflash
    Member
    Posted 7 years ago #

    Is there a way to insert an entire external page into the body of a static page. For instance if I wanted to put Google's home into one of my static page - sort of like an iframe. It is a php page if that help. I want to do this so that I can have a page that I created inside the framework of the wordpress (ie header, footer, etc.) Thank you so much for your help

  2. moshu
    Member
    Posted 7 years ago #

    Your best approach would be to "include" only the 'middle' of that other page, i.e. without the head, body (opening and closing) - otherwise you'd end up with a webpage that has double html tags.

    iframe is a different animal - but I don't know anything about it because it is not a good solution.

  3. bmasterflash
    Member
    Posted 7 years ago #

    I agree that an iframe would be a bad idea, but how do I "include" the middle of the page?

  4. moshu
    Member
    Posted 7 years ago #

    Is this a one-time task or will there be all the time this kind of solutions on your blog?

  5. bmasterflash
    Member
    Posted 7 years ago #

    one time, I'm just trying to get everything set up right.

  6. moshu
    Member
    Posted 7 years ago #

    ...trying to get everything set up right.

    It might be not "right" for WP what you thought is right :)
    If the whole thing is once, and has to use the WP theme's header/footer/style... what is it so special that you cannot make it a WordPress Page?

    As to answer the original question:
    I'd create a Page template that has the call for the file
    <?php include ('yourfile/here/with/path'); ?>
    then create a new Page using that template; no content in it

    in the included file I'd leave only what is in between <body> and </body> - delete the rest.

    Theoretically, this should work though I have no idea what is that mysterious php file you want to include.

  7. bmasterflash
    Member
    Posted 7 years ago #

    Thanks for the help. I'll give it a shot. Sorry to be "mysterious" I am just trying to set up a forum within my WP page. I already have it set up, but I want to insert it into the WP frame. Is there a better way? Thank you so much for your help!

  8. moshu
    Member
    Posted 7 years ago #

    I never understand why don't people ask questions directly. Like:
    How do I integrate my ABC-XYZ forum with WordPress? Not BS-ting around with "a page in a page" questions...

    Ask about forums and those that have experience and knowledge will help you.
    Ask about "page" and I will jump in giving you all the wrong answers for what you want.

    [sigh]

  9. vkaryl
    Member
    Posted 7 years ago #

    Better way: try xdforum from http://xdweb.net.

  10. yosemite
    Member
    Posted 7 years ago #

    vkaryl, any nice(r) examples of xdforum around? Took a peek at that link and it looks pretty rough...

  11. vkaryl
    Member
    Posted 7 years ago #

    You can read but not post to a little private forum I run for a few long-time RPG friends here:

    http://netwizardry.net/wizardry/?page_id=10

    It's not simplicity itself to customize, but it's not rocket science either. Each version improves as to usability and tweakishness.

    [Oh, btw - it doesn't even come CLOSE to validating, but I haven't had time to chase it all - clients come first....]

  12. Chris_K
    Member
    Posted 7 years ago #

    I've not messed with any forums for years, but Vanilla's been mentioned here a bunch in the last few days.

    http://wordpress.org/tags/vanilla

  13. yosemite
    Member
    Posted 7 years ago #

    I'm guessing you did take time to nicefy it ;') Looks a lot prettier and more 'consistent' then the other link...

  14. vkaryl
    Member
    Posted 7 years ago #

    Vanilla's okay - it's a decent replacement for the "big boys" and far more secure than phpbb for instance. Truthfully, xdforum is a "low-feature" forum option, which suits me for this one thing. I'm considering vanilla for a more commercial application....

  15. yosemite
    Member
    Posted 7 years ago #

    Thanks hs, that one's been in my peripheral vision for a while. I like how wp-forum looks, works and installs, but it breaks in 2.1a. :-(

  16. vkaryl
    Member
    Posted 7 years ago #

    Yosemite: yes, the one thing that my friends expect is that stuff is "prettified".... so I made it match the look. Actually, the first version of xdforum was better as to validity than the later ones.

    [It's always been pretty private so I wasn't too worried about the validation thing. It works, and it doesn't go into my portfolio....]

  17. sameer34
    Member
    Posted 7 years ago #

    So I've got the same problem as the buddy who started this forum, and this is what i've done thus far (essentially waste time):

    I want to integrate my invision forum into my WordPress page. Except, I've got two columns for my regular site design, which is fine. I want the forum to be placed ontop of both the columns. So what I did was create a new, regular html page, copies all the html over from my wordpress theme, erased the "content", so now I've got my header, my footer, everything, except the content in the middle. When I type in random gibberish where the content used to be, it works fine.

    I'm working with Invision here, so what I've done, is I've removed the header tag from invision, so now when I open up my forum (standalone) it looks plain and simple.

    What I want to do is put my invision forum inside the template that I created. So I tried using iframe, and don't get me wrong, it works wonderfully. I see the content and everything. But now this is the problem, my template doesn't stretch to accomodate the iframe. I've spent hours trying to find a solution to this, and on the net, they have javascripts to solve the problem, but it's not integrateable with wordpress. It always readjusts to a height of 200px.

    Now my question is, without switching from my invision board, is it possible to place my board inside my template? Thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags