Post by Brook » Wed Jun 25, 2014 11:08 pm

I apologize in advance for asking the question that has been asked multiple times. Not exactly sure where to post my question? This question has been asked, but not answered. Other than the answer of it is ready when it is ready... Is there any target date for an Opencart 2.0 Release? 6 months ago we were told December, now we are close to July and no date? I fully understand that Github is updated regularly, but we all know that Github might not have a stable "official" release.

Any news would be appreciated.

Active Member

Posts

Joined
Wed Feb 24, 2010 12:15 am

Post by rph » Wed Jun 25, 2014 11:43 pm

Brook wrote:Is there any target date for an Opencart 2.0 Release?
No. Development is being concentrated on 2.0 though I doubt it will be available any time soon given the current code state.

-Ryan


rph
Expert Member

Posts

Joined
Fri Jan 08, 2010 5:05 am
Location - Lincoln, Nebraska

Post by billynoah » Thu Jun 26, 2014 2:36 am

out of curiosity, is the core changing so much that updating extensions to work with it will be a complete rewrite or do you anticipate being able to port things over with relative ease?

Image


Active Member

Posts

Joined
Tue Jan 15, 2013 12:46 pm

Post by rph » Thu Jun 26, 2014 2:54 pm

Rewrite in the majority of cases. OCMOD is displacing vQmod:

https://github.com/opencart/opencart/wi ... ion-System

The old method of putting data in object properties and rendering from there has been replaced by a dedicated controller loader. So:

Code: Select all

$this->data['foo'] = 'bar';

$this->children = array(
    'common/header',
    'common/footer'
);

$this->template = 'default/template/common/home.tpl';

$this->response->setOutput($this->render());
is now:

Code: Select all

$data['foo'] = 'bar';

$data['header'] = $this->load->controller('common/header');
$data['footer'] = $this->load->controller('common/footer');

$this->response->setOutput($this->load->view('default/template/common/home.tpl', $data));

-Ryan


rph
Expert Member

Posts

Joined
Fri Jan 08, 2010 5:05 am
Location - Lincoln, Nebraska
Who is online

Users browsing this forum: No registered users and 83 guests