Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I want to clear a document's template so that it doesn't have a template at all (to work with Cultiv sitemap).
Initially I tried to set the template dropdown in the document's generic properties to "choose", which didn't work (it didn't persist). So I then set the document type in question to have no allowed templates. At this point the document showed as having no template (the "choose" persisted), but in the db and the umbraco.config file the template id is still there.
I've tried republishing, restarting website & deleting umbraco.config but the problem seems to be that the db still contains the templateid for that document.
Is this familiar to anyone?
Sounds odd, but it may be a bug. If you can repro this, I'd suggest you report this issue on Codeplex so a core team member can verify and solve if necessary.
And don't forget to include environment info (umb version, ...) as well
I had a similar problem recently, but I did the same thing, made sure that no templates were allowed for that docType and republished.
Have you tried deleting the umbraco.config file? This will force Umbraco to recreate it, that might help.
Thanks guys, I've reported the issue here:
Republishing & deleting umbraco.config makes no difference (I've tried) since the value of templateId in the cmsDocument table is never cleared.
To work around this, do you reckon it's safe to NULL the templateId value manually in the db?
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted