Skip to main content
Commonmark migration
Source Link
  • For any field you want to pull a value from a Cookie you add an exposed filter, here I add a contextual filter for the field, here a node->title:

    For any field you want to pull a value from a Cookie you add an exposed filter, here I add a contextual filter for the field, here a node->title:

    enter image description here

enter image description here

  • Then we configure the filter to pull a value from the URL. If none is provided we define how to find the value via PHP code. This is the secret to pulling the value from a $_COOKIE value.

    Then we configure the filter to pull a value from the URL. If none is provided we define how to find the value via PHP code. This is the secret to pulling the value from a $_COOKIE value.

enter image description here

  • Then we supply a blurb of code to read the Cookie value:

enter image description here

  • For any field you want to pull a value from a Cookie you add an exposed filter, here I add a contextual filter for the field, here a node->title:

enter image description here

  • Then we configure the filter to pull a value from the URL. If none is provided we define how to find the value via PHP code. This is the secret to pulling the value from a $_COOKIE value.

enter image description here

  • Then we supply a blurb of code to read the Cookie value:

enter image description here

  • For any field you want to pull a value from a Cookie you add an exposed filter, here I add a contextual filter for the field, here a node->title:

    enter image description here

  • Then we configure the filter to pull a value from the URL. If none is provided we define how to find the value via PHP code. This is the secret to pulling the value from a $_COOKIE value.

enter image description here

  • Then we supply a blurb of code to read the Cookie value:

enter image description here

Source Link
Pravin Ajaaz
  • 3.6k
  • 4
  • 19
  • 37

  • For any field you want to pull a value from a Cookie you add an exposed filter, here I add a contextual filter for the field, here a node->title:

enter image description here

  • Then we configure the filter to pull a value from the URL. If none is provided we define how to find the value via PHP code. This is the secret to pulling the value from a $_COOKIE value.

enter image description here

  • Then we supply a blurb of code to read the Cookie value:

enter image description here