Page 1 of 1
Footer links under information disappeared after upgrade
Posted: Thu May 31, 2012 7:00 am
by a2z
Hi, I just upgraded from 1.5.2.1 to 1.5.3.1 and noticed that all the links for terms and conditions, privacy policy etc which are in my footer "Information" section disappeared.
I tried editing information pages in the admin area, but when I click save, I get a blank page and nothing happens.
Can someone let me know how to troubleshoot this issue.
Thanks
Re: Footer links under information disappeared after upgrade
Posted: Thu May 31, 2012 8:42 am
by Avvici
Well, there was an extra conditional added to the footer in 1.5.1.3:
If it's not met, none will show. Open up your catalog/controller/common/footer.php and look for this:
Code: Select all
$this->data['informations'] = array();
foreach ($this->model_catalog_information->getInformations() as $result) {
if ($result['bottom']) {
$this->data['informations'][] = array(
'title' => $result['title'],
'href' => $this->url->link('information/information', 'information_id=' . $result['information_id'])
);
}
}
Could be something else, but that was my first guess
Re: Footer links under information disappeared after upgrade
Posted: Thu May 31, 2012 8:58 am
by a2z
Hi Avvici, I was able to locate the text and it is exactly same. Do I need to change any thing?
Re: Footer links under information disappeared after upgrade
Posted: Thu May 31, 2012 10:13 am
by Avvici
Send a link please.
Re: Footer links under information disappeared after upgrade
Posted: Thu May 31, 2012 10:25 am
by Qphoria
You need to edit your information pages and check the new "bottom" checkbox.
If you used the full install or the upgrade script, these are both set to default to true so I don't know how you managed to set them all to false by default.
Re: Footer links under information disappeared after upgrade
Posted: Thu May 31, 2012 2:35 pm
by a2z
Hi, It was my mistake. I was able to resolve the problem. I have overwritten some products after the upgrade and restored the db to the version I took before the upgrade. I realised and copied over the files again and ran upgrade again. Now it works fine.
Re: Footer links under information disappeared after upgrade
Posted: Thu May 31, 2012 3:00 pm
by Avvici
Well, I figured that's what it was, since the bottom checkbox is checked off by default.
Re: Footer links under information disappeared after upgrade
Posted: Thu May 31, 2012 4:48 pm
by cloudier
Qphoria wrote:You need to edit your information pages and check the new "bottom" checkbox.
If you used the full install or the upgrade script, these are both set to default to true so I don't know how you managed to set them all to false by default.
I have the same problem where do I go to find the checkbox at the bottom of the information pages? Or where can I find the default coding to change the false to true. I have had such a problem with the upgrade corrupting my db and have been unable to edit using the Dashboard. Now I have got it working its not showing the information list in the footer.
I don't want to do an upgrade again as it would not restore any back-up last time so have had to upload all the stuff from my backup individually. If I can go directly to the coding and change it, but not sure where this check box is? There is nothing showing in my dashboard under the information list.
Hope you can assist.
Many thanks
Re: Footer links under information disappeared after upgrade
Posted: Thu May 31, 2012 6:47 pm
by a2z
The checkboxes are under Admin>Categories>Information when you open the information in edit mode. I think they are under Data tab.
Re: Footer links under information disappeared after upgrade
Posted: Thu Sep 08, 2016 8:11 pm
by skip
Is there any solution, In my case after upgrade to 2.2.0.0 my information pages dissapear in admin after select bottom box and SAVE In same time it is visible on frontpage footer