plone / documentation

Plone Documentation
https://docs.plone.org
90 stars 154 forks source link

develop/addons/javascript.rst #302

Open svx opened 9 years ago

svx commented 9 years ago

Update documentation about how we do JavaScript in Plone 5

ichim-david commented 9 years ago

http://docs.plone.org/develop/addons/javascript_standards.html needs to be updated since I don't see jquery-migrate plugin being loaded in Plone 5. This means that code snippets that use $.browser will break ever since jquery 1.9 and since plone 5 ships with 1.1.11 people will run into javascript errors.

timitos commented 8 years ago

Some interesting points for the javascript documentation can be found in plone/Products.CMFPlone#1163

timitos commented 8 years ago

Here is a small collection of topics that need to be covered in the javascript documentation:

A few of these things are covered in: [1] http://docs.plone.org/adapt-and-extend/theming/resourceregistry.html [2] http://training.plone.org/5/javascript/index.html

timitos commented 8 years ago

@frisi @thet maybe you want to join working on this issue.

timitos commented 8 years ago

There is some more content to integrate in this document: https://docs.google.com/document/d/1vg3K98oGk8wLkaT7uBZ-O6ufNw3NSupro4mK96hZrao

tkimnguyen commented 6 years ago

I just struggled to find information on how to add JavaScript to an edit form, until I found this thread https://community.plone.org/t/add-custom-javascript-to-the-edit-page/2537, to which I added my own details: https://community.plone.org/t/add-custom-javascript-to-the-edit-page/2537/3. I would like to add it to the https://docs.plone.org/develop/addons/javascript folder somehow.