jayjay09 Posted October 29, 2009 Share Posted October 29, 2009 Hi. I have searched through the forum with no luck on this..Basically in the block advertising module I want one advertisement, but when I install the module it shows the same image on the left and right of the page. I am a complete novice with this so if anyone could point me in the right direction, it would be much appreciated. Link to comment Share on other sites More sharing options...
Zenith Posted October 29, 2009 Share Posted October 29, 2009 The advertising block is hardcoded, edit the file modules/blockadvertising/blockadvertising.php Link to comment Share on other sites More sharing options...
jayjay09 Posted October 29, 2009 Author Share Posted October 29, 2009 Thanks for the reply. But unfortunately I have no idea what part i need to edit. Link to comment Share on other sites More sharing options...
Zenith Posted October 29, 2009 Share Posted October 29, 2009 Either edit the line $smarty->assign('image', $protocol_content.$server_host.__PS_BASE_URI__.'/modules/'.$this->name.'/advertising.jpg'); or rename your ad image to advertising.jpg and overwrite the default one. Link to comment Share on other sites More sharing options...
nutbuster Posted January 15, 2010 Share Posted January 15, 2010 Stop messing with files and do it all with a module!http://www.prestashop.com/forums/viewthread/7675/modules___development/modulev0_dot_4_sotews_adds Link to comment Share on other sites More sharing options...
Recommended Posts