5.1. Business Catalog
□
business_catalog.tpl - the template to display the Business Catalog section
•
Local variables:
o
$current_company - the array containing all information of a company
$current_company.name - the name of a chosen company
$current_category - a chosen category
$current_company.full - an extended description of a company
$GLOBALS.site_url - the global variable containing a full URL of the site
$records - an array with all records related to a chosen category
$a.[field] - a temporary array containing profile fields data of a company:
$a.name - address of the company
$a.description - brief description of the company
$a.email - company's contact email
$a.url - company's site
$a.address - company's address
$a.phone - company's phone
$a.fax - company's fax
$a.full - extended description of the company
$a.id - record ID of the company of the category