pepelarhubarbe Posted January 7, 2011 Share Posted January 7, 2011 Bonjour à tous,Je cherche comment definir ou acceder a une variable (ou un autre moyen ;-) ) pour rendre conditionnel l'affichage d'un 'emballage' (par 2,3 divs dans header.tpl et footer.tpl) de la zone centrale. Il s'agit en fait d'afficher cet emballage pour tous les contenus sauf la partie home.Quelqu'un ici a-t-il deja réglé cette question ?(l'idee c'est de ne pas repasser dans tous les tpl sauf index pour mettre le meme emballage en place...)Merci a vous! Link to comment Share on other sites More sharing options...
pepelarhubarbe Posted January 7, 2011 Author Share Posted January 7, 2011 Avec mes excuses, j'ai trouvé une réponse sur le forum:{if $page_name != "index"}... Link to comment Share on other sites More sharing options...
Divine Posted January 7, 2011 Share Posted January 7, 2011 Salut pepelarhubarbe,Je passe donc ton topic en [RESOLU]Penses à le faire la prochaine fois en éditant ton premier message et en ajoutant [RESOLU] dans le titre 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