1. Michael Hackbarth
  2. Politist
  3. Sunday, 04 December 2016
I am receiving javascript error on the Politist Template / SP Page builder.

TypeError: window.addEvent is not a function. (In 'window.addEvent', 'window.addEvent' is undefined)

Suggestions
Responses (4)
Accepted Answer Pending Moderation
I'm getting the same error plus a few other bugs I posted about but have had no response. I'm struggling getting a number of functions working on this template that are working fine elsewhere.
  1. more than a month ago
  2. Politist
  3. # 1
Accepted Answer Pending Moderation
It appears that the template is not loading MooTools. (It was depreciated in Joomla 3 I think, but apparently necessary for this template)

I added the following code to the index.php page above the other frameworks in the code: JHtml::_('behavior.framework');

Do not know if this will totally "fix" all of the issues, but some things appear to be working correctly now and the error is gone.

What say the developers at Joomshaper?
  1. more than a month ago
  2. Politist
  3. # 2
Accepted Answer Pending Moderation
Previously, one user complains about that I sent the same solution to him/her. I have a question. Could you explain in detail when it happened? It should help me to find out the exact problem. Most of our users are not complaining about that.

Hope you assistance. Thank You.
  1. more than a month ago
  2. Politist
  3. # 3
Accepted Answer Pending Moderation
With the addition of the JHtml::_('behavior.framework'); to the index page the error TypeError: window.addEvent is not a function. (In 'window.addEvent', 'window.addEvent' is undefined) appears and the following problems are created on the from page
- the sticky header does not "stick"
- the full width slider does not function properly - or even show
- there are issues with the modal pop-up login

As of now I am not receiving the error, I am getting inconsistent behavior from the full width slider.

This is a site upgrade to this template (not a quick install)

Another issue that I have found is the SP Page Builder will not function if it is not on the default template for the site - might be related maybe not
  1. more than a month ago
  2. Politist
  3. # 4


There are no replies made for this post yet.
Be one of the first to reply to this post!


This forum is archived

This forum has been archived. Please use JoomShaper official support system.