Herland Posted October 8, 2012 Share Posted October 8, 2012 (edited) I am currently trying to add two sliders with different images on each, but I can't accomplisg this. I changed the name of php, and the name of the class, changed other things as suggested in other topic regarding the copy of a different module. Perhaps this module has something different that has to be changed, if you can help me, I would appreciate it! Thanks Page for slider 1: http://www.adroid.cl...?id_category=58 Page for slider 2: http://www.adroid.cl...?id_category=33 Edited October 10, 2012 by Herland (see edit history) Link to comment Share on other sites More sharing options...
Herland Posted October 8, 2012 Author Share Posted October 8, 2012 Don't concern, I am near the solution, and I will post it when done. Link to comment Share on other sites More sharing options...
Herland Posted October 9, 2012 Author Share Posted October 9, 2012 (edited) Yes, I finally could! the obvios problem was that both sliders were saving data in the same table, that's why there was conflict. What I did was to change every ._DB_PREFIX_.'minic_slider`' before the module installation to a different table name, in this case I chose: ._DB_PREFIX_.'minic_slider5`'. For whatever appears with that name you change it. I also modified a ._DB_PREFIX_.'minic_slider`' in the ajax php file. In case you remove the old module, your table might be deleted for the first slider. Just go to phpmyadmin and create it: CREATE TABLE ps_minic_slider ( slide_id INT NOT NULL AUTO_INCREMENT PRIMARY KEY, lang_id INT NOT NULL, lang_iso VARCHAR(5), title VARCHAR(100), url VARCHAR(100), target INT NOT NULL DEFAULT 0, image VARCHAR(100), alt VARCHAR(100), caption VARCHAR(300), order_id INT NOT NULL, active INT NOT NULL DEFAULT 1 ) Thanks a lot! me! lol Edited October 9, 2012 by Herland (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts