ramipaleo Posted April 24, 2013 Share Posted April 24, 2013 Hola, alguien que pueda ayudarme, ¿Hay forma de agregar el campo nombre a newsletter que trae por defecto prestashop 1.5.3?? saludos. Link to comment Share on other sites More sharing options...
Sergio Ruiz Posted April 24, 2013 Share Posted April 24, 2013 Hola, alguien que pueda ayudarme, ¿Hay forma de agregar el campo nombre a newsletter que trae por defecto prestashop 1.5.3?? saludos. Editando el módulo. /modules/blocknewsletter/ Link to comment Share on other sites More sharing options...
ramipaleo Posted April 24, 2013 Author Share Posted April 24, 2013 Pero no hay algo más que hacer?? por ejemplo que los datos se guarden en una base de datos?? Link to comment Share on other sites More sharing options...
Sergio Ruiz Posted April 24, 2013 Share Posted April 24, 2013 Pero no hay algo más que hacer?? por ejemplo que los datos se guarden en una base de datos?? Claro que hay que hacer, por ejemplo si editas el fichero, ves por ejemplo esto: return Db::getInstance()->execute(' CREATE TABLE IF NOT EXISTS `'._DB_PREFIX_.'newsletter` ( `id` int(6) NOT NULL AUTO_INCREMENT, `id_shop` INTEGER UNSIGNED NOT NULL DEFAULT \'1\', `id_shop_group` INTEGER UNSIGNED NOT NULL DEFAULT \'1\', `email` varchar(255) NOT NULL, `newsletter_date_add` DATETIME NULL, `ip_registration_newsletter` varchar(15) NOT NULL, `http_referer` VARCHAR(255) NULL, `active` TINYINT(1) NOT NULL DEFAULT \'0\', PRIMARY KEY(`id`) ) ENGINE='._MYSQL_ENGINE_.' default CHARSET=utf8'); Link to comment Share on other sites More sharing options...
Recommended Posts