Jump to content

Przeniesienie newslettera do stopki Presta 1.7.6


Recommended Posts

Witam chcę przenieść newsletter do stopki by wyświetlał się obok linków 

kod wygląda tak:

<div class="block_newsletter col-lg-8 col-12">
  <div class="row">
    <p id="block-newsletter-label" class="col-md-5 col-12">{l s='Get our latest news and special sales' d='Shop.Theme.Global'}</p>
    <div><class="col-md-5 col-12">
      <form action="{$urls.pages.index}#footer" method="post" class="needs-validation">
        <input type="hidden" name="action" value="0">
        <div class="input-group">
          <input class="col-md-3 col-12"
                  class="form-control{if isset($nw_error) and $nw_error} is-invalid{/if}"
                  placeholder="{l s='Your email address' d='Shop.Forms.Labels'}"
          <div class="input-group-append">
            <button class="btn btn-primary" type="submit" name="submitNewsletter"><span class="d-none d-sm-inline">{l s='Subscribe' d='Shop.Theme.Actions'}</span><span class="d-inline d-sm-none">{l s='OK' d='Shop.Theme.Actions'}</span></button>

        <div class="clearfix">
            {if $msg}
              <p class="alert mt-2 col-md-4 col-12"{if $nw_error}alert-danger{else}alert-success{/if}">
            {if $conditions}
              <p class="small mt-2 col-md-4 col-12">{$conditions}</p>
            {if isset($id_module)}
                {hook h='displayGDPRConsent' id_module=$id_module}

Zrzut ekranu 2021-02-11 135149.jpg

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...