This site has been archived. To learn more about our current products Ibexa Content, Ibexa Experience, Ibexa Commerce head over to the Ibexa Developer Portal

eZ Community » Forums » Setup & design » Do I need these js files in my template?
expandshrink

Do I need these js files in my template?

Do I need these js files in my template?

Friday 26 August 2011 2:44:13 am - 3 replies

I am trying to limit the number of http requests on each of my pages.

My pages are based on the Ezwebin templates of the initial Ezpublish installation.

Can anyone tell me what these files do and whether I need them in my templates, or at least point me to some documentation which describes what these files do ?

yui/build/calendar/assets/calendar.css
src="/design/standard/javascript/tools/ezjsselection.js
JavaScriptList[]=insertmedia.js
JavaScriptList[]=yui/build/yahoo-dom-event/yahoo-dom-event.js
JavaScriptList[]=yui/build/calendar/calendar-min.js
JavaScriptList[]=ezdatepicker.js

The requirements for my pages are as follows:
1. Load my page in normal circumstances.
2. Load my page in "front-end" editing mode for my users so that they can update content.

I know where the files can be found, I just need to know whether I need them. I am not (knowingly using any calender function).

Thanks in advance.

Friday 26 August 2011 8:23:56 am

These .js are used by the toolbar, if you don't need to use I think it you can avoid loading them.

Monday 29 August 2011 12:21:03 am

These .js are used by the toolbar, if you don't need to use I think it you can avoid loading them.

No that does not appear to be the case.
I can comment out all of them, so they no longer appear in my source, and the tool-bars are still present in both front and back-end admins.

Anyone else know?

Monday 26 September 2011 3:00:32 am

>>yui/build/calendar/assets/calendar.css
>>src="/design/standard/javascript/tools/ezjsselection.js
>>JavaScriptList[]=insertmedia.js
>>JavaScriptList[]=yui/build/yahoo-dom-event/yahoo-dom-event.js
>>JavaScriptList[]=yui/build/calendar/calendar-min.js
>>JavaScriptList[]=ezdatepicker.js

Well, funny you should ask, but no. They don't appear to do anything of importance.
I left these two in:
src="/design/standard/javascript/tools/ezjsselection.js
JavaScriptList[]=insertmedia.js

... just to be safe, and have not suffered any lack of functionality in either the front or back end editing modes.

Cheers
No problem.

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from