nemic Posted October 16, 2015 Share Posted October 16, 2015 Hello, sorry form my english I'm starting to use prestashop 1.6.1.1 .. I have this problem. I turned on the left column on the home page and would like facebook block and block cms full page, as in the attached images. Please help me 1 Link to comment Share on other sites More sharing options...
juancopi81 Posted October 16, 2015 Share Posted October 16, 2015 I have the same problem, have you been able to solve this? Link to comment Share on other sites More sharing options...
nemic Posted October 16, 2015 Author Share Posted October 16, 2015 No.i'm waiting help. Link to comment Share on other sites More sharing options...
nemic Posted October 18, 2015 Author Share Posted October 18, 2015 I've solved but i don't remember what i did Link to comment Share on other sites More sharing options...
juancopi81 Posted October 18, 2015 Share Posted October 18, 2015 You do not remember? I still have the problem... Link to comment Share on other sites More sharing options...
nemic Posted October 19, 2015 Author Share Posted October 19, 2015 (edited) Ok. solved. Open file footer.tpl in themes/default-bootstrap. After line {include file="$tpl_dir./global.tpl"} copy this: <script type="text/javascript"> $( document ).ready(function() { if ($('#index').length) { // get element to move to var newParent = document.getElementById('columns'); // Get the element that contains face book // and cms info block (i.e in your case // the <div class="clearfix"> that is put around these) var infoBlock = document.getElementById('fb-root').parentElement; //move the whole div to be a child of the #columns element newParent.appendChild(infoBlock); } }); </script> Save file and clean cache. Edited October 19, 2015 by nemic (see edit history) 1 Link to comment Share on other sites More sharing options...
juancopi81 Posted October 22, 2015 Share Posted October 22, 2015 Nice!!! Now it working fine!! thanks a lot 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now