jhd Posted September 9, 2014 Share Posted September 9, 2014 Hello!, I want to add the Newsletter module in DisplayFooter(Footer) but I get this error: This module can not be transplanted to this hook. Module: Newsletter Insert Hook in: DisplayFooter(Footer) Do I have to add some code to a module? Best regards Link to comment Share on other sites More sharing options...
vekia Posted September 10, 2014 Share Posted September 10, 2014 prestashop by default has got 2 newsletter modules - first one is related to stats section (and appears only there) - second one to display block on front office of your website im affraid that you're trying to transplant first one, which is not compatibile with hook you mentioned - because this module creates only statistics feature in back office which one you're transplanting? 1 Link to comment Share on other sites More sharing options...
jhd Posted September 12, 2014 Author Share Posted September 12, 2014 Solved, Thanks very much Milos! But now not show the default style. What is the file that style to the newsletter block? Best regards http://imgur.com/MzXtImt Link to comment Share on other sites More sharing options...
jhd Posted September 12, 2014 Author Share Posted September 12, 2014 (edited) Hello, Thanks you, but the code looks same that 1.6.0.9 version. What else can it be? PD: Yes!, is it. This is more so http://imgur.com/pWU60Jx Edited September 12, 2014 by jhd (see edit history) Link to comment Share on other sites More sharing options...
jhd Posted September 12, 2014 Author Share Posted September 12, 2014 Thanks, I overwrote the entire template. But it's the same. I try to look like the original version. I uninstalled a module that changed all this and now I do not know how to solve. http://imgur.com/s2AcJ5d Best regards Link to comment Share on other sites More sharing options...
jhd Posted September 12, 2014 Author Share Posted September 12, 2014 (edited) I overwrote the entire template. But not work. Also this directory: scp -r /home/user/prestashop/modules/blocknewsletter/ /var/www/html/domain.com/modules/ Edited September 12, 2014 by jhd (see edit history) Link to comment Share on other sites More sharing options...
jhd Posted September 12, 2014 Author Share Posted September 12, 2014 (edited) Cache is clean. Also Cache is disabled. If I change the css code i can see the changes in browser. /* Block newsletter */ #columns #newsletter_block_left .form-group { margin-bottom: 0; } #columns #newsletter_block_left .form-group .form-control { max-width: 222px; display: inline-block; margin-right: 6px; } @media (min-width: 768px) and (max-width: 1199px) { #columns #newsletter_block_left .form-group .form-control { margin-bottom: 10px; margin-right: 0; } } #columns #newsletter_block_left .success_inline, #columns #newsletter_block_left .warning_inline { text-align: left; padding: 1px 0 0 0; margin-bottom: -19px; } #columns #newsletter_block_left .success_inline { color: #418B19; } #columns #newsletter_block_left .warning_inline { color: #f13340; } /* Block newsletter footer */ #footer #newsletter_block_left { overflow: hidden; width: 50%; float: left; padding: 13px 15px 7px 15px; margin-bottom: 0; } @media (max-width: 767px) { #footer #newsletter_block_left { width: 100%; } } #footer #newsletter_block_left h4 { background: none; float: left; padding: 7px 16px 5px 0; text-transform: none; font-size: 21px; line-height: 25px; border: none; } #footer #newsletter_block_left h4:after { display: none; } #footer #newsletter_block_left .block_content { overflow: hidden; } #footer #newsletter_block_left .form-group { margin-bottom: 0; } #footer #newsletter_block_left .form-group .form-control { height: 45px; line-height: 30px; max-width: 267px; background: #3c3c3c; border-color: #515151; color: white; padding: 5px 43px 5px 12px; display: inline-block; float: left; } #footer #newsletter_block_left .form-group .form-control:focus { -webkit-box-shadow: black 0px 0px 0px; -moz-box-shadow: black 0px 0px 0px; box-shadow: black 0px 0px 0px; } #footer #newsletter_block_left .form-group .button-small { ; border: none; background: none; text-align: center; color: #908f8f; padding: 8px; } #footer #newsletter_block_left .form-group .button-small:before { content: "\f138"; font-family: "FontAwesome"; font-size: 28px; line-height: 28px; } #footer #newsletter_block_left .form-group .button-small:hover { color: white !important; } #footer #newsletter_block_left .form-group .button-small span { display: none; } #footer #newsletter_block_left .warning_inline { display: block; color: #f13340; font-size: 13px; line-height: 26px; clear: both; } @media (min-width: 1200px) { #footer #newsletter_block_left .warning_inline { display: inline-block; position: relative; top: -35px; margin-bottom: -35px; left: 15px; clear: none; } } #footer #newsletter_block_left .newsletter-input { max-width: 300px !important; } Edited September 12, 2014 by jhd (see edit history) Link to comment Share on other sites More sharing options...
jhd Posted September 12, 2014 Author Share Posted September 12, 2014 This http://imgur.com/G8eb5Wp Link to comment Share on other sites More sharing options...
jhd Posted September 12, 2014 Author Share Posted September 12, 2014 (edited) If I do this: root@server:/var/www/domain.com/themes/default-bootstrap/css/modules/homeslider# mv homeslider.css homeslider.css2 Then Home Slider not work. Ok, Well. But If I do this: root@server:/var/www/domain.com/themes/default-bootstrap/css/modules/blocknewsletter# mv blocknewsletter.css blocknewsletter.css2 Nothing happens. The style for the blockNewsletter, not being applied. Edited September 12, 2014 by jhd (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted September 12, 2014 Share Posted September 12, 2014 any chance to see it live? Link to comment Share on other sites More sharing options...
jhd Posted September 13, 2014 Author Share Posted September 13, 2014 (edited) Of course: www.meganautic.com @Statictic: It is faster the terminal and more handy. (4 me, I always use the terminal, My server not have FTP server installed, although it is possible use SFTP, but don't like me) Best regards Edited September 13, 2014 by jhd (see edit history) Link to comment Share on other sites More sharing options...
jhd Posted September 13, 2014 Author Share Posted September 13, 2014 (edited) Thanks fot the reply. Yes, is default theme, but blocknewsletter not show well. PD: SFTP is FTP, Secure FTP, is possible to use with Filezilla or other FTP client that support SFTP. But I do not think that will solve the problem. If I knew why blocknewsletter style is not applied, could solve the problem with any protocol (ssh, sftp, ftp). Edited September 13, 2014 by jhd (see edit history) Link to comment Share on other sites More sharing options...
jhd Posted September 13, 2014 Author Share Posted September 13, 2014 Statictic no te molestes, plis . Claro que me ayudas y te lo agradezco mucho. Filezilla works with Gnu/Linux commands, I prefer to use the terminal. Best regards Link to comment Share on other sites More sharing options...
jhd Posted September 14, 2014 Author Share Posted September 14, 2014 Hello! Solved! Preferences --> Themes --> Add Theme --> Create a new template --> Fill the fields -- Select 'Use this theme as model' (default-bootstrap) --> Save. Thanks very much for the helps! Best regards Link to comment Share on other sites More sharing options...
vekia Posted September 14, 2014 Share Posted September 14, 2014 thank you for sharing solution to this problem i marked your answer as a solution and whole topic as [solved] with regards, Milos Link to comment Share on other sites More sharing options...
Recommended Posts