ach34 Posted September 12, 2016 Share Posted September 12, 2016 Bonjour, Je veux appliquer une fonction dans blocklayered.tpl qui me permettrait en php de modifier le tri des couleurs. Mais je ne sais pas dans quel fichier mettre ma fonction. J'ai bien tenté de la mettre dans blocklayered.php mais ça marche pas. J'ai loupé un truc. Merci de votre aide. dans blocklayered.php public function ADgetListColor() { return "ok"; } dans blocklayered.tpl {assign var='ADref' value=ADgetListColor()} <p>test : {$ADref} </p> 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