Post by aljawaid » Thu Nov 19, 2015 6:35 am

Hello all, can anybody help?

I'm trying to display the information page IDs from the database in the information page list. From what I can see, the model file has the method already getInformation($information_id) but in my controller it doesn't work as:

Code: Select all

$data['information_id_display'] = $this->request->getInformation($information_id);
It throws a 500 server error :'(

TPL file

Code: Select all

<td class="text-center"><?php echo $information_id_display; ?></td>
Does anyone know where I'm going wrong?
Last edited by aljawaid on Wed Nov 25, 2015 7:29 am, edited 1 time in total.

Total e-commerce newbie bravely testing OC v2.0.3.1 before rolling it live...getting there slowly, somehow. Maybe not. I dunno.


Active Member

Posts

Joined
Fri Oct 10, 2014 10:33 pm
Location - UK

Newbie

Posts

Joined
Sun Oct 25, 2015 12:05 pm


Post by aljawaid » Wed Nov 25, 2015 7:29 am

Hello

I have managed to work this out. I'm a very slow learner O0

http://www.opencart.com/index.php?route ... n_id=24777

Hope it's useful to everyone.

Total e-commerce newbie bravely testing OC v2.0.3.1 before rolling it live...getting there slowly, somehow. Maybe not. I dunno.


Active Member

Posts

Joined
Fri Oct 10, 2014 10:33 pm
Location - UK
Who is online

Users browsing this forum: No registered users and 274 guests