Copied to clipboard

Flag this post as spam?

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


  • Brian Rush 25 posts 95 karma points
    Apr 20, 2017 @ 19:14
    Brian Rush
    0

    ShowToVisitor() Always returns true

    Also seems that ShowToVisitor() always seems to return true. I tried setting serveral criteria, ie Day of week, cookie, querystring) but each content element always seems to return true on ShowToVisitor(). Any thoughts.

    I am on latest version of Umbraco and latest version of Personalisation Groups. Very frustrating in that each package I am trying (Footprints,, Personalisation Groups) they just don't seem to work 100%

    Any help is appreciated.

  • Andy Butland 422 posts 2334 karma points MVP 4x hq c-trib
    Apr 20, 2017 @ 21:48
    Andy Butland
    0

    Would you mind sharing a little on your setup? Specifically I'm wondering if you are missing the picker that associates the "personalisation groups" with your content.

    i.e. Starting from "Now go to "Settings" and find the document type for a piece of content you want to personalise..." within the example usage section from the documentation.

    Andy

  • Brian Rush 25 posts 95 karma points
    Apr 24, 2017 @ 20:21
    Brian Rush
    0

    Andy

    Thanks for the reply. I found issue. It was this step

    Add a new field of type Personsalisation group picker with an alias of personalisationGroups

    I gather that the name of the alias matters.

    Thanks for the reply!!

  • Andy Butland 422 posts 2334 karma points MVP 4x hq c-trib
    Apr 24, 2017 @ 20:43
    Andy Butland
    0

    Yes, that's right - the personalisation engine needs to know which picker to look for to determine which groups are associated with the content.

    You can customise the alias used if you like though, with this configuration:

    <add key="personalisationGroups.groupPickerAlias" value="myCustomAlias"/>
    

    Though whatever you choose needs to be the same for all instances of the group picker.

    Glad you got it sorted though.

Please Sign in or register to post replies

Write your reply to:

Draft