Jump to content

Footer layout problems


Recommended Posts

It seems as though the TPL files have been tampered with all the footer code has <div class="col-md-5"> or <div class="col-md-4"> which seems to be causing the issue.

Look at the various TPL files files for Newsletter, My Account and so on and see if there are the <div tags from above present if so delete them amd all sould be OK.

 

Using Chromes inspector I removed the <div tabs and all was normal.

Link to comment
Share on other sites

It seems as though the TPL files have been tampered with all the footer code has <div class="col-md-5"> or <div class="col-md-4"> which seems to be causing the issue.

Look at the various TPL files files for Newsletter, My Account and so on and see if there are the <div tags from above present if so delete them amd all sould be OK.

 

Using Chromes inspector I removed the <div tabs and all was normal.

Hi Tdr170

 

I have gone through all of the tpl files for my account etc and cant find the code thats affecting it, Is it something to do with column width?

Link to comment
Share on other sites

Hi All

 

I have removed all of the modules from the footer hook and begun loading them one at a time. I have found that if i load newsletter and social block in that order there is no problem.

 

However when i add a third module, ANY module, those .col-md-div codes are added, throwing all of the layout out again.

 

So in my newbie opinion i think that the modules arent the problem but perhaps some spacing code that is overiding the footer tpl.??

 

Any help is greatly welcomed :)

Link to comment
Share on other sites

Do you have the facebook module installed I see this error  "fb-root" div has not been created, auto-creating and did you transplant this to the footer.

 

Also just uninstalling and re-installing would not remove the code if it were changed you would need to uninstall, delete then re-install.

Edited by tdr170 (see edit history)
Link to comment
Share on other sites

Do you have the facebook module installed I see this error  "fb-root" div has not been created, auto-creating and did you transplant this to the footer.

 

Also just uninstalling and re-installing would not remove the code if it were changed you would need to uninstall, delete then re-install.

Hi

 

No i dont have the facebook module installed and no its was not on the footer, except through the social sharing module.

 

I have deleted and reinstalled the modules and still get the same problem.

Link to comment
Share on other sites

Try uninstalling and reinstalling all except the social block and see what happens.

Weird that the <div tags are being added as I looked at my site and they definitely do not appear.

 

I have uninstalled and reinstalled as you suggested. As before if i had the first two everything is fine. I then add the third the div class col md 4 is added.

 

If you look at the site now, the spacing problem is the same as before.

Link to comment
Share on other sites

Try to uninstall but when you reinstall do not install the social block and see if that is the issue.

 

Uninstall the Facebook like box as the fb-root is caused by that.

 

(from chrome console)

The "fb-root" div has not been created, auto-creating

Edited by tdr170 (see edit history)
Link to comment
Share on other sites

Try to uninstall but when you reinstall do not install the social block and see if that is the issue.

 

Uninstall the Facebook like box as the fb-root is caused by that.

 

(from chrome console)

The "fb-root" div has not been created, auto-creatin

I have done as you suggested. Again when i add a third module it has now add divs col-md8. So its not the modules, because no matter in what combination i add them, the third module always leads to divs being created.

 

The facebook like has been uninstalled.

Link to comment
Share on other sites

My only other suggestion would be to rename the Default-bootstrap theme and upload the theme from the unzipped 16014 and see if it is an issue exist with a unmodified theme.

Have you edited any TPL files or made changes to any files of the theme.

 

This is now being added <div class="col-md-8">, the fb-root error is gone.

Link to comment
Share on other sites

My only other suggestion would be to rename the Default-bootstrap theme and upload the theme from the unzipped 16014 and see if it is an issue exist with a unmodified theme.

Have you edited any TPL files or made changes to any files of the theme.

 

This is now being added <div class="col-md-8">, the fb-root error is gone.

 

Hello

 

I have used the unmodified theme and the problem with the footer remains. However after switching back it has now wiped all the changes i made in colours to every page.

 

So its not the theme but maybe global css?

Link to comment
Share on other sites

Global.css is part of the theme, not sure at this point, try installing another Prestashop in a sub folder then see if the error exist.

 

 

 

During this time you are trying to figure this out be sure and turn force compile to on and cacher off.

Link to comment
Share on other sites

Global.css is part of the theme, not sure at this point, try installing another Prestashop in a sub folder then see if the error exist.

 

 

?

During this time you are trying to figure this out be sure and turn force compile to on and cacher off.

I have looked at all the things i may have changed and I cant figure it out. Whenever a third module is place suddenly div class=col md appear. If i go into HTML edit on firebug and delete the div class everything appears as it should.

 

Why are the spaces appearing? Is there a way to edit the html directly so the changes in firebug stay permentently?

 

Otherwise im faced with not having a footer at all. And i really dont fancy the idea of reinstalling prestashop.

 

Can anyone help?

Link to comment
Share on other sites

This must be caused by something you edited the best advice I can give is to rename the files you edited to xxxxx.xxx.back upload a fresh file and refresh the page until the error disappears.

Once again make sure cache is off and force compile is on, clear the cache then refresh page after each file.

Link to comment
Share on other sites

This must be caused by something you edited the best advice I can give is to rename the files you edited to xxxxx.xxx.back upload a fresh file and refresh the page until the error disappears.

Once again make sure cache is off and force compile is on, clear the cache then refresh page after each file.

I have been replacing files and the problem is still there. I replaced all the module tpls and footer tpl etc. The divs are still there. see images.

 

Any more ideas?

post-1024208-0-95717400-1438281902_thumb.png

post-1024208-0-54281500-1438281927_thumb.png

post-1024208-0-18449800-1438281955_thumb.png

Link to comment
Share on other sites

Are you replacing the TPl files in your themes module folder or in the modules folder itself as many modules use the TPL files located in the themes folder.

If you edited .php files they may also need replacing as well as .css files.

Link to comment
Share on other sites

Are you replacing the TPl files in your themes module folder or in the modules folder itself as many modules use the TPL files located in the themes folder.

If you edited .php files they may also need replacing as well as .css files.

How can i reinstall prestashop without losing all my modifications?

Link to comment
Share on other sites

You could try is to just upload the install folder to your current install, backup the database and then drop all the tables from the database and just install again.

 

I had an issue with one site that would not let customers register and tried to overwrite file after file but nothing worked but this simple trick fixed it. (obviously database issue)

 

After install instead of deleting the install folder just rename the folder to install-dev this way you always have the install folder if you need it.

 

You will need to install some modules and uninstall some others.

Link to comment
Share on other sites

  • 2 months later...

Hi again

 

Found the solution for this problem.

 

I had tried a template fr my shop.

For some reasons, obviously a couple layout-rules were still used after I switched back to the default theme.

 

I deleted this installed template, and now everything had been back to normal

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...