OXID eShop CE  6.3.0
function.oxstyle.php File Reference

Functions

 smarty_function_oxstyle ($params, &$smarty)
 

Function Documentation

◆ smarty_function_oxstyle()

smarty_function_oxstyle (   $params,
$smarty 
)

Copyright © OXID eSales AG. All rights reserved. See LICENSE file for license details.

Smarty plugin

File: function.oxstyle.php Type: string, html Name: oxstyle Purpose: Collect given css files. but include them only at the top of the page.

Add [{oxstyle include="oxid.css"}] to include local css file. Add [{oxstyle include="oxid.css?20120413"}] to include local css file with query string part. Add [{oxstyle include="http://www.oxid-esales.com/oxid.css"}] to include external css file.

IMPORTANT!

Do not forget to add plain [{oxstyle}] tag where you need to output all collected css includes.

Parameters
array$paramsparams
Smarty&$smartyclever simulation of a method
Returns
string