Page 1 of 1

trouble with feed please help jane

Posted: Sun Feb 10, 2013 8:37 pm
by steven0
Dear People
Please could any one help my feed was working fine for shopmania ect,but i deleted the end of the code by mistake and i keep getting error on last line ,can any one tell me what it should end with the end of my code looks like this-thanks jane http://poundzoneuk.com/ocart/

);

$this->data['action'] = $this->url->link('feed/google_base', 'token=' . $this->session->data['token'], 'SSL');

$this->data['cancel'] = $this->url->link('extension/feed', 'token=' . $this->session->data['token'], 'SSL');

if (isset($this->request->post['google_base_status'])) {
$this->data['google_base_status'] = $this->request->post['google_base_status'];
} else {
$this->data['google_base_status'] = $this->config->get('google_base_status');
}

$this->data['data_feed'] = HTTP_CATALOG . 'index.php?route=feed/google_base';

$this->template = 'feed/google_base.tpl';
$this->children = array(
'common/header',
'common/footer'
);

$this->response->setOutput($this->render());
}

private function validate() {
if (!$this->user->hasPermission('modify', 'feed/google_base')) {
$this->error['warning'] = $this->language->get('error_permission');
}

if (!$this->error) {
return true;
} else {
return false;
}
}
}
?>
steven0

Posts: 20
Joined: Wed Mar 16, 2011 2:38 pm