Jump to content

[newbie] Pb modification blockuserinfo.tpl / header


Recommended Posts

Bonjour,

 

Totalement newbie dans le domaine je vous remercie par avance de votre éclairage.

 

Je travaille sur une boutique d'un nouveau client qui est en Version 1.3.2.3

 

Je cherche à ajouter un simple lien dans le header, et après moulte recherches j'ai fini par trouver qu'il fallait modifier modules\blockuserinfo\blockuserinfo.tpl pour rajouter la deuxième balise <li> ci dessous.

<div class="menu2" style="margin-left:35px; position:absolute; font-family:Georgia; font-size:14px; float:left; /z-index:10000">

	<ul id="Nav" style=" width:580px;">

		<li style="width:125px;">
			<div style="width:1px; height:20px; background:#999999; float:left; margin-top:2px;"></div><div style="margin-left:7px; float:left">
			
		
			<a href="shop.php" style="letter-spacing:0.20pt">{l s='Boutiques' mod='blockuserinfo'}</a>

			
			</div>
			<ul class="Menu" style=" width:125px;" >
						{foreach from=$shops item=shop name=shops}
			<li style="width:180px;"><a href="shop.php" style="font-family: Times; font-size: 12px; height: 12px;"><span style="margin-left:9px;">{$shop.title}</span></a></li>
			{/foreach}
			
				</ul>
		</li>
		
		<li style="width:100px;">
			<div style="width:1px; height:20px; background:#999999; float:left; margin-top:2px;"></div>
			<div style="margin-left:7px; float:left">
				<a href="http://www.citycake.fr/55_patissier-chocolatier_hugo-victor" title="citycake patisserie" style="letter-spacing:0.20pt"> 
					Livraisons Paris
				</a>
			</div>
		</li>

	</ul>

</div>

1/ première question, est-ce au bon endroit ?? je veux dire est ce bien ce fichier qu'il faut modifier ?

2/ quand je consulte le site online, même avec vidage du cache, rien n'apparait ... :/

 

Avez vous une idée pourquoi ?

 

Merci !

 

Link to comment
Share on other sites

Attention également au cache.
Sous Prestashop 1.3 il peut être nécessaire de supprimer manuellement les fichiers php du tpl concerné dans le dossier "tools/smarty/compile/" pour voir apparaitre les modifications.

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