ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Problem Embedding a Forum into Template

December 28, 2007 12:21pm

Subscribe [2]
  • #1 / Dec 28, 2007 12:21pm

    BWare

    31 posts

    Hi:

    I have this very, VERY weird problem with a forum page after embedding it into a template of my own.  Here’s the forum page…

    http://www.youbowl.com/index.php/youbowl/messageboards

    In Firefox, the page renders fine…

    In Internet Explorer, however, the header elongates something weird!!!

    All I did was take a basic page template with standard header, footer and exterior borders and add this tag to the interior…

    {exp: forums}

    That’s it.  And I got this wildness in Internet Explorer.  Does anyone have a clue to share as to why this might happen?

    Thanks and Happy Holidays…

  • #2 / Dec 28, 2007 5:12pm

    e-man

    1816 posts

    I’d suggest checking the source code of your page. You have 2 doctype declarations there and nested <body> and <html> tags. Hard to tell what’s going wrong until your HTML is clean 😊

  • #3 / Dec 28, 2007 10:00pm

    BWare

    31 posts

    e-man:

    The HTML is clean in my page template, in and of itself - no embeds.  The noise occurs at the embedding point, inasmuch as {exp: forum} ports over its own <html> and <body> tag elements.

    I attempted to decipher what EE is rendering, but that is next to impossible…it’s all buried in PHP.

    It makes more sense, in that regard, to embed header and footer elements into the script rendered by {exp:forum}, but I absolutely cannot make any sense of that code.  If I could, then I would strip out the recursive tags.

    Have any other suggestions?  Your last one was quite helpful.  I ran a blank page with the {exp:forum}, and it renders fine in both Firefox and IE…at least we know that the forum tag runs clean.  But I absolutely need my header and footer elements on the top and bottom of the page, and that would be impossible unless the EE embed script becomes easily interpretable.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases