Jump to content
  • 0

Problem ze znalezieniem źródła INFORMACJE KONTAKTOWE


luka89waw1

Question

9 answers to this question

Recommended Posts

  • 0

Za oba elementy odpowiadają moduły, blok kontaktowy i formularz kontaktowy z tym ze w standardzie formularz nie posiada mapy więc albo masz tam jeszcze dodatkowy moduł albo przerobiony standardowy.

Teoretycznie zmiany powinny być możliwe  z panelu sklepu, natomiast gdyby nie to mam poradnik jak znaleźć właściwy plik https://web4ever.pl/blog/93_jak-znalezc-plik-do-zmiany-sposoby-wyszukiwan

  • Like 1
Link to comment
Share on other sites

  • 0

No właśnie patrzyłem moduły ale tam nie ma nic z tego. Jedynie co znalazłem w plikach to ps_contactinfo

Ale odnosi się do zakładki kontakt informacji które mam do edycji w panelu (oprócz maps google) . A to z głównej nie idzie znaleźć..+

Po plikach tylko class

 block-contact-title hidden-md-down

 

 

 

 

 

obraz_2022-05-17_125040894.png

Edited by luka89waw1 (see edit history)
Link to comment
Share on other sites

  • 0

Zobacz do pliku inter-kop.pl/public_html/themes/PRS070158/modules/contactform/views/templates/widget/contactform.tpl

to co pokazałeś w screenie warto by było poprawić tak aby w przyszłości można było zmienić tekst w tłumaczeniach, lub pobierać te informacje z konfiguracji sklepu.

  • Like 1
Link to comment
Share on other sites

  • 0

Tam się kończy kod na google maps. 

 

{**
 * 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 <contact@prestashop.com>
 * @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">
  <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">
        <div class="col-md-9 col-md-offset-3">
            <h3>{l s='Contact us' d='Shop.Theme.Global'}</h3>
        </div>
      </div>

      <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}

      <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>
	  
	  <div class="form-group row">
			<div class="col-md-3"></div>
				<div class="col-md-9">
					<div class="rodo-over" style="font-size:11px; text-align: justify; padding-right: 5px; color: #333333;">
						<div style="float:left; width:20px;"><input type="checkbox" required="" style="margin-right:5px;vertical-align: middle;"></div>
						<div>Wyrażam zgodę na przetwarzanie moich danych osobowych, administratorem Państwa danych osobowych jest "Inter-kop" Krzysztof Żebrowski, NIP: 118-003-96-93 z siedzibą pod adresem: ul. Kolejowa 307, 05-092 Sadowa. Dane osobowe przetwarzane będą wyłącznie w celu nawiązania z Państwem kontaktu oraz w prawnie usprawiedliwionych celach administratora danych. Podanie przez Państwa danych osobowych jest dobrowolne, ale też niezbędne do nawiązania z Państwem kontaktu. Szczegółowe informacje na temat przetwarzania Państwa danych osobowych mogą Państwo znaleźć w naszej <a href="/content/15-polityka-prywatnosci" target="_blank"><strong>Polityce prywatności</strong></a> na temat zasad przetwarzania danych osobowych.<span style="color:red;"> *</span></div>
					</div>
				</div>
		</div>
		
		
		<div class="form-group row">
			<div class="col-md-3"></div>
				<div class="col-md-9">
					<div style="font-size:11px; color: #333333;">
						<div style="float:left; width:20px;"><input type="checkbox" required="" style="margin-right:5px;vertical-align: middle;"></div>
						<div>Oświadczam, że zapoznałem/zapoznałam się z <a class="rodo-l" href="/content/3-regulamin-sklepu" target="_blank"><strong>Regulaminem sklepu</strong></a> i akceptuję jego treść.<span style="color:red;"> *</span></div>
					</div>
				</div>
		</div>

        {if isset($id_module)}
          <div class="form-group row">
            <div class="offset-md-3">
              {hook h='displayGDPRConsent' id_module=$id_module}
            </div>
          </div>
        {/if}

    </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='Send' d='Shop.Theme.Actions'}">
    </footer>
    {/if}

  </form>
</section>

<div class="map-google-footer">
<h2 class="map-headline">Jak do nas trafić</h2>
<div class="mapg"><iframe width="100%" height="450" style="border: 0;" src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d155990.41569275508!2d20.72988322836469!3d52.34593261460448!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x471eb6f89ce462ab%3A0x18f37a325e69138f!2sAdama%20Mickiewicza%2010%2C%2005-092%20Dziekan%C3%B3w%20Le%C5%9Bny!5e0!3m2!1spl!2spl!4v1612432153513!5m2!1spl!2spl" frameborder="0"></iframe></div>
</div>

Chyba odpada. Jeszcze mam linkblocks który odnosi się do dwóch kolumn na dole.  Ale ostatniej nie. 

 

Ogólnie zmiany robione w plikach nie robią efektów na stronie ;/ 

Edited by luka89waw1 (see edit history)
Link to comment
Share on other sites

  • 0

Może i ten plik, chociaż cięzko sprawdzić. Próbuje czyścić pamięć podręczną , zmieniać ustawienia  Smarty i zero efektów :P

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 license@prestashop.com 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 <contact@prestashop.com>
 * @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
*}

<div class="block-contact footer-block col-xs-12 col-sm-4 links wrapper">
   		<h3 class="text-uppercase h3 block-contact-title hidden-md-down"><a href="{$urls.pages.stores}">{l s='quick information' d='Shop.Theme.Global'}</a> </h3>
      
		<div class="title h3 hidden-lg-up" data-target="#block-contact_list" data-toggle="collapse">
		  {l s='Contact us' d='Shop.Theme.Global'}
		  <span class="pull-xs-right">
			  <span class="navbar-toggler collapse-icons">
				<i class="material-icons add">&#xE313;</i>
				<i class="material-icons remove">&#xE316;</i>
			  </span>
		  </span>
		</div>
	  
	  <ul id="block-contact_list" class="collapse">
	  <li class="address">
	  	<!-- <i class="material-icons">&#xE55F;</i> -->
	 <span class="contactdiv"> {l s='' d='Shop.Theme.Global'} {$contact_infos.address.address1 nofilter}</span>
	  </li>
	 
      {if $contact_infos.phone}
	   <li class="number">
       
        {* [1][/1] is for a HTML tag. *}
		<!-- <i class="material-icons">&#xE324;</i> -->
        {l s=' [1]%phone%[/1]'
          sprintf=[
          '[1]' => '<span>',
          '[/1]' => '</span>',
          '%phone%' => $contact_infos.phone
          ]
          d='Shop.Theme.Global'
        }
		</li>
      {/if}
      {if $contact_infos.fax}
	   <li>
       
        {* [1][/1] is for a HTML tag. *}
        {l
          s='Fax: [1]%fax%[/1]'
          sprintf=[
            '[1]' => '<span>',
            '[/1]' => '</span>',
            '%fax%' => $contact_infos.fax
          ]
          d='Shop.Theme.Global'
        }
		</li>
      {/if}
      {if $contact_infos.email}
	  <li class="email">
       
        {* [1][/1] is for a HTML tag. *}
		<!-- <i class="material-icons">&#xE554;</i> -->
    
        {l
          s='[1]%email%[/1]'
          sprintf=[
            '[1]' => '<a href="mailto:'|cat:$contact_infos.email|cat:'" class="dropdown">',
            '[/1]' => '</a>',
            '%email%' => $contact_infos.email
          ]
          d='Shop.Theme.Global'
        }
		</li>
      {/if}
	  </ul>
</div>

 

 

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...