Jump to content

Catalogo sfogliabile


marco lei

Recommended Posts

Niente, con html box non mi permette neanche di salvare delle variazioni del modulo, qualunque modifica faccio e salvo ma torna alle impostazioni iniziali. Se provo a copiare dentro altri campi html mi inserisce solo uno spazio bianco

Link to comment
Share on other sites

Questo un esempio per inserire il box sopra 'Prodotti popolari'

File: ..themes/classic/modules/ps_featuredproducts/views/templates/hook/ps_featuredproducts.tpl

{*Catalogo prodotti 2021*}
<div>
  <h2 class="h2 products-section-title text-uppercase">
      {l s='Catalogo prodotti 2021'}
  </h2>
   <div class="products">
      <iframe src="http://www.re-box.it/catalogo/catalogo2021.htm#page/1" style="border:0px #ffffff none;" name="myiFrame" scrolling="no" frameborder="1" marginheight="0px" marginwidth="0px" height="400px" width="600px" allowfullscreen></iframe>
      <br /><br />
   </div>
</div>
{*Catalogo prodotti 2021*}

<section class="featured-products clearfix">
  <h2 class="h2 products-section-title text-uppercase">
    {l s='Popular Products' d='Shop.Theme.Catalog'}
  </h2>
  <div class="products">
    {foreach from=$products item="product"}
      {include file="catalog/_partials/miniatures/product.tpl" product=$product}
    {/foreach}
  </div>
  <a class="all-product-link float-xs-left float-md-right h4" href="{$allProductsLink}">
    {l s='All products' d='Shop.Theme.Catalog'}<i class="material-icons">&#xE315;</i>
  </a>
</section>

 

  • Thanks 1
Link to comment
Share on other sites

File: ...themes/classic/templates/cms/page.tpl

{extends file='page.tpl'}

{block name='page_title'}
  {$cms.meta_title}
{/block}

{block name='page_content_container'}
  <section id="content" class="page-content page-cms page-cms-{$cms.id}">

    {block name='cms_content'}
      {$cms.content nofilter}

      {*Catalogo prodotti 2021*}
      {if ($cms.id == 7)}

        <h2 class="h2 products-section-title text-uppercase">
            {l s='Catalogo prodotti 2021'}
        </h2>
         <div class="products">
            <iframe src="http://www.re-box.it/catalogo/catalogo2021.htm#page/1" style="border:0px #ffffff none;" name="myiFrame" scrolling="no" frameborder="1" marginheight="0px" marginwidth="0px" height="400px" width="600px" allowfullscreen></iframe>
            <br /><br />
         </div>

      {/if}
      {*Catalogo prodotti 2021*}

    {/block}

    {block name='hook_cms_dispute_information'}
      {hook h='displayCMSDisputeInformation'}
    {/block}

    {block name='hook_cms_print_button'}
      {hook h='displayCMSPrintButton'}
    {/block}

  </section>
{/block}

 

  • Thanks 1
Link to comment
Share on other sites

Niente, continua a mostrarmi sempre un rettangolo bianco e vuoto.

Il file page.tpl ora è diventato così:

{**
 * 2007-2019 PrestaShop and Contributors
 *
 * 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 https://www.prestashop.com for more information.
 *
 * @author    PrestaShop SA <[email protected]>
 * @copyright 2007-2019 PrestaShop SA and Contributors
 * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
 * International Registered Trademark & Property of PrestaShop SA
 *}
{extends file='page.tpl'}

{block name='page_title'}
  {$cms.meta_title}
{/block}

{block name='page_content_container'}
  <section id="content" class="page-content page-cms page-cms-{$cms.id}">

    {block name='cms_content'}
      {$cms.content nofilter}
    {/block}

    {block name='hook_cms_dispute_information'}
      {hook h='displayCMSDisputeInformation'}
    {/block}

    {block name='hook_cms_print_button'}
      {hook h='displayCMSPrintButton'}
    {/block}

  </section>
{/block}

{extends file='page.tpl'}

{block name='page_title'}
  {$cms.meta_title}
{/block}

{block name='page_content_container'}
  <section id="content" class="page-content page-cms page-cms-{$cms.id}">

    {block name='cms_content'}
      {$cms.content nofilter}

      {*Catalogo prodotti 2021*}
      {if ($cms.id == 7)}

        <h2 class="h2 products-section-title text-uppercase">
            {l s='Catalogo prodotti 2021'}
        </h2>
         <div class="products">
            <iframe src="http://www.re-box.it/catalogo/catalogo2021.htm#page/1" style="border:0px #ffffff none;" name="myiFrame" scrolling="no" frameborder="1" marginheight="0px" marginwidth="0px" height="400px" width="600px" allowfullscreen></iframe>
            <br /><br />
         </div>

      {/if}
      {*Catalogo prodotti 2021*}

    {/block}

    {block name='hook_cms_dispute_information'}
      {hook h='displayCMSDisputeInformation'}
    {/block}

    {block name='hook_cms_print_button'}
      {hook h='displayCMSPrintButton'}
    {/block}

  </section>
{/block}
 

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