Creationg of invoice template using php

Hello,

I’ve been trying to create a new invoice template based on ‘crabe’. I followed the instructions, renamed the file, the class, $this->name (the constructor is declared using __construct in the file so it didn’t need a name change). I can see the template listed in Dolibarr, but when I try to preview it, no matter the changes I make, it keeps generating specimens using the ‘crabe’ template. I tried to make changes to the ‘crabe’ template with success. When I change ‘crabe’ my new template also changes. What could be going on? Am I forgetting something?

Hi
Did you activate your new model within back office ?

@+
Philippe

Hey,
I´ve tried to enable it, make it default, disable the other templates but still when I hit the preview button it generates an invoice using the ´crabe´template