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.

Blog Template Issue, Only IE8

July 26, 2011 9:23am

Subscribe [1]
  • #1 / Jul 26, 2011 9:23am

    firefold

    5 posts

    OK, So here is my issue. I have a blog on a site that works fine on every browser, IE9, Chrome, FireFox. However, when viewing it in IE8 it will load normally, and a few seconds later, after all blog post finish loading, it then somehow, someway puts blog post into the side bar and it breaks the page, my code is below; any help would be greatly appreciated. It has been the same way working with no issues for a very long time, and was just noticed.

    EE Build 1.7.0


    {assign_variable:my_weblog="blog"}
    {assign_variable:my_template_group="blog"}
    {if segment_2}
    {exp:weblog:entries weblog="{my_weblog}” status=“open|news” disable=“member_data|trackbacks”  dynamic=“off”}
    {embed="embeds/head" meta-title="{meta_title}” meta-keywords=”{keyword}” meta-description=”{meta_description}”  dynamic=“off”}
    {/exp:weblog:entries}
    {if:else}
    {exp:weblog:entries weblog="{my_weblog}” status=“Page Information” disable=“member_data|trackbacks” dynamic=“off”}
    {embed="embeds/head" meta-title="{meta_title}” meta-keywords=”{keyword}” meta-description=”{meta_description}”}
    {/exp:weblog:entries}
    {/if}
    <body id=“blog”>
    <div class=“wrapper group”>
    {embed="embeds/header"}
    {embed="embeds/nav"}
    {if segment_2}
    {exp:weblog:entries weblog="{my_weblog}” status=“news|open”  orderby=“date” sort=“desc” disable=“member_data|trackbacks”  dynamic=“off” }
    <div class=“section-box blog-summary {switch='odd|even'}”>
        <div class=“section”>

    {title}

          <div class=“view”>{if thumb}{exp:htmlclean}{thumb}{/exp:htmlclean}{/if}{summary}
          continue reading…</div>
          </div>   
    </div>
          {/exp:weblog:entries}{if:else}
    {exp:weblog:entries weblog="{my_weblog}” status=“Page Information” disable=“member_data|trackbacks”  dynamic=“off” }
    <div class=“section-box”>
        <div class=“section”><h1>{title}</h1>      {if youtube_link}
              {embed="embeds/youtube" youtube_id="{youtube_link}”}
          {/if}
    <div class=“view”>{body}</div></div></div>
        {/exp:weblog:entries}
    <div id=“content” class=“group”>
    <div id=“container”>
    {exp:weblog:entries weblog="{my_weblog}” status=“news|open”  orderby=“date” sort=“desc” disable=“member_data|trackbacks”  dynamic=“off” }
    <div class=“section-box blog-summary {switch='odd|even'}”>
        <div class=“section”>

    {title}

          <div class=“view”>{if thumb}{exp:htmlclean}{thumb}{/exp:htmlclean}{/if}{summary}
          continue reading…</div>
          </div>   
    </div>
          {/exp:weblog:entries}{/if}</div>
          <div class=“secondary”><div></div>
    <div class=“section-box”>
        <div class=“section”>
    <div class=“group”>

    Categories

    {exp:weblog:categories weblog="blog" show_empty="no" status="news|open" class="group" dynamic="off"}
    {category_name}
    {/exp:weblog:categories}</div>
    <div class=“cloud group”>

    Tag Cloud

    </div><div class=“rss group”>

    RSS Feed

    Subscribe</div></div></div> 
    {embed="embeds/sidebar_blog" }

    </div>
    </div>

    </div>
    {embed="embeds/footer"}
    </body>
    </html>

  • #2 / Jul 26, 2011 1:13pm

    Marcus Neto

    1005 posts

    firefold,

    Welcome to the EE forums. Can you PM me a link to the site you are having issues with. I will take a look in IE. But nothing stands out in the HTML above. Typically this is a CSS issue. Hence my desire to see the working site.

  • #3 / Jul 26, 2011 1:16pm

    firefold

    5 posts

    Hi Marcus, I tried PM you but the message said your inbox was full.

  • #4 / Jul 26, 2011 1:26pm

    Marcus Neto

    1005 posts

    I re-enabled PMs on my account and got your message. Looking into it now.

  • #5 / Jul 26, 2011 1:39pm

    Marcus Neto

    1005 posts

    firefold,

    I took a look at the site and I can tell you that you need to work a clear into the mix. Probably after the last entry on the blog listing. But I would also say that I tried to validate your HTML and for what ever reason it would not even try to validate the code. I would start there.

    Also I need to move this to Community Help as it is not an issue with EE. But I will stay subscribed in case you come back for additional help.

  • #6 / Jul 27, 2011 10:49am

    firefold

    5 posts

    I tried a few clears (clear:all; ) nothing seemed to work. However, when there are only about 15 or so blog posts (if I close all the others) then it stops. Very odd to me, is there a way to set up my template to have multiple pages instead of everything loading on one page?

  • #7 / Jul 27, 2011 12:11pm

    Marcus Neto

    1005 posts

    You can use the paginate code to make pages of entries.

    Does that resolve this issue?

  • #8 / Jul 27, 2011 1:02pm

    firefold

    5 posts

    I fixed this issue. The client had posted a blog post with HTML tables inside as well as margin div codes, all sorts of things. I removed the post and it was resolved.

  • #9 / Jul 27, 2011 1:18pm

    Marcus Neto

    1005 posts

    Awesome to hear. I am closing this. If you have any additional issues don’t hesitate to post again.

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

ExpressionEngine News!

#eecms, #events, #releases