Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Daniil 5 posts 25 karma points
    Feb 09, 2012 @ 11:13
    Daniil
    0

    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?



  • Daniil 5 posts 25 karma points
    Feb 09, 2012 @ 11:17
    Daniil
    0

    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?

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Feb 09, 2012 @ 22:43
    Jan Skovgaard
    0

    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

Please Sign in or register to post replies

Write your reply to:

Draft