I havetwo documents types. They have the sametabCEO.
Tabhas Metatitle, metadiscription, Metakeywords.
I will add fieldsin thetitle.
If thisis emptyFieldstakethe valuesfrom anotherFields. Butit does not workI thinkbecause ofthe factthat differenttypes of documents. How can this besolved?
I havetwo documents types. They have the sametabCEO.
Tabhas Metatitle, metadiscription, Metakeywords.
I will add fieldsin thetitle.
If thisis emptyFieldstakethe valuesfrom anotherFields. Butit does not workI thinkbecause ofthe factthat differenttypes of documents. How can this besolved?
If you want to have some sort of fallback option if the meta description on the current page has not been filled out you need to create a XSLT or Razor based macro where you can make some logic to check if the meta data field on the current page has been filled out. If it has not then you will take the value from a settings node where a fallback value has been specified.
Let us know if your need some further instructions on how to do the above.
I need help
I have two documents types.
They have the same tab CEO.
Tab has Metatitle, metadiscription, Metakeywords.
I will add fields in the title.
If this is empty Fields take the values from another Fields.
But it does not work I think because of the fact that different types of documents.
How can this be solved?
I have two documents types.
They have the same tab CEO.
Tab has Metatitle, metadiscription, Metakeywords.
I will add fields in the title.
If this is empty Fields take the values from another Fields.
But it does not work I think because of the fact that different types of documents.
How can this be solved?
Hi Daniil and welcome to the community :)
If you want to have some sort of fallback option if the meta description on the current page has not been filled out you need to create a XSLT or Razor based macro where you can make some logic to check if the meta data field on the current page has been filled out. If it has not then you will take the value from a settings node where a fallback value has been specified.
Let us know if your need some further instructions on how to do the above.
/Jan
is working on a reply...