martinyan Posted March 12, 2011 Share Posted March 12, 2011 Hi , I upload a new Advertising on the Modules of Advertising block, but while it was done, the image still inthe size of default '155px × 163px' which should be '191px × 89px'. I have tried to edited blockadvertising.php &blockadvertising.tpl and changed all value to '191px × 89px', but it did not works.my site is www.guildwars2hot.com, Please hlep me out of it , Thanks a lot! Link to comment Share on other sites More sharing options...
echonetic Posted March 13, 2011 Share Posted March 13, 2011 Are you sure you changed the dimensions properly in the blockadvertising.tpl file? It should be: for the size you are requesting. Check out the bottom of the right column here... http://www.demos.echonetic.com/illuminate/product.php?id_product=1 for a demo with your image Link to comment Share on other sites More sharing options...
cikon95 Posted March 18, 2011 Share Posted March 18, 2011 I have the same problem. how do you deal with it? PS 1.4 final . I changed the code and nothing Link to comment Share on other sites More sharing options...
echonetic Posted March 18, 2011 Share Posted March 18, 2011 did you edit blockadvertising.tpl as in the above post? It works on this end. Link to comment Share on other sites More sharing options...
cikon95 Posted March 18, 2011 Share Posted March 18, 2011 yes {* * 2007-2011 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/afl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to [email protected] so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to http://www.prestashop.com for more information. * * @author PrestaShop SA * @copyright 2007-2011 PrestaShop SA * @version Release: $Revision: 1.4 $ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} <!-- MODULE Block advertising --> <!-- /MODULE Block advertising --> Link to comment Share on other sites More sharing options...
MrBaseball34 Posted March 18, 2011 Share Posted March 18, 2011 I have the same problem. how do you deal with it? PS 1.4 final . I changed the code and nothing Did you clear your Smarty cache? Link to comment Share on other sites More sharing options...
cikon95 Posted March 18, 2011 Share Posted March 18, 2011 I found a solution http://www.prestashop.com/forums/viewthread/97399/themes/can_not_edit_prestashop_1_dot_4_themes_solved Link to comment Share on other sites More sharing options...
martinyan Posted March 19, 2011 Author Share Posted March 19, 2011 Have sloved the problem by change img src="{$image} img src="http://www.guildwars2hot.com/modules/blockadvertising/advertising_custom.jpg" Thanks echonetic! Link to comment Share on other sites More sharing options...
martinyan Posted March 20, 2011 Author Share Posted March 20, 2011 for 1.4F , after change the sizes you need on blockadvertising.tpl , please to do this on blackoffice : Preferences -> Performance -> Force compile : YES Preferences -> Performance -> Cache : NO Link to comment Share on other sites More sharing options...
AnilaN Posted May 3, 2011 Share Posted May 3, 2011 Hello,I tried the solution but nothing is in place now :s.what do i do? help plz and i can't undo the process...;i'm using prestshop 1.4 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