• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple, the Netherlands

cms_jquery tag

We need your assistance to make the documentation accurate, user friendly and understandable. Therefore we welcome any tips or suggestions regarding documentation. Thank you in advance for your contribution.

However, we will not respond to technical support questions submitted using this form. If you are having difficulty with CMSMS and cannot find the solution on this website, please submit your question appropriately on our support forum at: http://forum.cmsmadesimple.org. Please remember to follow the forum rules when posting.


This is a captcha-picture. It is used to prevent mass-access by robots. (see: www.captcha.net) Please confirm that you are not a script by entering the letters from the image

Open anchor to this point in the page Purpose

This plugin allows you output the javascript libraries and plugins used from the admin.

Open anchor to this point in the page How to use?

Simply insert this tag into your page or template:

  1. {cms_jquery}

Included defaults:

  • jQuery (jquery.min.js)
  • jQuery UI (jquery-ui.min.js)
  • nestedSortable (jquery.ui.nestedSortable.js)
  • jQuery json ( jquery.json.min.js)

Open anchor to this point in the page Available parameters

  • exclude - use comma seperated value (CSV) list of scripts you would like to exclude.
    'jquery.ui.nestedSortable.js,jquery.json.min.js'
  • append - use comma seperated value (CSV) list of script paths you would like to append.
    '/uploads/jquery.ui.nestedSortable.js,http://code.jquery.com/jquery-1.7.2.min.js'
  • cdn - cdn='true' will insert jQuery and jQueryUI Frameworks using Google's Content Delivery Netwok. Default is false.
  • ssl - use to use the ssl_url as the base path.
  • custom_root - use to set any base path wished. custom_root='http://test.domain.com/'
    NOTE: overwrites ssl option and works with the cdn option
  • assign - Assign the results to the named smarty variable.

Open anchor to this point in the page Syntax examples

  1. {cms_jquery cdn='true' exclude='jquery.ui.nestedSortable.js' append='uploads/NCleanBlue/js/ie6fix.js'}