peepo Posted August 27, 2011 Share Posted August 27, 2011 Hello, I need a larger px picture for the block advertising. I have managed to change the size of the block itself, but the images I upload are still being resized to the old block size. I have looked through the code and cannot find what is restricting the picture size to old size. Does anyone know here that piece of code is? Thanks Link to comment Share on other sites More sharing options...
PrestaSupport Posted August 27, 2011 Share Posted August 27, 2011 I guess you had made changes in bloackadvertising.tpl? Also reset module in your backoffice 1 Link to comment Share on other sites More sharing options...
peepo Posted August 27, 2011 Author Share Posted August 27, 2011 Hi, thanks for the reply. Yes Ive opened up every page related to the module and changed any image size code I can find. I will reset now and see if that works... I reset and nothing changed. So am not able to work out what code forces the image to be displayed smaller than I want Link to comment Share on other sites More sharing options...
hkim45 Posted August 27, 2011 Share Posted August 27, 2011 i want an answer to this as well Link to comment Share on other sites More sharing options...
hkim45 Posted August 27, 2011 Share Posted August 27, 2011 i think i got it actually. So in the root, modules folder there is blockadvertising folder. I edited the php and tpl where the width and height attributes are. I then copied that blockadvertising folder to my modules folder under my theme folder. (if you don't already have a module folder then create one) Link to comment Share on other sites More sharing options...
hkim45 Posted August 27, 2011 Share Posted August 27, 2011 but my other question is..how can i have multiple blockadvertising modules? It won't let me add another one to the right side column.. Link to comment Share on other sites More sharing options...
indus Posted August 27, 2011 Share Posted August 27, 2011 but my other question is..how can i have multiple blockadvertising modules? It won't let me add another one to the right side column.. Follow this http://www.prestashop.com/forums/topic/26099-how-do-i-duplicate-the-add-stuff-module/ Link to comment Share on other sites More sharing options...
peepo Posted August 28, 2011 Author Share Posted August 28, 2011 i think i got it actually. So in the root, modules folder there is blockadvertising folder. I edited the php and tpl where the width and height attributes are. I then copied that blockadvertising folder to my modules folder under my theme folder. (if you don't already have a module folder then create one) Hi, I have a modules folder in my theme folder, but its within the css folder. Do you mean copy main modules folder contents to that themes/prestashop/css/modules folder, or to create a new modules folder in the theme root folder? Link to comment Share on other sites More sharing options...
peepo Posted August 28, 2011 Author Share Posted August 28, 2011 I have since found out you have to force smarty to recompile templates after temaplte change. My edits have now taken effect and image in ad block is the size I want 1 Link to comment Share on other sites More sharing options...
deccandeals.in Posted September 7, 2014 Share Posted September 7, 2014 I guess you had made changes in bloackadvertising.tpl? Also reset module in your backoffice Yes this works.. I got it, we can change to any size. Link to comment Share on other sites More sharing options...
Paulito Posted September 7, 2014 Share Posted September 7, 2014 Hello Are you saying that you resolved your problem? Paul 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