naturakeratin Posted March 2, 2014 Share Posted March 2, 2014 Bonjour, Je travaille en local avec mamp pour la création d'un site. J'ai téléchargé un nouveau thème "ecostore". Je souhaitais faire disparaitre les champs meilleurs ventes, promotions, nouveaux produits, j'ai donc suivi les instructions ci-dessous: http://www.prestacoach.com/comment-retirer-les-liens-promotions-nouveaux-produits-et-meilleures-ventes-en-pied-de-page/ Résultat parfait. Tout allait bien jusqu'à ce que je modifie le code en dur dans: htdocs/prestashop/themes/ecostore/modules/blockcms.tpl Pour changer le nom "nos magasins" en "salons de coiffure", j'ai donc voulu changé "our stores" en "hairdressing salons".... Je me rends ensuite dans: performance => forcer la compilation à chaque appel Cache => X (pour le vider) Résultat: le front office est tout blanc.... Je ne sais pas si ça vient de ces dernières modif. (à mon sens oui, car avant le front office apparaissait parfaitement). Du coup j'ai re-changé les codes en "Our stores" et là toujours rien... le front office reste blanc... Merci pour votre aide. Ci-dessous le fichier en question: {* * 2007-2013 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (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: * http://opensource.org/licenses/afl-3.0.php * 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-2013 PrestaShop SA * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} {if $block == 1} <!-- Block CMS module --> {foreach from=$cms_titles key=cms_key item=cms_title} <div id="informations_block_left_{$cms_key}" class="block informations_block_left"> <h4><a href="{$cms_title.category_link}">{if !empty($cms_title.name)}{$cms_title.name}{else}{$cms_title.category_name}{/if}</a></h4> <ul class="block_content"> {foreach from=$cms_title.categories item=cms_page} {if isset($cms_page.link)}<li class="bullet"><b style="margin-left:2em;"> <a href="{$cms_page.link}" title="{$cms_page.name|escape:html:'UTF-8'}">{$cms_page.name|escape:html:'UTF-8'}</a> </b></li>{/if} {/foreach} {foreach from=$cms_title.cms item=cms_page} {if isset($cms_page.link)}<li><a href="{$cms_page.link}" title="{$cms_page.meta_title|escape:html:'UTF-8'}">{$cms_page.meta_title|escape:html:'UTF-8'}</a></li>{/if} {/foreach} {if $cms_title.display_store}<li><a href="{$link->getPageLink('stores')}" title="{l s=’Our stores’ mod='blockcms'}">{l s=‘Our stores’ mod='blockcms'}</a></li>{/if} </ul> </div> {/foreach} <!-- /Block CMS module --> {else} <!-- MODULE Block footer --> <div class="three columns"> <h4>{l s='Information' mod='blockcms'}</h4> <ul> {*{if !$PS_CATALOG_MODE}<li class="first_item"><a href="{$link->getPageLink('prices-drop')}" title="{l s='Specials' mod='blockcms'}">{l s='Specials' mod='blockcms'}</a></li>{/if} <li class="{if $PS_CATALOG_MODE}first_{/if}item"><a href="{$link->getPageLink('new-products')}" title="{l s='New products' mod='blockcms'}">{l s='New products' mod='blockcms'}</a></li> {if !$PS_CATALOG_MODE}<li class="item"><a href="{$link->getPageLink('best-sales')}" title="{l s='Top sellers' mod='blockcms'}">{l s='Top sellers' mod='blockcms'}</a></li>{/if}*} {if $display_stores_footer}<li class="item"><a href="{$link->getPageLink('stores')}" title="{l s='Our stores' mod='blockcms'}">{l s='Our stores' mod='blockcms'}</a></li>{/if} <li class="item"><a href="{$link->getPageLink($contact_url, true)}" title="{l s='Contact us' mod='blockcms'}">{l s='Contact us' mod='blockcms'}</a></li> {foreach from=$cmslinks item=cmslink} {if $cmslink.meta_title != ''} <li class="item"><a href="{$cmslink.link|addslashes}" title="{$cmslink.meta_title|escape:'htmlall':'UTF-8'}">{$cmslink.meta_title|escape:'htmlall':'UTF-8'}</a></li> {/if} {/foreach} <li><a href="{$link->getPageLink('sitemap')}" title="{l s='sitemap' mod='blockcms'}">{l s='Sitemap' mod='blockcms'}</a></li> {if $display_poweredby}<li class="last_item">{l s='Powered by' mod='blockcms'} <a class="_blank" href="http://www.prestashop.com">PrestaShop</a>™</li>{/if} </ul> {$footer_text} </div> <!-- /MODULE Block footer --> {/if} Link to comment Share on other sites More sharing options...
naturakeratin Posted March 2, 2014 Author Share Posted March 2, 2014 Voilà ce que je trouve comme erreur: Fatal error: Uncaught exception 'SmartyCompilerException' in /Applications/MAMP/htdocs/prestashop/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php:667 Stack trace: #0 /Applications/MAMP/htdocs/prestashop/tools/smarty/sysplugins/smarty_internal_templateparser.php(3144): Smarty_Internal_TemplateCompilerBase->trigger_template_error() #1 /Applications/MAMP/htdocs/prestashop/tools/smarty/sysplugins/smarty_internal_templateparser.php(3209): Smarty_Internal_Templateparser->yy_syntax_error(10, '?') #2 /Applications/MAMP/htdocs/prestashop/tools/smarty/sysplugins/smarty_internal_smartytemplatecompiler.php(105): Smarty_Internal_Templateparser->doParse(10, '?') #3 /Applications/MAMP/htdocs/prestashop/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php(206): Smarty_Internal_SmartyTemplateCompiler->doCompile('{*??* 2007-2013...') #4 /Applications/MAMP/htdocs/prestashop/tools/smarty/sysplugins/smarty_internal_template.php(187): Smarty_Internal_TemplateCompilerBase->compileTemplate(Object(Smarty_Internal_Temp in/Applications/MAMP/htdocs/prestashop/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 667 Merci d'avance pour votre aide. Link to comment Share on other sites More sharing options...
naturakeratin Posted March 2, 2014 Author Share Posted March 2, 2014 résolu :-) Link to comment Share on other sites More sharing options...
ToutPourLaLingerie Posted March 24, 2014 Share Posted March 24, 2014 Résolu comment ? merci 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