Jean-Luc BREDO Posted February 17, 2018 Share Posted February 17, 2018 Bonjour, est il possible d'ajouter du texte à l'endroit du rectangle rouge sur l'image ? car je ne trouve pas où cela doit se faire si c'est possible . et est il possible de changer le lien du logo de l'entête ? ou c'est d'office le lien de la boutique Prestachop ? moi j'ai un site sur lequel il y a le lien vers la boutique et j'aurais voulu mettre le lien vers mon site sur le logo ... ... Link to comment Share on other sites More sharing options...
Ced17 Posted February 17, 2018 Share Posted February 17, 2018 Bonsoir, Pour le texte en rouge, ça va être compliqué, pour le lien du logo, il est possible de le changer oui comme ceci \themes\classic\templates\_partials\header.tpl ligne 64 repérer l'attribut href du lien et mettre votre URL a la place. Link to comment Share on other sites More sharing options...
Jean-Luc BREDO Posted February 17, 2018 Author Share Posted February 17, 2018 merci pour l'info , mais pour arriver au détail comme sur votre photo, comment dois je faire ? Link to comment Share on other sites More sharing options...
Ced17 Posted February 17, 2018 Share Posted February 17, 2018 votre header est un peu en vrac je dirais, logo à gauche et icone connexion et panier décalé vers le bas. Quelle modif avez-vous fait dernièrement? Link to comment Share on other sites More sharing options...
Ced17 Posted February 17, 2018 Share Posted February 17, 2018 il y a 10 minutes, Ced17 a dit : \themes\classic\templates\_partials\header.tpl ligne 64 suivez ceci via votre ftp Link to comment Share on other sites More sharing options...
Jean-Luc BREDO Posted February 17, 2018 Author Share Posted February 17, 2018 je fais beaucoup de modification pour l'instant vu que j'ai débuté samedi passé et que je ne suis pas informaticien, je dois faire des essais il me semblais bien qu'il y avait eu du changement la au dessus, mais je ne saurais vous dire quand cela est arrivé ... Link to comment Share on other sites More sharing options...
Jean-Luc BREDO Posted February 17, 2018 Author Share Posted February 17, 2018 ftp ? je suppose que c'est via un programme comme Macromedia ou similaire? mais je fais toute les modification via le site prestashop comme sur l'image Link to comment Share on other sites More sharing options...
Ced17 Posted February 17, 2018 Share Posted February 17, 2018 Via filezilla ou autre plutôt, c'est ce qui permet de transférer des fichier sur votre espace web chez votre hébergeur. Link to comment Share on other sites More sharing options...
Jean-Luc BREDO Posted February 17, 2018 Author Share Posted February 17, 2018 j'ai modifié comme suit avec fllezilla comme ci dessous mais cela n'a pas l'air de fonctionner <div class="col-md-2 hidden-sm-down" id="_desktop_logo"> <a href="{https://agri-farm.be}"> <img class="logo img-responsive" src="{$shop.logo}" alt="{$shop.name}"> Link to comment Share on other sites More sharing options...
Ced17 Posted February 17, 2018 Share Posted February 17, 2018 Vider vos caches presta et navigateur Link to comment Share on other sites More sharing options...
Ced17 Posted February 17, 2018 Share Posted February 17, 2018 Et également bien régler dans performances comme ci: Link to comment Share on other sites More sharing options...
Jean-Luc BREDO Posted February 17, 2018 Author Share Posted February 17, 2018 j'ai le message suivant maintenant !!! Erreur HTTP 500 Étrange... Le site web ne parvient pas à afficher cette page Il se peut que le site soit en cours de maintenance ou qu’une erreur de programmation se soit produite. Link to comment Share on other sites More sharing options...
Ced17 Posted February 17, 2018 Share Posted February 17, 2018 Vous avez fait vider le cache et depuis erreur 500? Link to comment Share on other sites More sharing options...
Jean-Luc BREDO Posted February 17, 2018 Author Share Posted February 17, 2018 oui ... Link to comment Share on other sites More sharing options...
Ced17 Posted February 17, 2018 Share Posted February 17, 2018 J'ai fait la même modif et cela fonctionne avec n’importe quel URL Link to comment Share on other sites More sharing options...
Ced17 Posted February 17, 2018 Share Posted February 17, 2018 Et votre lien fonctionne chez moi!! Link to comment Share on other sites More sharing options...
Ced17 Posted February 17, 2018 Share Posted February 17, 2018 (edited) Pourquoi ne pas attribuer votre domaine https://agri-farm.be directement sur votre presta?au lieu de passer par votre wordpress du coup il n'y a pas besoin de faire cette modif. Je comprends pas tout ce que vous voulez là! Edited February 17, 2018 by Ced17 (see edit history) Link to comment Share on other sites More sharing options...
Ced17 Posted February 17, 2018 Share Posted February 17, 2018 ??? Link to comment Share on other sites More sharing options...
Jean-Luc BREDO Posted February 17, 2018 Author Share Posted February 17, 2018 désolé je viens de redémarre mon ordi , on ne sait jamais... mais toujours l'erreur à partir de mon site de départ , moi cela ne fonctionne pas ... https://agri-farm.be/ il est vrai qu'au départ, je pensais démarré directement sur la boutique, mais une erreur de configuration au début m'a amené a crée une page d'accueil que j'ai aussi développé pour donner d'autres informations autres que la boutique... ce que je préfère maintenant et pour le futur... Link to comment Share on other sites More sharing options...
Jean-Luc BREDO Posted February 17, 2018 Author Share Posted February 17, 2018 si vous voulez vous connecter sur mon ordi par teamweiwer , c'est possible ... Link to comment Share on other sites More sharing options...
Ced17 Posted February 17, 2018 Share Posted February 17, 2018 Je n'ai pas teamviewer sinon refaite la modif a l'envers et remettez comme c’était pour voir. En gros, vous préférez garder pour votre domaine la page d'infos et de redirection vers la boutique prestashop? Link to comment Share on other sites More sharing options...
Ced17 Posted February 17, 2018 Share Posted February 17, 2018 et votre site presta et bien en erreur 500 mais je ne vois vraiment pas pourquoi?? Link to comment Share on other sites More sharing options...
Jean-Luc BREDO Posted February 17, 2018 Author Share Posted February 17, 2018 j'ai remis comme c'était au départ , mais rien ne change ... je ne me suis pas trompé ci dessous ? je verrai demain avec l'hébergeur LWS car j'ai vu sur internet que cette erreur c'était souvent un problème sur le serveur je mettrai le résultat demain <div class="col-md-2 hidden-sm-down" id="_desktop_logo"> <a href="{$urls.base url}"> <img class="logo img-responsive" src="{$shop.logo}" alt="{$shop.name}"> </a> Link to comment Share on other sites More sharing options...
Ced17 Posted February 17, 2018 Share Posted February 17, 2018 Sinon activer le mode debug de votre presta pour voir quelle erreur se produit \config\defines.inc.php /* Debug only */ if (!defined('_PS_MODE_DEV_')) { define('_PS_MODE_DEV_', false); Passer 'false' en 'true' et remettre après false une fois fini. } Link to comment Share on other sites More sharing options...
Jean-Luc BREDO Posted February 17, 2018 Author Share Posted February 17, 2018 Whoops, looks like something went wrong. 1/1 SmartyCompilerException in smarty_internal_templatecompilerbase.php line 62: Syntax error in template "/htdocs/prestashop/themes/classic/templates/_partials/header.tpl" on line 62 "<a href="{$urls.base url}">" too many shorthand attributes in smarty_internal_templatecompilerbase.php line 62 at Smarty_Internal_TemplateCompilerBase->trigger_template_error('too many shorthand attributes', '62') in smarty_internal_compilebase.php line 71 at Smarty_Internal_CompileBase->getAttributes(object(Smarty_Internal_SmartyTemplateCompiler), array(''url'')) in smarty_internal_compile_private_print_expression.php line 47 at Smarty_Internal_Compile_Private_Print_Expression->compile(array(''url''), object(Smarty_Internal_SmartyTemplateCompiler), array('value' => '$_smarty_tpl->tpl_vars['urls']->value['base']'), null, null) in smarty_internal_templatecompilerbase.php line 580 at Smarty_Internal_TemplateCompilerBase->callTagCompiler('private_print_expression', array(''url''), array('value' => '$_smarty_tpl->tpl_vars['urls']->value['base']')) in smarty_internal_templatecompilerbase.php line 349 at Smarty_Internal_TemplateCompilerBase->compileTag('private_print_expression', array(''url''), array('value' => '$_smarty_tpl->tpl_vars['urls']->value['base']')) in smarty_internal_templateparser.php line 3534 at Smarty_Internal_Templateparser->yy_r30() in smarty_internal_templateparser.php line 4392 at Smarty_Internal_Templateparser->yy_reduce('30') in smarty_internal_templateparser.php line 4493 at Smarty_Internal_Templateparser->doParse('3', '}') in smarty_internal_smartytemplatecompiler.php line 118 at Smarty_Internal_SmartyTemplateCompiler->doCompile('{** * 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 *} {block name='header_banner'} <div class="header-banner"> {hook h='displayBanner'} </div> {/block} {block name='header_nav'} <nav class="header-nav"> <div class="container"> <div class="row"> <div class="hidden-sm-down"> <div class="col-md-4 col-xs-12"> {hook h='displayNav1'} </div> <div class="col-md-8 right-nav"> {hook h='displayNav2'} </div> </div> <div class="hidden-md-up text-sm-center mobile"> <div class="float-xs-left" id="menu-icon"> <i class="material-icons d-inline"></i> </div> <div class="float-xs-right" id="_mobile_cart"></div> <div class="float-xs-right" id="_mobile_user_info"></div> <div class="top-logo" id="_mobile_logo"></div> <div class="clearfix"></div> </div> </div> </div> </nav> {/block} {block name='header_top'} <div class="header-top"> <div class="container"> <div class="row"> <div class="col-md-2 hidden-sm-down" id="_desktop_logo"> <a href="{$urls.base url}"> <img class="logo img-responsive" src="{$shop.logo}" alt="{$shop.name}"> </a> </div> <div class="col-md-10 col-sm-12 position-static"> <div class="row"> {hook h='displayTop'} <div class="clearfix"></div> </div> </div> </div> <div id="mobile_top_menu_wrapper" class="row hidden-md-up" style="display:none;"> <div class="js-top-menu mobile" id="_mobile_top_menu"></div> <div class="js-top-menu-bottom"> <div id="_mobile_currency_selector"></div> <div id="_mobile_language_selector"></div> <div id="_mobile_contact_link"></div> </div> </div> </div> </div> {hook h='displayNavFullWidth'} {/block} ') in smarty_internal_templatecompilerbase.php line 283 at Smarty_Internal_TemplateCompilerBase->compileTemplate(object(Smarty_Dev_Template), false) in smarty_internal_compile_include.php line 190 at Smarty_Internal_Compile_Include->compile(array(array('file' => ''_partials/header.tpl'')), object(Smarty_Internal_SmartyTemplateCompiler), array(), null, null) in smarty_internal_templatecompilerbase.php line 580 at Smarty_Internal_TemplateCompilerBase->callTagCompiler('include', array(array('file' => ''_partials/header.tpl'')), array()) in smarty_internal_templatecompilerbase.php line 349 at Smarty_Internal_TemplateCompilerBase->compileTag('include', array(array('file' => ''_partials/header.tpl''))) in smarty_internal_templateparser.php line 3564 at Smarty_Internal_Templateparser->yy_r37() in smarty_internal_templateparser.php line 4392 at Smarty_Internal_Templateparser->yy_reduce('37') in smarty_internal_templateparser.php line 4493 at Smarty_Internal_Templateparser->doParse('3', '}') in smarty_internal_smartytemplatecompiler.php line 118 at Smarty_Internal_SmartyTemplateCompiler->doCompile('{** * 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 *} <!doctype html> <html lang="{$language.iso_code}"> <head> {block name='head'} {include file='_partials/head.tpl'} {/block} </head> <body id="{$page.page_name}" class="{$page.body_classes|classnames}"> {block name='hook_after_body_opening_tag'} {hook h='displayAfterBodyOpeningTag'} {/block} <main> {block name='product_activation'} {include file='catalog/_partials/product-activation.tpl'} {/block} <header id="header"> {block name='header'} {include file='_partials/header.tpl'} {/block} </header> {block name='notifications'} {include file='_partials/notifications.tpl'} {/block} <section id="wrapper"> {hook h="displayWrapperTop"} <div class="container"> {block name='breadcrumb'} {include file='_partials/breadcrumb.tpl'} {/block} {block name="left_column"} <div id="left-column" class="col-xs-12 col-sm-4 col-md-3"> {if $page.page_name == 'product'} {hook h='displayLeftColumnProduct'} {else} {hook h="displayLeftColumn"} {/if} </div> {/block} {block name="content_wrapper"} <div id="content-wrapper" class="left-column right-column col-sm-4 col-md-6"> {hook h="displayContentWrapperTop"} {block name="content"} <p>Hello world! This is HTML5 Boilerplate.</p> {/block} {hook h="displayContentWrapperBottom"} </div> {/block} {block name="right_column"} <div id="right-column" class="col-xs-12 col-sm-4 col-md-3"> {if $page.page_name == 'product'} {hook h='displayRightColumnProduct'} {else} {hook h="displayRightColumn"} {/if} </div> {/block} </div> {hook h="displayWrapperBottom"} </section> <footer id="footer"> {block name="footer"} {include file="_partials/footer.tpl"} {/block} </footer> </main> {block name='javascript_bottom'} {include file="_partials/javascript.tpl" javascript=$javascript.bottom} {/block} {block name='hook_before_body_closing_tag'} {hook h='displayBeforeBodyClosingTag'} {/block} </body> </html> ') in smarty_internal_templatecompilerbase.php line 283 at Smarty_Internal_TemplateCompilerBase->compileTemplate(object(Smarty_Dev_Template)) in smarty_internal_template.php line 197 at Smarty_Internal_Template->compileTemplateSource() in smarty_internal_templatebase.php line 155 at Smarty_Internal_TemplateBase->fetch('index.tpl', null, 'layouts/layout-full-width.tpl', object(SmartyDev), false, true, false) in SmartyDev.php line 41 at SmartyDev->fetch('index.tpl', null, 'layouts/layout-full-width.tpl') in FrontController.php line 671 at FrontControllerCore->smartyOutputContent('index.tpl') in FrontController.php line 655 at FrontControllerCore->display() in Controller.php line 225 at ControllerCore->run() in Dispatcher.php line 379 at DispatcherCore->dispatch() in index.php line 28 Link to comment Share on other sites More sharing options...
Ced17 Posted February 17, 2018 Share Posted February 17, 2018 il y a effectivement une erreur ici dans le code: {$urls.base_ url} il manque le _ dans votre code Link to comment Share on other sites More sharing options...
Ced17 Posted February 17, 2018 Share Posted February 17, 2018 Qu'avez-vous mis dans seo/url de votre boutique presta? Link to comment Share on other sites More sharing options...
Jean-Luc BREDO Posted February 17, 2018 Author Share Posted February 17, 2018 youppie, cela remarche ... bon je laisse comme cela ... SEO/URL ? comme sur l'image ? Link to comment Share on other sites More sharing options...
Ced17 Posted February 17, 2018 Share Posted February 17, 2018 Cette image également empêche le petit cadenas vert sécurisé en haut allez dans cms et mettez la en https. Link to comment Share on other sites More sharing options...
Ced17 Posted February 17, 2018 Share Posted February 17, 2018 Pensez à désactiver le mode debug Link to comment Share on other sites More sharing options...
Jean-Luc BREDO Posted February 17, 2018 Author Share Posted February 17, 2018 CMS ? j'ai remis false ... Link to comment Share on other sites More sharing options...
Ced17 Posted February 17, 2018 Share Posted February 17, 2018 Cette image est dans votre bloc custom text Link to comment Share on other sites More sharing options...
Ced17 Posted February 17, 2018 Share Posted February 17, 2018 Comment avez-vous pu attribuer votre domaine a un site wordpress et presta en même temps, l'erreur viens de la surement Link to comment Share on other sites More sharing options...
Jean-Luc BREDO Posted February 17, 2018 Author Share Posted February 17, 2018 dans cms et mettez la en https. .... ok c'est corrigé bon maintenant je laisse tout ca comme cela comme cela fonctionne merci de votre aide ... et bonne nuit Link to comment Share on other sites More sharing options...
Ced17 Posted February 17, 2018 Share Posted February 17, 2018 Bonne nuit également. Link to comment Share on other sites More sharing options...
Ced17 Posted February 18, 2018 Share Posted February 18, 2018 Bonsoir, Votre logo est trop grand j'ai remarqué dans votre image posté plus haut, vous pouvez le réduire à 200x124px au lieu de 800x497px actuellement. C'est peut-être ce qui décale tout, mais j'en doute. Link to comment Share on other sites More sharing options...
Ced17 Posted February 19, 2018 Share Posted February 19, 2018 Bonjour, Avez vous aussi degreffé ou modifié l'emplacement des modules connexion et panier? C'est peut-être également une cause du décalage. Essayez de les greffer sur Displaynav2 Link to comment Share on other sites More sharing options...
Jean-Luc BREDO Posted February 25, 2018 Author Share Posted February 25, 2018 Bonjour , désolé , j'ai du abandonner quelques jours la configuration de ma boutique pour faire simple et avancer, vu que je ne connais pas tous les thermes techniques que vous utilisez comme par ex Displaynav2 . Je chercherais plutôt une solution où un "expert" puisse se connecter sur ma machine par TeamViewer par ex que j'ai , afin de régler les petits soucis de configuration... (si c'est possible). Cela serai plus simple et au moins je ne risquerais pas faire pire .. Ci joint un fichier avec la configuration actuelle, celle souhaitée (si possible) et un soucis de créations d'articles Merci de votre aide, Jean-Luc Problème conf art & acceuil.pdf Link to comment Share on other sites More sharing options...
Ced17 Posted February 25, 2018 Share Posted February 25, 2018 Bonjour Jean-Luc, Effectivement, il faudrait qu'un Expert gère votre problème directement quand vous êtes sûr de ne pas pouvoir le règler. Je ne suis pas expert ou professionnel donc je ne suis pas votre homme. Vous devriez modifier le titre de votre post pour trouver un professionnel dispo, voir aussi sur le forum si il y a une section pour ça. Bonne continuation. Link to comment Share on other sites More sharing options...
Jean-Luc BREDO Posted February 25, 2018 Author Share Posted February 25, 2018 merci .. Link to comment Share on other sites More sharing options...
stella Posted March 30, 2018 Share Posted March 30, 2018 S'il vous plait aidez moi ! j'essayer d'installer la mise a jour 1.7.3 et soudain Erreur HTTP 500 Étrange... Le site web ne parvient pas à afficher cette page je ne peux plus aller sur mon back office et comme ma boutique était en maintenance je ne peux pas y aller non plus ! Je suis très embêtée je n'y connais pas grand chose ! j'ai vraiment besoin d'aide Link to comment Share on other sites More sharing options...
Ced17 Posted March 30, 2018 Share Posted March 30, 2018 Bonsoir, Activer le mode debug pour afficher l'erreur en suivant ce lien ici Link to comment Share on other sites More sharing options...
magicbel Posted March 30, 2018 Share Posted March 30, 2018 Bonsoir, Un partie du problème ici,du moins si les messages du 1.7.x sont fiables 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