OXID eShop CE
6.0.2
|
Functions | |
smarty_function_oxscript ($params, &$smarty) | |
smarty_function_oxscript | ( | $params, | |
& | $smarty | ||
) |
Copyright © OXID eSales AG. All rights reserved. See LICENSE file for license details.
File: function.oxscript.php Type: string, html Name: oxscript Purpose: Collect given javascript includes/calls, but include/call them at the bottom of the page.
Add [{oxscript add="oxid.popup.load();"}] to add script call. Add [{oxscript include="oxid.js"}] to include local javascript file. Add [{oxscript include="oxid.js?20120413"}] to include local javascript file with query string part. Add [{oxscript include="http://www.oxid-esales.com/oxid.js"}] to include external javascript file.
IMPORTANT!
array | $params | Params |
Smarty | $smarty | Clever simulation of a method |