WebBlocks Pre-Defined Smarty Page Variables
Each WebBlocks page has pre-defined variable available to use with page. They provide general information like current page name, group, logged in user and other useful variable to use with page.
Following are examples of variables and their values for this page.
- $fullname : WebBlocks.PageVariables
Full name of WebBlocks page. - $pagename : PageVariables WebBlocks page name.
- $groupname : WebBlocks
WebBlocks group name. - $grouphome : WebBlocks.HomePage
WebBlocks group's homepage. - $action : view
Action associated with current page. - $script_link : /index.php
Name of the php script file. - $script_link_url : http://sheelapps.com/index.php
Complete URL to script file. - $page_url : /index.php?action=view&p=WebBlocks.PageVariables
Complete URL with request parameters. - $skin_dir : /skins/box
Directory for current skin. - $skin_dir_url : http://sheelapps.com/skins/box
URL to skin directory. - $skinname : box
The skin used for current group. - $wb_user :
Currently logged in user (if available).