User Tools

Site Tools


bigace:smarty_tags:stylesheet

Table of Contents

{stylesheet}

The {stylesheet} TAG returns the URL of the goven Smarty Stylesheet.

→ Since BIGACE 2.4.

Attributes

  • name - (required, string)

The name of the Stylesheet to load, as shown in the Stylesheet Administration.

  • assign - (optional, string)

The name of the template variable the URL will be assigned to. If not set, the URL will be returned by the TAG (default).

Example

This example shows how to use the {stylesheet} TAG to load a custom CSS.

<html>
<head>
   <title>Stylesheet Example</title>
   <link href="{stylesheet name="blix_stylesheet_main"}" rel="stylesheet" type="text/css" />
</head>
<body>
   {tag_name}
</body>
</html>
bigace/smarty_tags/stylesheet.txt · Last modified: 2008/02/14 00:05 by kevin