WODP Posted July 8, 2010 Share Posted July 8, 2010 Hello.I'm turning to you for help. I don't know what else to do.In my site i have a newsletter integrated in footer: {l s=[b]'Newsletter' mod='blocknewsletter'[/b]} {if $msg} {$msg} {/if} <form action="{$base_dir}" method="post"> <input type="text" name="email" size="18" value="{if $value}{$value}{else}{l s='your e-mail' mod='blocknewsletter'}{/if}"> <input type="submit" value="Subscribe" class="button_small_cart" name="submitNewsletter" /> {l s='Subscribe' mod='blocknewsletter'} {l s='Unsubscribe' mod='blocknewsletter'} </form> Link to comment Share on other sites More sharing options...
WODP Posted July 8, 2010 Author Share Posted July 8, 2010 I have also tried modifying footer to this: But if i remove Newsletter block from left side it's not working either... {l s='Newsletter' mod='blocknewsletter'} {if $msg} {$msg} {/if} <form action="{$base_dir}" method="post"> <input type="text" name="email" size="18" value="vaš email"> <input type="submit" value="Subscribe" class="button_small_cart" name="submitNewsletter" /> Prijava Odjava <input type="submit" value="ok" class="button_mini" name="submitNewsletter" /> </form> Link to comment Share on other sites More sharing options...
WODP Posted July 8, 2010 Author Share Posted July 8, 2010 Come on, isn't there anyone who can help me or point me to right solution?I just want footer Newsletter to start working.Thank you Link to comment Share on other sites More sharing options...
razaro Posted July 8, 2010 Share Posted July 8, 2010 Have you tried to add following code to blocknewsletter.php function hookFooter($params) { return $this->hookLeftColumn($params); } and transplanting module to footer or did you just edit footer.tpl ? Link to comment Share on other sites More sharing options...
WODP Posted July 9, 2010 Author Share Posted July 9, 2010 hello razaro,thank you for your reply.Would you be so kind and check my site LinkIn theme there has already been modification as i was looking. If i have on left side visible Newsletter (Prijava na obvestila) than footer version is working ok (both are). I don't know how to hide from left side and that footer would be still working.What do you reccomend me? Link to comment Share on other sites More sharing options...
WODP Posted July 9, 2010 Author Share Posted July 9, 2010 razaro: i have tried more options.I get this:Picture error footerI get red nr.1, but i just want nr.2 to be working.W. Link to comment Share on other sites More sharing options...
razaro Posted July 9, 2010 Share Posted July 9, 2010 For n.2 it looks OK but that is just code that don't work because it is not connected to module block newsletter.So try following, image is in attachment.Backup footer.tpl and make changes as in picture.Delete code in red and in that place move {$HOOK_FOOTER}.In modules >> positions footer section make sure block newsletter comes before block various links.That you need to change css for block newsletter ,maybe just some classes, so that block look like deleted code.And it is some work but just compare styles and it should be OK. Link to comment Share on other sites More sharing options...
WODP Posted July 11, 2010 Author Share Posted July 11, 2010 Hello razaro,after trying your suggestion, i got Newsletter block hooked on footer, but it wasn't looking ok.Is it possible to set so that the newsletter already integrated in footer would work?Thank you for your efforts, really appreciate it!W. Link to comment Share on other sites More sharing options...
WODP Posted July 11, 2010 Author Share Posted July 11, 2010 This is footer Newsletter: {l s='Newsletter' mod='blocknewsletter'} {if $msg} {$msg} {/if} <form action="{$base_dir}" method="post"> <input type="text" name="email" size="18" value="{if $value}{$value}{else}{l s='your e-mail' mod='blocknewsletter'}{/if}"> <input type="submit" value="Subscribe" class="button_small_cart" name="submitNewsletter" /> {l s='Subscribe' mod='blocknewsletter'} {l s='Unsubscribe' mod='blocknewsletter'} Link to comment Share on other sites More sharing options...
isa4ever Posted August 26, 2010 Share Posted August 26, 2010 Hello,Have you found a solution because I have the same problem?I. Link to comment Share on other sites More sharing options...
sebastiann Posted October 1, 2010 Share Posted October 1, 2010 Hello!Perhaps it is a late answer but I did it in this way:Copy the code for newsletter from the footer and insert it in and replace the excisting code in the blocknewsletter.tpl, change the hook footer as razaro mentioned before. It worked for me and I got the same design. 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