innocuous Posted October 20, 2012 Share Posted October 20, 2012 (edited) Hi, How can we change the footer to show HTML content? PS 1.5.1 default theme. No paid modules please. Thanks Edited November 15, 2012 by innocuous (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted October 20, 2012 Share Posted October 20, 2012 (edited) Hi, How can we change the footer to show HTML content? PS 1.5.1 default theme. No paid modules please. Thanks you must edit template files, I mean that you must change file named footer.tpl located themes directory or use our free module prestashop html / css / javascript block. with this feature you can add any code to footer section and 5 other most important hooks Edited October 20, 2012 by vekia (see edit history) 1 Link to comment Share on other sites More sharing options...
innocuous Posted October 20, 2012 Author Share Posted October 20, 2012 Thanks again vekia. I'll try your module Link to comment Share on other sites More sharing options...
innocuous Posted October 22, 2012 Author Share Posted October 22, 2012 Using your free module, how do I remove all the earlier links in footer and replace full footer with html/css? Link to comment Share on other sites More sharing options...
vekia Posted October 22, 2012 Share Posted October 22, 2012 Using your free module, how do I remove all the earlier links in footer and replace full footer with html/css? just turn off all other footer modules in modules positions page in backoffice 1 Link to comment Share on other sites More sharing options...
innocuous Posted October 23, 2012 Author Share Posted October 23, 2012 How do I insert blocks or code in footer? I have turned off all the blocks and now want to restyle some links used in the my accounts block: <li><a href="{$link->getPageLink('history', true)}" title="">{l s='My orders' mod='blockmyaccount'}</a></li> {if $returnAllowed}<li><a href="{$link->getPageLink('order-follow', true)}" title="">{l s='My merchandise returns' mod='blockmyaccount'}</a></li>{/if} <li><a href="{$link->getPageLink('order-slip', true)}" title="">{l s='My credit slips' mod='blockmyaccount'}</a></li> <li><a href="{$link->getPageLink('addresses', true)}" title="">{l s='My addresses' mod='blockmyaccount'}</a></li> <li><a href="{$link->getPageLink('identity', true)}" title="">{l s='My personal info' mod='blockmyaccount'}</a></li> {if $voucherAllowed}<li><a href="{$link->getPageLink('discount', true)}" title="">{l s='My vouchers' mod='blockmyaccount'}</a></li> I know we can hard code the links but that doesn't sound right way to go about it. Any way this can be done? Link to comment Share on other sites More sharing options...
innocuous Posted October 25, 2012 Author Share Posted October 25, 2012 Any suggestion vekia? Link to comment Share on other sites More sharing options...
innocuous Posted November 9, 2012 Author Share Posted November 9, 2012 Vekia, the htmlbox module is messing up some of the My Account pages for user. 1) My personal info (footer info shown in form...footer is ok) 2) My favorite products (footer messes up) 3) My loyalty points (footer messes up) 4) Referral program (footer messes up) 5) My wishlist (footer messes up) In the information block: 1) Delivery (footer messes up) 2) Terms and conditions of use (footer messes up) 3) About us (footer) 4) Secure payment (footer) I am attaching screenshots for you to see: Kindly help to fix? Link to comment Share on other sites More sharing options...
vekia Posted November 9, 2012 Share Posted November 9, 2012 can you paste here the code that you use in your htmlbox ? in my opinion the problem is in code, maybe there is some breakpoints Link to comment Share on other sites More sharing options...
vekia Posted November 9, 2012 Share Posted November 9, 2012 are you sure that the problem is with html box ? from a logical point of view, module doesn't have the slightest effect on the specified by you shop elements Link to comment Share on other sites More sharing options...
innocuous Posted November 9, 2012 Author Share Posted November 9, 2012 Yes its related to htmlbox. I turned the module off and everything was working properly. No formatting errors or anything. Could be the code I used too: Here it is: <style type='text/css'> p2 {font-weight:bold;color:#646464; font-size:12px;height:auto;padding-left:5px;padding-bottom:5px} .top {float:right; margin-top:105px;height:35px;width:400px;background: url("themes/default/img/paymentlogo.png") no-repeat scroll 142px 0px transparent;} .top2 { float:right; height:35px;width:400px;background: url("themes/default/img/shippingoptions.png") no-repeat scroll 145px -5px transparent;} .top3 {padding-left:5px; float:right; height:35px;width:400px;margin-top:5px} .bottom {padding-left:5px; float:right; height:50px;width:400px;padding-top:15px;} </style> <div class="top"><p2 style="margin-bottom:-5px;">SECURE PAYMENT</p2></div> <div class="top2"><p2 style="margin-bottom:-10px;">SHIPPING PARTNERS</p2></div> <div class="top3"><p2 style="margin-bottom:-5px;">CONNECT WITH US </p2><A HREF="Http://www.facebook.com/mydomain" title="FACEBOOK"><img src="themes/default/img/fb.png" alt="FACEBOOK" style="margin-left:33px" /></A> <A HREF="Http://www.twitter.com/mydomain" title="TWITTER"><img src="themes/default/img/twitter.png" alt="TWITTER" style="margin-left:10px" /></A><A HREF="Http://www.pinterest.com/mydomain" title="PINTEREST"><img src="themes/default/img/pinterest.png" alt="PINTEREST" style="margin-left:13px" /></A></div> <div class="bottom"><p2 style="margin-bottom:-10px;">GOT A QUESTION? </p2><img src="themes/default/img/phone.png" alt="020-11111111" style="margin-left:13px; position:relative; left:0px; top:8px" /> 020-111111111 <A HREF=mailto:[email protected] title="[email protected]"><img src="themes/default/img/mail.png" alt="[email protected]" style="position:relative; left:0px; top:8px" /> [email protected]</A></div> btw I am using htmlbox v1.2. Just saw you upgraded to 1.3 Link to comment Share on other sites More sharing options...
vekia Posted November 13, 2012 Share Posted November 13, 2012 Yes its related to htmlbox. I turned the module off and everything was working properly. No formatting errors or anything. Could be the code I used too: Here it is: <style type='text/css'> p2 {font-weight:bold;color:#646464; font-size:12px;height:auto;padding-left:5px;padding-bottom:5px} .top {float:right; margin-top:105px;height:35px;width:400px;background: url("themes/default/img/paymentlogo.png") no-repeat scroll 142px 0px transparent;} .top2 { float:right; height:35px;width:400px;background: url("themes/default/img/shippingoptions.png") no-repeat scroll 145px -5px transparent;} .top3 {padding-left:5px; float:right; height:35px;width:400px;margin-top:5px} .bottom {padding-left:5px; float:right; height:50px;width:400px;padding-top:15px;} </style> <div class="top"><p2 style="margin-bottom:-5px;">SECURE PAYMENT</p2></div> <div class="top2"><p2 style="margin-bottom:-10px;">SHIPPING PARTNERS</p2></div> <div class="top3"><p2 style="margin-bottom:-5px;">CONNECT WITH US </p2><A HREF="Http://www.facebook.com/mydomain" title="FACEBOOK"><img src="themes/default/img/fb.png" alt="FACEBOOK" style="margin-left:33px" /></A> <A HREF="Http://www.twitter.com/mydomain" title="TWITTER"><img src="themes/default/img/twitter.png" alt="TWITTER" style="margin-left:10px" /></A><A HREF="Http://www.pinterest.com/mydomain" title="PINTEREST"><img src="themes/default/img/pinterest.png" alt="PINTEREST" style="margin-left:13px" /></A></div> <div class="bottom"><p2 style="margin-bottom:-10px;">GOT A QUESTION? </p2><img src="themes/default/img/phone.png" alt="020-11111111" style="margin-left:13px; position:relative; left:0px; top:8px" /> 020-111111111 <A HREF=mailto:[email protected] title="[email protected]"><img src="themes/default/img/mail.png" alt="[email protected]" style="position:relative; left:0px; top:8px" /> [email protected]</A></div> btw I am using htmlbox v1.2. Just saw you upgraded to 1.3 what is <p2> tag ? i don't know that one... html box messed up your shop even if the code block is empty? in my opionion - it's code problem, not module Link to comment Share on other sites More sharing options...
innocuous Posted November 14, 2012 Author Share Posted November 14, 2012 <p2> is a tag I created? Wrong to do it that way? I'll empty the box and try Link to comment Share on other sites More sharing options...
innocuous Posted November 15, 2012 Author Share Posted November 15, 2012 Could not figure out whats wrong, so I updated to v1.3 and then used the WYSIWYG editor to build the links/text. All fine now! Link to comment Share on other sites More sharing options...
dapottster Posted April 10, 2013 Share Posted April 10, 2013 Thank you, the free module suggested helped me add a piece of javascript to my footer very easily. I just wish I found this 4 hours earlier!! Link to comment Share on other sites More sharing options...
vekia Posted April 10, 2013 Share Posted April 10, 2013 Thank you, the free module suggested helped me add a piece of javascript to my footer very easily. I just wish I found this 4 hours earlier!! im very happy to hear that :-) show off your webstore in my test my site section I'm very curious what you got;) 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