undiscovered33 Posted January 16, 2015 Share Posted January 16, 2015 I am trying to change the width of the image to 1170. First I removed the themeconfig from the module position and have the image slider. Then next I changed the image width to 1170px. It saves successfully however resets to 779px, which is the default value. I have also unistalled and reinstalled but still resets and does not update the value. Link to comment Share on other sites More sharing options...
PascalVG Posted January 16, 2015 Share Posted January 16, 2015 I expect some caching problem. Did you turn of caching and did your set smarty compilation to force compile in Advanced Parameters->Optimization? If nothing helps, you can try to change it directly in the database: table: ps_configuration: field HOMESLIDER_WIDTH set it's value from 779 ->1170 (And now that you're here, also double check if there are not two (or more rows) with this field, which may cause the problem...) My 2 cents, pascal 1 Link to comment Share on other sites More sharing options...
undiscovered33 Posted January 16, 2015 Author Share Posted January 16, 2015 Solved now-indeed there were duplicate fields- 3 in total. Many thanks 1 Link to comment Share on other sites More sharing options...
PascalVG Posted January 17, 2015 Share Posted January 17, 2015 Great! Happy selling, pascal Link to comment Share on other sites More sharing options...
coreym Posted January 17, 2015 Share Posted January 17, 2015 I would like to add to this. We are using homeslider v1.4.3. We have the same issue as undiscovered33 and the same solution works. But I want to figure out why saving the homeslider config always creates these incorrect entries in ps_configuration: +------------------+---------------+---------+-------------------+-------+---------------------+---------------------+ | id_configuration | id_shop_group | id_shop | name | value | date_add | date_upd | +------------------+---------------+---------+-------------------+-------+---------------------+---------------------+ | 228 | NULL | NULL | HOMESLIDER_WIDTH | 779 | 2015-01-16 16:45:30 | 2015-01-16 17:22:56 | | 229 | NULL | NULL | HOMESLIDER_HEIGHT | 300 | 0000-00-00 00:00:00 | 0000-00-00 00:00:00 | | 230 | NULL | NULL | HOMESLIDER_SPEED | 500 | 0000-00-00 00:00:00 | 2015-01-08 12:52:43 | | 231 | NULL | NULL | HOMESLIDER_PAUSE | 3000 | 0000-00-00 00:00:00 | 2015-01-08 12:52:43 | | 232 | NULL | NULL | HOMESLIDER_LOOP | 1 | 0000-00-00 00:00:00 | 0000-00-00 00:00:00 | | 417 | 1 | 1 | HOMESLIDER_LOOP | 1 | 2015-01-16 17:16:42 | 2015-01-16 17:22:56 | | 418 | 1 | 1 | HOMESLIDER_WIDTH | 1300 | 2015-01-16 17:27:18 | 2015-01-16 17:27:18 | +------------------+---------------+---------+-------------------+-------+---------------------+---------------------+ The entries with id_shop, and id_shop_group set to NULL are the ones being used by homeslider. But the two rows with id_shop, and id_shop_group set to 1 are created when saving from the homeslider config screen. Manually setting the id_shop=NULL HOMESLIDER_WIDTH to 1300 changes the way the module behaves, but I cannot change the value using the homeslider config screen. All other rows in ps_configuration have id_shop and id_shop_group set to NULL. Why is homeslider creating these two new rows with the id_shop, and id_shop_group set to 1? Thanks, Corey Link to comment Share on other sites More sharing options...
vekia Posted January 18, 2015 Share Posted January 18, 2015 hello these entries are bad: | 228 | NULL | NULL | HOMESLIDER_WIDTH | 779 | 2015-01-16 16:45:30 | 2015-01-16 17:22:56 | | 229 | NULL | NULL | HOMESLIDER_HEIGHT | 300 | 0000-00-00 00:00:00 | 0000-00-00 00:00:00 | | 230 | NULL | NULL | HOMESLIDER_SPEED | 500 | 0000-00-00 00:00:00 | 2015-01-08 12:52:43 | | 231 | NULL | NULL | HOMESLIDER_PAUSE | 3000 | 0000-00-00 00:00:00 | 2015-01-08 12:52:43 | | 232 | NULL | NULL | HOMESLIDER_LOOP | 1 | 0000-00-00 00:00:00 | 0000-00-00 00:00:00 | entries without shop id and group id are bad. and prestashop just creates proper ones (with id) remove these BAD entries, and then prestashop will not duplicate them Link to comment Share on other sites More sharing options...
coreym Posted January 19, 2015 Share Posted January 19, 2015 hello these entries are bad: ... entries without shop id and group id are bad. and prestashop just creates proper ones (with id) remove these BAD entries, and then prestashop will not duplicate them ok, thanks. Any reason why every row is set to NULL on a fresh install? 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