Controller

Set language variables (in controller.php) to be used to template.tpl files

$data['heading_title'] = $this->language->get('heading_title');

Reference URLs

$this->url->link('account/logout') // URL for logout
// URL saved as a variable which will be used in the template. e.g. <form action="<?php $action; ?>">
$data['action'] = $this->url->link('account/register', '', true);

Please note that this site and the posts on it are, and will always be, a work in progress. If i waited for perfection, i’d never get anything done.
A project of 29 CONCEPTS SMC-PVT LTD. Created with by Aamnah. All content is licensed under Creative Commons CC BY-SA 4.0