Jump to content

Edit History

993914_1508427817

993914_1508427817

1 hour ago, endriu107 said:

Włącz tryb debugowania w sklepie, odśwież stronę kliknij prawym przyciskiem na numer wybierz zbadaj element i w konsoli nad tą linią powinien pojawić się komentarz z ścieżką do pliku.

Teraz już zgłupiałem ... ścieżka to _szablon/modules/contactform/views/templates/widget/contactform.tpl

natomiast tam nic nie ma ani numeru ani tych tekstów, wszystko jest po angielsku i zupelnie co innego, zaczynam podejrzeważ że kolega wyżej miał racje że to gdzieś w tłumaczeniu musi być ?

@edit poszperałem w tłumaczeniach, odnalazłem prawie wszystkie teksty natomiast numerów telefonu nie ...

 

contactform wygląda w ten sposb 

Quote

{**
 * 2007-2017 PrestaShop
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License 3.0 (AFL-3.0)
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * https://opensource.org/licenses/AFL-3.0
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to [email protected] so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
 * versions in the future. If you wish to customize PrestaShop for your
 * needs please refer to http://www.prestashop.com for more information.
 *
 * @author    PrestaShop SA <[email protected]>
 * @copyright 2007-2017 PrestaShop SA
 * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
 * International Registered Trademark & Property of PrestaShop SA
 *}
 
<section class="contact-form">
    
    <div class="title clearfix">
        <h3 class="contact-title">{l s='Contact us' d='Shop.Theme.Global'}</h3>
        <p>
            {l s='We love to hear from you! Please let us know if you have any questions or concerns and we will get back to you within 2 business days. Thanks!' d='Shop.Theme.Global'}
        </p>
    </div>
    
    <form action="{$urls.pages.contact}" method="post" {if $contact.allow_file_upload}enctype="multipart/form-data"{/if}>
        {if $notifications}
          <div class="col-xs-12 alert {if $notifications.nw_error}alert-danger{else}alert-success{/if}">
            <ul>
              {foreach $notifications.messages as $notif}
                <li>{$notif}</li>
              {/foreach}
            </ul>
          </div>
        {/if}

    {if !$notifications || $notifications.nw_error}
      <section class="form-fields">
        <div class="form-group row">
          <label class="col-md-3 form-control-label">{l s='Subject' d='Shop.Forms.Labels'}</label>
          <div class="col-md-6">
            <select name="id_contact" class="form-control form-control-select">
              {foreach from=$contact.contacts item=contact_elt}
                <option value="{$contact_elt.id_contact}">{$contact_elt.name}</option>
              {/foreach}
            </select>
          </div>
        </div>

        <div class="form-group row">
          <label class="col-md-3 form-control-label">{l s='Email address' d='Shop.Forms.Labels'}</label>
          <div class="col-md-6">
            <input
              class="form-control"
              name="from"
              type="email"
              value="{$contact.email}"
              placeholder="{l s='[email protected]' d='Shop.Forms.Help'}"
            >
          </div>
        </div>

        {if $contact.orders}
          <div class="form-group row">
            <label class="col-md-3 form-control-label">{l s='Order reference' d='Shop.Forms.Labels'}</label>
            <div class="col-md-6">
              <select name="id_order" class="form-control form-control-select">
                <option value="">{l s='Select reference' d='Shop.Forms.Help'}</option>
                {foreach from=$contact.orders item=order}
                  <option value="{$order.id_order}">{$order.reference}</option>
                {/foreach}
              </select>
            </div>
            <span class="col-md-3 form-control-comment">                               
              {l s='optional' d='Shop.Forms.Help'}
            </span>
          </div>
        {/if}

        {if $contact.allow_file_upload}
          <div class="form-group row">
            <label class="col-md-3 form-control-label">{l s='Attachment' d='Shop.Forms.Labels'}</label>
            <div class="col-md-6">
              <input type="file" name="fileUpload" class="filestyle" data-buttonText="{l s='Choose file' d='Shop.Theme.Actions'}">                                                
            </div>
            <span class="col-md-3 form-control-comment">
              {l s='optional' d='Shop.Forms.Help'}
            </span>
          </div>
        {/if}

        <div class="form-group row">
          <label class="col-md-3 form-control-label">{l s='Message' d='Shop.Forms.Labels'}</label>
          <div class="col-md-9">
            <textarea
              class="form-control"
              name="message"
              placeholder="{l s='How can we help?' d='Shop.Forms.Help'}"
              rows="3"
            >{if $contact.message}{$contact.message}{/if}</textarea>
          </div>
        </div>

      </section>

      <footer class="form-footer text-sm-right">
        <style>
          input[name=url] {
            display: none !important;
          }
        </style>
        <input type="text" name="url" value=""/>
        <input type="hidden" name="token" value="{$token}" />
        <input class="btn btn-primary" type="submit" name="submitMessage" value="{l s='Submit' d='Shop.Theme.Actions'}">
      </footer>
    {/if}
  </form>
</section>
 

 

993914_1508427817

993914_1508427817

1 hour ago, endriu107 said:

Włącz tryb debugowania w sklepie, odśwież stronę kliknij prawym przyciskiem na numer wybierz zbadaj element i w konsoli nad tą linią powinien pojawić się komentarz z ścieżką do pliku.

Teraz już zgłupiałem ... ścieżka to _szablon/modules/contactform/views/templates/widget/contactform.tpl

natomiast tam nic nie ma ani numeru ani tych tekstów, wszystko jest po angielsku i zupelnie co innego, zaczynam podejrzeważ że kolega wyżej miał racje że to gdzieś w tłumaczeniu musi być ?

@edit poszperałem w tłumaczeniach, odnalazłem prawie wszystkie teksty natomiast numerów telefonu nie ...

993914_1508427817

993914_1508427817

54 minutes ago, endriu107 said:

Włącz tryb debugowania w sklepie, odśwież stronę kliknij prawym przyciskiem na numer wybierz zbadaj element i w konsoli nad tą linią powinien pojawić się komentarz z ścieżką do pliku.

Teraz już zgłupiałem ... ścieżka to _szablon/modules/contactform/views/templates/widget/contactform.tpl

natomiast tam nic nie ma ani numeru ani tych tekstów, wszystko jest po angielsku i zupelnie co innego, zaczynam podejrzeważ że kolega wyżej miał racje że to gdzieś w tłumaczeniu musi być ?

×
×
  • Create New...