calendar DN script

johnl

New Member
Hi, i want your help again.
In my site in some pages i see a large script (calendar dn script).
What is it and can i remove it?
 
Not sure what you are referring to. Do you mean inline code setting up the calendar options, or the calendar JS file J! includes?

-- hugh
 
You're right. I gave you nothing to see what i mean.
The site is http://www.kokkinakis-service.gr . In home page, i'm not using any of the lists and the calendar script is not showing.
In pages where i use lists the script is there. So i think that's a fabrik script:
http://www.kokkinakis-service.gr/index.php/tables-cars/tables-newcars/mikromesaia
http://www.kokkinakis-service.gr/index.php/prosfores-service/audi-prosfores/service-audi-a1
http://www.kokkinakis-service.gr/index.php/tech-section/tech-articles/2621-vw-engine-codes-history

The above (and many more) articles uses fabrik lists. I'm not using calendar or date field anywhere.
Thank you.
 
Yup, we enabled J!'s calendar "behavior" ...

Code:
JHTML::_('behavior.calendar');

... as part of loading our base framework. And that causes J! to load the calendar translation code, which is what the Calendar._DN() stuff is. We can't avoid doing that, as we have no way of knowing whether you will be using dates in things like AJAX loaded forms, etc., even if you aren't using any on the page being loaded. We also rely on it for translating month names in other contexts, not just date elements.

-- hugh
 
We are in need of some funding.
More details.

Thank you.

Staff online

Members online

Back
Top