Project

General

Profile

Actions

{ia_print_css}

To include css file into template's code {ia_print_css} function is used.

{ia_print_css files="style,_IA_URL_plugins/newplugin/templates/common/css/newstyle"}

@files parameter is used to specify one or multiple css files to be included.

The file names use @subrion_folder/templates/@active_template/css/ path by default and should be input without '.css' extension.
E.g. the code below will include @subrion_folder/templates/@active_template/css/newstyle.css file:

{ia_print_css files="newstyle"}

The file names should be separated with commas if multiple files are used.
Example:

{ia_print_css files="newstyle,admin/newstyle"}

If you need to specify a custom path '_IA_URL_' prefix is used ('_IA_URL_' will be replaced with @subrion_folder).
E.g. the code below will include @subrion_folder/packages/newpackage/templates/common/css/newstyle.css

{ia_print_css files="_IA_URL_packages/newpackage/templates/common/css/newstyle"}

Updated by Anonymous almost 7 years ago · 1 revisions