PrestaOZ Posted May 13, 2010 Share Posted May 13, 2010 I am using SotEW'sAdds v0.4 to insert an html into header of site and have also modified globall.css as follows to have an image in background.body { background-image: url('../img/wood2.jpg'); background-attachment: fixed; font-size: 11px; font-family: Verdana, Arial, Helvetica, Sans-Serif; color: #5d717e; text-align:center;}Everything works fine throughout site except when I get to "Payment Methods" when I notice the path changes fromdomain/shop/order.phpto/shop/modules/cheque/payment.phpI lose background image and html header.I am guessing it is something to do with the paths in the respective payments modules.eg: chequeinclude(dirname(__FILE__).'/../../config/config.inc.php');include(dirname(__FILE__).'/../header.php');include(dirname(__FILE__).'/cheque.php');Once I confirm the order, everything is OK again as it reverts to original path (ie /shop/order-confirmation.php?id_cart=41&id;_mod)I would really appreciate any assistance as I am new to php.RegardsIanSOLVEDAfter a lot of trial and error, the problem is associated with inserting a html file into the site header using the module SotEW'sAdds v0.4. I have overcome by inserting a jpg using SotEW'sAdds v0.4 and I no longer lose the path to CSS etc Link to comment Share on other sites More sharing options...
PrestaOZ Posted May 16, 2010 Author Share Posted May 16, 2010 Does anyone have any suggestions for me on how to change the path so that my global.css works when on "payment methods" pages.ThanksSee above solution!!!! Link to comment Share on other sites More sharing options...
fernandokerber Posted June 15, 2011 Share Posted June 15, 2011 i never used this module SotEW’sAdds but i have the same problemany ideia? Link to comment Share on other sites More sharing options...
svenj Posted June 15, 2011 Share Posted June 15, 2011 The same goes for the bank wire module. I use a new fresh install of the version 1.4.2.5 of Prestashop. Does anyone with a previuous version or an upgraded version encounters the same problem? 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