Here is a brief breakdown (tho not limited to just these changes). Using a good code editor, follow the steps below using specific find/replace based on the context. Perhaps a good regex string can make it more global, but for now, some examples for manual completion.
1. URL's have changed to the new url class
a. HTTP, no arguments:
FIND:
Code: Select all
HTTP_SERVER . 'index.php?route=common/home'
Code: Select all
$this->url->link('common/home')
FIND:
Code: Select all
HTTP_SERVER . 'index.php?route=product/product&product_id=' . $result['product_id']
Code: Select all
$this->url->link('product/product', 'product_id=' . $result['product_id'])
FIND:
Code: Select all
HTTP_SERVER . 'index.php?route=account/login'
Code: Select all
$this->url->link('account/login', '', 'SSL')
FIND:
Code: Select all
HTTP_SERVER . 'index.php?route=product/product&product_id=' . $result['product_id']
Code: Select all
$this->url->link('account/order', 'order_id=' . $result['order_id'], 'SSL')
FIND:
Code: Select all
HTTPS_SERVER . 'index.php?route=catalog/category&token=' . $this->session->data['token']
Code: Select all
$this->url->link('catalog/category', 'token=' . $this->session->data['token'], 'SSL')
GLOBAL FIND:
Code: Select all
$this->document->breadcrumbs
Code: Select all
$this->data['breadcrumbs']
FIND:
Code: Select all
$this->document->title = xxxxx
Code: Select all
$this->document->setTitle('xxxxx')
GLOBAL FIND:
Code: Select all
$this->response->setOutput($this->render(TRUE), $this->config->get('config_compression'));
Code: Select all
$this->response->setOutput($this->render());
5. Multiple Instance Modules
Modules are a whole new ball game now. They are instance based so your best bet it to look at the existing latest module and see how it breaks down.