marco lei Posted April 9, 2021 Share Posted April 9, 2021 Buongiorno, io vorrei inserire il mio catalogo sfogliabile nella home page. Il catalogo è una pagina html già composta. Grazie per l'aiuto Link to comment Share on other sites More sharing options...
Giuseppe C. Posted April 12, 2021 Share Posted April 12, 2021 Ciao, prova con questi: html block free content box 1 Link to comment Share on other sites More sharing options...
marco lei Posted April 12, 2021 Author Share Posted April 12, 2021 Ti ringrazio ma come faccio a inserire all'interno il catalogo che è già una pagina composta? Lo trovi qui www.re-box.it/catalogo/catalogo2021.htm Grazie mille Link to comment Share on other sites More sharing options...
Giuseppe C. Posted April 12, 2021 Share Posted April 12, 2021 <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> 1 Link to comment Share on other sites More sharing options...
marco lei Posted April 12, 2021 Author Share Posted April 12, 2021 Ti ringrazio moltissimo ma non funziona, viene un campo bianco Link to comment Share on other sites More sharing options...
Giuseppe C. Posted April 12, 2021 Share Posted April 12, 2021 Per favore mi descrivi la procedura eseguita? 1 Link to comment Share on other sites More sharing options...
marco lei Posted April 12, 2021 Author Share Posted April 12, 2021 Ho inserito quello che tu mi hai mandato nel campo CODE Link to comment Share on other sites More sharing options...
Giuseppe C. Posted April 12, 2021 Share Posted April 12, 2021 Prova a controllare in Parametri Negozio->Generale se "Abilita iframe nei campi HTML" è abilitato 1 Link to comment Share on other sites More sharing options...
marco lei Posted April 12, 2021 Author Share Posted April 12, 2021 Si è abilitato Link to comment Share on other sites More sharing options...
Giuseppe C. Posted April 13, 2021 Share Posted April 13, 2021 Ho provato è funziona senza problemi. 1 Link to comment Share on other sites More sharing options...
marco lei Posted April 15, 2021 Author Share Posted April 15, 2021 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 More sharing options...
Giuseppe C. Posted April 15, 2021 Share Posted April 15, 2021 In Prestashop non è possibile, tramite l'editor html, inserire ifrane. Per questo motivo non sono salvate le impostazioni. Riesci a modificare dei file via FTP? 1 Link to comment Share on other sites More sharing options...
marco lei Posted April 15, 2021 Author Share Posted April 15, 2021 Se mi dici cosa si Link to comment Share on other sites More sharing options...
Giuseppe C. Posted April 15, 2021 Share Posted April 15, 2021 OK, indicare il link del tuo sito? In questo modo controllo i moduli presenti in home 1 Link to comment Share on other sites More sharing options...
marco lei Posted April 15, 2021 Author Share Posted April 15, 2021 shop1.re-box.it Link to comment Share on other sites More sharing options...
Giuseppe C. Posted April 15, 2021 Share Posted April 15, 2021 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"></i> </a> </section> 1 Link to comment Share on other sites More sharing options...
marco lei Posted April 15, 2021 Author Share Posted April 15, 2021 e se volessi inserirlo qui? https://shop1.re-box.it/content/7-catalogo Link to comment Share on other sites More sharing options...
Giuseppe C. Posted April 15, 2021 Share Posted April 15, 2021 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} 1 Link to comment Share on other sites More sharing options...
marco lei Posted April 15, 2021 Author Share Posted April 15, 2021 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now