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
Hi
I was wondering if it's possible in Umbraco, to track on a specific template, which documents it is being used on?
If not, has anyone perhaps created a package with this functionality?
best regards Sune Fengel
Not that I know of, to find out which of your templates are in use, do an SQL query like this:
SELECT * FROM cmsTemplate WHERE nodeId IN (SELECT templateId FROM cmsDocument)
Or, if you want to know which documents one template is being used on:
SELECT * FROM cmsTemplate LEFT JOIN cmsDocument ON cmsTemplate.nodeId = cmsDocument.templateId WHERE nodeId = YOURNODEID
Thanks.
Maybe I'll make a package that could provide this overview.
Could be useful for cleaning up a site.
- Sune
Maybe drop Richard Soeteman an email? ... I think this would be well-suited in the Content Maintenance Dashboard Package.
Cheers, Lee.
Hi Lee and others,
Yes would be a nice feature, on the list for the next release now ;-). For now you can use the suggestion @sebastiaan gave or use xpath to retrieve nodes that contains the template.
Cheers,
Richard
Sounds great. Good Idea to usexpath also.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Template tracking
Hi
I was wondering if it's possible in Umbraco, to track on a specific template, which documents it is being used on?
If not, has anyone perhaps created a package with this functionality?
best regards Sune Fengel
Not that I know of, to find out which of your templates are in use, do an SQL query like this:
Or, if you want to know which documents one template is being used on:
Thanks.
Maybe I'll make a package that could provide this overview.
Could be useful for cleaning up a site.
- Sune
Maybe drop Richard Soeteman an email? ... I think this would be well-suited in the Content Maintenance Dashboard Package.
Cheers, Lee.
Hi Lee and others,
Yes would be a nice feature, on the list for the next release now ;-). For now you can use the suggestion @sebastiaan gave or use xpath to retrieve nodes that contains the template.
Cheers,
Richard
Sounds great. Good Idea to usexpath also.
- Sune
is working on a reply...