duongphuc Posted February 4, 2012 Share Posted February 4, 2012 Mình nhận thấy footer này có cái hay và khá tiện ích nên muốn thay vào trong bản PS của mình (hiện đang dùng bản default) - Cứ loay hoay mãi và đọc vài bài viết trên forum và cả bác Mod kenh360.com vẫn không biết cách thay thế cái footer này vào website của mình - Bác MOD vui lòng giúp tí nhé - thank Demo cái footer mong muốn : http://prestashop.nurharyati.com/cool-putih/ Link to comment Share on other sites More sharing options...
danchoist Posted February 4, 2012 Share Posted February 4, 2012 MOD naogiup ban ay chut kia Link to comment Share on other sites More sharing options...
duongphuc Posted February 5, 2012 Author Share Posted February 5, 2012 Sửa trong global.css thì chỉ tạo khung thôi, các module hook vào thì lại xếp thành hàng dọc thay vì nằm ngang ra, khó quá ta Link to comment Share on other sites More sharing options...
memzoomvn Posted February 5, 2012 Share Posted February 5, 2012 khó thật ! mình cũng đang mò phần footer này mấy ngày nay rồi buồn ! ai giúp mình với http://logozee.com thiet ke logo Link to comment Share on other sites More sharing options...
thoitrangf5 Posted February 6, 2012 Share Posted February 6, 2012 footer nó ứng với từng theme khác nhau thì khác nhau. Bạn vào file footer ở theme bạn chọn sửa. Phai biết Css 1 chut mới sửa dc Link to comment Share on other sites More sharing options...
duongphuc Posted February 7, 2012 Author Share Posted February 7, 2012 Đồng ý là ứng với từng theme (open source khác), riêng với PS, footer cấu trúc đơn giản hơn, nhưng không hẳn là sửa bằng cách view code rồi thêm theo ý được (chỉ có thể thêm div/ hoặc vài ba cái link đơn giản) chứ thay cả footer của theme này vào footer của theme kia hơi bị khó (nghĩa là cách xếp và hook các module khác nhau - tìm chỗ nào sửa đây ???) *** Ví dụ: bạn đang dùng theme mặc định của PS (không có bất cứ module nào hook được vào footer - nếu có chúng nó sẽ nằm theo chiều dọc) , sau đó bạn hãy thay đổi cái footer mặc định đó dùng cho theme Model (black type): http://www.prestashop.com/demo/ , cái theme này các module khi hook vào footer chúng sẽ nằm ngang. *** Trong footer.tpl của 2 bản này giống nhau như - vậy muốn sử dụng footer của theme Model thì phải làm sao. Link to comment Share on other sites More sharing options...
duongphuc Posted February 9, 2012 Author Share Posted February 9, 2012 Có tí hướng giải quyết - xong do code yếu nhớt nên đang rô đa máy, hy vọng nhìn cũng được Muốn sửa footer ngon lành thì view code + golbal.css = good luck Link to comment Share on other sites More sharing options...
haylam.vn Posted February 16, 2012 Share Posted February 16, 2012 Bạn vào BO > Module admin_/index.php?tab=AdminModulesPositions&addToHook 1. Hook các module variouslink, myaccount vào footer. 2. Dùng Firebug copy các style cần thiết từ site http://prestashop.nurharyati.com/cool-putih/ vào file global.css. 3. Mở file footer.tpl thêm các mã html vào Link to comment Share on other sites More sharing options...
duongphuc Posted February 17, 2012 Author Share Posted February 17, 2012 Thanks alot kênh360, Để làm thử xem thế nào, Demo cái footer mong muốn : http://prestashop.nu...com/cool-putih/ nó free down load mà Down về thấy footer.tpl của nó sẽ giải quyết hết - vì vậy bạn thích cái nào thì down về rồi lấy cái footer.tpl của nó thui nhé ** các module có thể móc vào footer: Configure the following modules: - Block Reinssurance(add to Hook footer) - block my-account (add to Hook footer) - CMS (add to Hook footer) - social (add to Hook footer) - infoscontact (add to Hook footer) - contact (add to Hook rightColumn) - sharefb (add to Hook footer) - Block categories (Number of column in footer : 1) ------------------------------------------demo 1-------------------------------------------------------- <!-- Footer --> <div id="footer"> {$HOOK_FOOTER} <div id="copyright"> Company Name © 2012 - Powered by <a href="http://www.prestashop.com">Prestashop 1.4.6</a> - Prestashop Theme by <a href="http://www.nurharyati.com">Nurharyati</a> </div> </div> </div> {/if} </body> </html> ------------------------------------------demo 2-------------------------------------------------------- <!-- Footer --> <div class="flatclear"> </div> </div> <div id="v2-footer"> <div id="v2-footer_content" style="padding-top:2px"> <div style="width:200px;text-align:left;float:left;margin:5px 10px 0 0"> <img src="{$img_dir}v2-logo.png" style="margin:4px 0 0 20px;height:36px" alt="PrestaShop" /><br /> <div style="margin:8px 12px">{l s='Powered by'} PrestaShop™</div> <a href="http://www.prestashop.com/" style="margin:4px 12px;text-decoration:underline">www.prestashop.com</a> </div> <div class="float" style="width:200px;margin:5px 10px 0 0"> <h4 style="border-bottom:2px solid #384855;margin-bottom:5px;padding-bottom:5px">{l s='Sitemap'}</h4> <ul class="v2-ulfooter"> <li><a href="{$base_dir}">{l s='Home'}</a></li> <li><a href="{$link->getPageLink('contact-form.php', true)}">{l s='Contact us'}</a></li> <li><a href="{$link->getPageLink('sitemap.php')}">{l s='Sitemap'}</a></li> </ul> </div> <div class="float" style="width:200px;margin:5px 10px 0 0"> <h4 style="border-bottom:2px solid #384855;margin-bottom:5px;padding-bottom:5px">{l s='My account'}</h4> <ul class="v2-ulfooter"> <li><a href="{$link->getPageLink('my-account.php', true)}" title="{l s='My account'}">{l s='My account'}</a></li> <li><a href="{$link->getPageLink('history.php', true)}" title="{l s='Orders'}">{l s='My orders'}</a></li> <li><a href="{$link->getPageLink('order-slip.php', true)}" title="{l s='Credit slips'}">{l s='My credit slips'}</a></li> <li><a href="{$link->getPageLink('addresses.php', true)}" title="{l s='Addresses'}">{l s='My addresses'}</a></li> <li><a href="{$link->getPageLink('identity.php', true)}" title="{l s='Information'}">{l s='My personal information'}</a></li> </ul> </div> <div class="float" style="width:200px;margin:5px 10px 0 0"> {$HOOK_FOOTER} </div> </div> </div> {/if} </body> </html> goodluck 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