atipix Posted March 5, 2010 Share Posted March 5, 2010 Bonjour,j'aimerai que le block lien ne s'affiche pas quand un client est logué,pour cela je mets une condition sur le fichier blocklink.tpl{if quelle variableSVP?}on affiche le block{/if}Merci les gars !RESOLU ... -yoya971 Link to comment Share on other sites More sharing options...
AAymeric Posted March 5, 2010 Share Posted March 5, 2010 Ca mérite une confirmation de la part d'une personne plus calé, mais il me semble que ça if (!$cookie->isLogged()) { // Pas connecté } else { // Connecté } Link to comment Share on other sites More sharing options...
atipix Posted March 5, 2010 Author Share Posted March 5, 2010 Merci beaucoup,autrement j'ai plus simple :{if $logged} pour connectéou{if !$logged}pour pas connectéSuper !!! Link to comment Share on other sites More sharing options...
AAymeric Posted March 5, 2010 Share Posted March 5, 2010 A oui ça marche aussi -) 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