Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Jul 2013
    Location
    Brooklyn, NY
    Posts
    2
    Plugin Contributions
    0

    Default Embedded Wordpress blog truncated vertically

    I'm a new user, so this may come down to a very simple fix. At least I hope.

    We have a wordpress blog embedded into our Zen Cart (v1.3.9h) site. We have an issue that long blog posts are truncated. There seems to be a very specific height limitation built in somewhere that I just cannot find. Here's an example:

    http://www.foursevenfive.com/index.p...e&id=15&p=2975

    Notice that of the two comments at the bottom, only 1/2 of one shows.

    I had initially asked Disqus (comment provider) if there was something wrong with the comments. They responded by saying it was not on their end, but guided me to find a line that looked like:

    id="iblog" style="width: 100%; visibility: visible; height 3432px;" scrolling="no" frameborder="0" onload="javascript:return resize_blog();"

    I haven't been able to find that line, or any like it. I'm guessing that 3423px is generated by the javascript? In searches something called theme.js pops up as being connected to "3423px" but when I open it I don't find anything helpful. Any thoughts? Anyone have something similar - I haven't been able to find any similar issues.
    Thanks!

  2. #2
    Join Date
    Jul 2013
    Location
    Brooklyn, NY
    Posts
    2
    Plugin Contributions
    0

    Default Re: Embedded Wordpress blog truncated vertically

    I found the issue, but it leads to a slightly different issue:

    I edited the EZ-Page where I have my blog page set up. The Javascript generates the page length. The issue is it calculates based on the size of the Wordpress, but not the Disqus (comments). Until we come up with a better way I just hardwired it to go 2000px beyond the end of the blog. This is a lot, but it errs on the side of too long rather than too short. Anyone know how to rework javascript to come up with an appropriate page length?

  3. #3
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Embedded Wordpress blog truncated vertically

    You are using an iframe and to my knowledge there is no way to "auto-calculate" the height of an iframe.

    Why don't you use a proper blog embedding solution like the Numinix blog embedding solution versus this javascript calling an iframe?? If you search for "WordPress on Zen" or "Numinix blog embedding" here you will find links to get to this solution.. or better yet go to the Numinix site and search for "blog embedding"..
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

 

 

Similar Threads

  1. v139h Small issue integrating Wordpress blog
    By fakeDecoy in forum General Questions
    Replies: 3
    Last Post: 29 Mar 2016, 10:18 AM
  2. wordpress blog, mysql database problem
    By kitkitng in forum General Questions
    Replies: 2
    Last Post: 24 May 2011, 07:39 PM
  3. Wordpress blog and Zen-Cart?
    By Rimo in forum General Questions
    Replies: 1
    Last Post: 25 Apr 2011, 09:35 PM
  4. Pulling in data from a Wordpress blog
    By ThomasT in forum General Questions
    Replies: 3
    Last Post: 8 Jul 2010, 07:00 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg