TemplateId returns a value even without a template
Hi community!
I am having a weird problem or maybe it's something that now works this way.
I am working with 7.11.0 and at some point, a Doctype had an approved template. Then a few days down the road, we decided that it didn't need the said template so I cleared the approved templates list.
Nevertheless, if I click on the backend link in a node with that Doctype, it renders the template that it used to have assigned.
Also, if I request TemplateId it returns said template Id. Shouldn't it return 0?
Sorry! I thought I finished the sentence! It didn't work. It is still detecting the template, despite that on the "Info" tab on the "Template" property it says "Choose..." and there is nothing to choose from.
TemplateId returns a value even without a template
Hi community!
I am having a weird problem or maybe it's something that now works this way.
I am working with 7.11.0 and at some point, a Doctype had an approved template. Then a few days down the road, we decided that it didn't need the said template so I cleared the approved templates list.
Nevertheless, if I click on the backend link in a node with that Doctype, it renders the template that it used to have assigned. Also, if I request TemplateId it returns said template Id. Shouldn't it return 0?
Thank you for any help or insight you can share
Have a great day! =)
Hi Adriana
I think you have to resave each node, without an assigned template. Can you try?
Thanks,
Alex
Hi Alex, I already did thay and also I republished the entire site just to be safe.
And what is the result?
Sorry! I thought I finished the sentence! It didn't work. It is still detecting the template, despite that on the "Info" tab on the "Template" property it says "Choose..." and there is nothing to choose from.
so if you save node with "Choose..." selected - node returns Id of a template?
How do you call templateId?
Correct, it returns Id of a template. That template is currently being used by other Doctypes
Any ideas? =(
is working on a reply...