Good to know: your product docs aren't just a reference of all your features! use them to encourage folks to perform certain actions and discover the value in your product.
//This will load css from /styles/template_directory/theme/css/bootstrap.min.css
/images Directory
This directory is where we place our images file required for any template and to access it
<img src="{$imageurl}/logo.png" />
β
Common Variables
$baseurl
returns the base url of the website
$imageurl
to access the images folder URL of the template
$theme_url
to access the theme folder of the URL
β
Objects & Methods That you can use
$vdo object from Video.class.php
$userquery object from User.class.php
Basically all is mentioned in /includes/common.php
Methods
userid();
get_videos();
get_video();
and all PHP functions...because smarty support PHP
in Vodlix we use two parenthesis {{ }} for smarty while for ClipBucket we use single.
So in case of ClipBucket if you enter a JS code such as data({'yes','test'}) it will throw an error so you will have to wrap this kind of a code in {literal} ... {/literal}