@rthur Posted September 8, 2020 Share Posted September 8, 2020 Salut. Je souhaiteais utiliser la condition php <?php if( is_front_page() ) {blablabla} ?> mais je ne sais pas quel est son équivalent en smarty. Une idée? Merci bcp (prestashop 1.7.4.3) Link to comment Share on other sites More sharing options...
_tech Posted September 8, 2020 Share Posted September 8, 2020 Salut, Quelque chose comme : {if $page.page_name == 'index'}blablablabla{/if} Link to comment Share on other sites More sharing options...
@rthur Posted September 8, 2020 Author Share Posted September 8, 2020 1 hour ago, _tech said: Salut, Quelque chose comme : {if $page.page_name == 'index'}blablablabla{/if} Top merci beaucoup 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