News and emails subs. - buttons to add and remove

Hello I'm begginer, please help,



I would like ask about subscription for customers.



I want create two buttons in store:



[text area]Enter e-mail address[/textarea]

[button]Add to subscription[/button]

[button]Remove from subscription[/button]



Adding and removing must be with activation link which is will sent on e-mail address.



Below is code what i already done in file …\blocks\static_templates\subscription.tpl for addon “news_and_emails”:


```php

{** block-description:tmpl_subscription **}

{if $addons.news_and_emails}






{$lang.email}

{** {include file="buttons/go.tpl" but_name="newsletters.add_subscriber" alt=$lang.go} **}






{/if}
```

Thank you for all answers