Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

div element not closed in several widgets #1763

Closed
anonymous-piwik-user opened this Issue · 3 comments

3 participants

@anonymous-piwik-user

We implemented several widgets of Piwik 1.0 on our website in their respective iframes. Because we weren't happy with the iframes, we created a script that reads out the content of the iframes (without html, head and body tags) and pasted those on our page.

All widget sources were pasted below each other. This resulted somehow in almost each div.widget being nested in the previous widget.

After careful consideration, I can only come to the conclusion that in most of the widgets, the div.widget isn't closed. I ran one of the iframe contents through the W3C html validator, which resulted in this conclusion.

On our page, I've manually closed the following widgets with a </div>, which fixed our problem:

  • VisitSummarygetEvolutionGraph
  • ReferersgetKeywords
  • ReferersgetWebsites
  • ReferersgetSearchEngines
  • VisitorInterestgetNumberofVisitsPerVisitDuration
  • UserCountrygetCountry
  • ActionsgetPageTitles
@sgiehl
Collaborator

(In [3245]) refs #1763 maybe that should fix the issue

@robocoder
Collaborator

Probably because the original doctype was stripped off.

wil: please confirm so we can close.

@robocoder
Collaborator

Closing as the reporter didn't register with an email address.

@anonymous-piwik-user anonymous-piwik-user added this to the Piwik 1.1 milestone
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.