Rendering default title and description without calling CurrentPage
Hello
I'm trying to get the default title and description for the current page, but this page doesn't have SEOChecker property, so I can't use .GetPropertyValue
Is there another way to get default values for the current page?
I do not know how this property works, but in the end what gets rendered for any page is determined by the template/partial(s), so maybe you need to have look there and see if it's easy to know which properties are being used?
(I'm assuming SEOChecker calls the frontend to see what gets rendered)
Thanks for your reply. The issue is that we don't want to add SEOChecker properties on the page, but we want to use the SEOChecker functionality on the page.
We want to render default MetaTitle and Meta description for this page and this doctype- this functionality is available in SEOChecker, but looks like it's working only when you have SEOChecker property on the page.
We would like to avoid adding SEOChecker property on the page and use all functionality.
Rendering default title and description without calling CurrentPage
Hello
I'm trying to get the default title and description for the current page, but this page doesn't have SEOChecker property, so I can't use .GetPropertyValue
Is there another way to get default values for the current page?
Thanks,
Alex
Hi Alex,
I do not know how this property works, but in the end what gets rendered for any page is determined by the template/partial(s), so maybe you need to have look there and see if it's easy to know which properties are being used?
(I'm assuming
SEOChecker
calls the frontend to see what gets rendered)/Chriztian
Hi Chriztian
Thanks for your reply. The issue is that we don't want to add SEOChecker properties on the page, but we want to use the SEOChecker functionality on the page.
We want to render default MetaTitle and Meta description for this page and this doctype- this functionality is available in SEOChecker, but looks like it's working only when you have SEOChecker property on the page.
We would like to avoid adding SEOChecker property on the page and use all functionality.
Thanks, Alex
Hi Alex,
SEOChecker needs to have the property type. Only then it can render the default properties for you.
Best,
Richard
is working on a reply...