No animation in header 1

September 2015 Joomla Template
GK User
Sun Sep 13, 2015 9:42 pm
At the beginning it was ok, but now I do not know why but there's no animation in the header position 1.
I did not change much and there is nothing further I installed.
http://www.kalaszczynski.duovision.pl
User avatar
Junior Boarder

GK User
Mon Sep 14, 2015 6:21 am
It seems there is a bug we are also seeing the same error -- if you unpublish review module at bottom1 animation starts working seems there is some conflict between the two???
User avatar
Expert Boarder

GK User
Mon Sep 14, 2015 6:25 am
Probably the problem lies in missing "review" section in k2 article that is loaded by NSP:
Code: Select all
<p>{REVIEW}</p>
<p>label=Overall</p>
<p>decimal=0</p>
<p>max=10</p>
<p>Design=9</p>
<p>Features=9</p>
<p>Styles=6</p>
<p>Ease of use=10</p>
<p>Price=8</p>
<p>{/REVIEW}</p>

Please disable tinyMCE editor in global configuration (change editor to "editor - none") and check if it is there.
User avatar
Moderator

GK User
Mon Sep 14, 2015 6:52 am
Problem is with Header Animation module published at header position -- here animation is not working tried with suggested code also, but its not working - kindly provide the fix?
User avatar
Expert Boarder

GK User
Mon Sep 14, 2015 7:42 am
It works, but you must disable the module in position bottom1
User avatar
Junior Boarder

GK User
Mon Sep 14, 2015 7:53 am
I understand where the problem is visible, but it's source is in different place. Please verify my suggestion first.
User avatar
Moderator

GK User
Mon Sep 14, 2015 7:59 am
Ok, where is the source???
User avatar
Junior Boarder

GK User
Mon Sep 14, 2015 8:37 am
Somewhere in K2 - NSP module uses k2 articles to show it's data. Now you have disabled NSP so I cannot see exactly.
User avatar
Moderator

GK User
Mon Sep 21, 2015 8:45 am
Ok, there was small buyg in our code, but it was not NSP code. To fix it, please edit:
mod_news_pro_gk5/tmpl/portal_modes/technews_reviews/script.jquery.js
file and change (around 45 line):
Code: Select all
circles[0].animate(jQuery(jQuery(items[0]).find('.gk-review-sum-value')[0]).attr('data-final'));

to
Code: Select all
if(circles[0]) {
   circles[0].animate(jQuery(jQuery(items[0]).find('.gk-review-sum-value')[0]).attr('data-final'));
}
User avatar
Moderator

GK User
Thu Feb 18, 2016 1:10 pm
Hi,

I have the same problem and the line of code to add to the file mod_news_pro_gk5/tmpl/portal_modes/technews_reviews/script.jquery.js is correct

When the template was installed with all modules included, everything was working. It was when I started changing the K2 items that things started to go wrong.

PROBLEM SOLVED:
When I removed the {Review} tags from one of the K2 items that was being pulled by both modules, the header module stopped working. I removed that item from the home page Review module (simply by changing the category) and all is working well again.

There is a conflict between the two modules and the {review} tags in the K2 items linked to the review module.
User avatar
Fresh Boarder


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.