Created on 15 December 2023, 11 months ago
Updated 25 January 2024, 10 months ago

=>β€œNews” content type

Edit :

  • Name : News
  • Automatic title generation : disable
  • Contribution form settings :
    • Title field label : Title
    • Preview before submission : optional
  • Publishing option :
    • Default option : published
    • Multilingual management : disabled
  • Display settings : Display the author and the date
  • Comment settings :
    • Default comment settings for new content : open
    • Indentation (of discussion)
    • Comments per page : 50
    • Anonymous comment : Anonymous users cannot enter their coordinates
    • Allow comment titles
    • Display the reply form on the same page as the comments
    • Comment preview : optional
  • Menu settings :
    • Default parent item : main menu

Manage fields :

  • Body :

    • Field type : Text (formatted, long, with summary)


=>β€œNote” content type

Edit :

  • Name : Note
  • Automatic title generation : Automatically generate the title and hide the title field
  • Contribution form settings :
    • Title field label : Title
    • Preview before submission : optional
  • Publishing option :
    • Default option : published
    • Multilingual management : disabled
  • Comment settings :
    • Default comment settings for new content : hidden
    • Indentation (of discussion)
    • Comments per page : 50
    • Anonymous comment : Anonymous users cannot enter their coordinates
    • Allow comment titles
    • Display the reply form on the same page as the comments
    • Comment preview : optional
  • Menu settings :
    • Default parent item : main menu

Manage fields :

  • Wine :

    • Field type : Entity reference
    • Widget : autocompletion
    • Label : Wine
    • Help text :
      The wine you have tasted. Start typing the name then select it from the list. If the wine does not exist yet, click on the "+" green icon on the left. Click on the pencil icon to edit the wine currently selected.
    • Autocomplete Matching : Contains
    • Text Field Size : 60
    • Display Entity Connect "add" button : Yes
    • Display Entity Connect "edit" button : Yes
    • Default Entity Connect "add (+) icon" display : Icon only
    • Default Entity Connect "edit (pencil) icon" display : Icon only
    • Number of values : 1
    • Target type : Node
    • Entity selection : Mode simple, Target packages : Wine, do not sort
  • Session :

    • Field type : Entity reference
    • Widget : Select list
    • Label : Session
    • Help text :
      If you have tasted this wine during the session, please use this field; otherwise, use the date field below.
    • Display Entity Connect "add" button : No
    • Display Entity Connect "edit" button : No
    • Default Entity Connect "add (+) icon" display : Icon only
    • Default Entity Connect "edit (pencil) icon" display : Icon only
    • Number of values : 1
    • Target type : Node
    • Entity selection : Mode simple, Target packages : Session, Sort by : A field attached to this entity, Sort by : Day (column value), Sort direction : Descending.
  • Date :

    • Field type : Date (Unix timestamp), Date attributes to collect : Months Days Hours Minutes, Timezone management : Site timezone.
    • Widget : Calendar pop-up
    • Label : Date
    • Help text :
      If you did not try the wine on session use this field to save the tasting date.
    • Default date : Now
    • Number of values : 1
    • Date attributes to collect : Months Days Hours Minutes
    • Timezone management : Site timezone
  • Rating :

    • Field type : Number (integer)
    • Widget : Select list
    • Label : Rating
    • Help text :
      How would you rate this wine on a scale from 0 to 20? A wine with no issues should start at 10.
    • Minimum : 0
    • Maximum : 20
    • Suffix : /20
    • Default value : Rating 0/20
    • Number of values : 1
  • Eye :

    • Field type : Field group
    • Widget : fieldset collapsible, classes group-gneye field-group-fieldset, required_field yes
    • Image :

      • Field type : Image
      • Transfer destination : Public files
      • Widget : Image
      • Label : Image
      • Help text :
        Tip: take a picture on a white background.
      • Allowed file extensions : png, gif, jpg, jpeg
      • File directory : images/notes/eye
      • Maximum image resolution : 1200 x 1200 pixels
      • Image style preview : Thumbnail (100x100)
      • Number of values : 1
    • Description :

      • Field type : Text (long)
      • Widget : Text area (multiple rows)
      • Label : Description
      • Help text :
        The wine's color and external appearance.
      • Rows : 3
      • Text processing : Raw text
      • Number of values : 1
  • Nose :

    • Field type : Field group
    • Widget : fieldset collapsible, classes group-gnnoze field-group-fieldset, required_fields yes
    • Description :

      • Field type : Text (long)
      • Widget : Text area (multiple rows)
      • Label : Nose
      • Help text :
        The aromas of the wine.
      • Rows : 5
      • Text processing : Raw text
      • Number of values : 1
  • Mouth :

    • Field type : Field group
    • Widget : fieldset collapsible, classes group-gnmounth field-group-fieldset, required_fields yes
    • Description :

      • Field type : Text (long)
      • Widget :Text area (multiple rows)
      • Label : Mouth
      • Help text : "Describe how the wine feels in the mouth."
      • Rows : 5
      • Text processing : raw text
      • Number of values : 1
  • Food pairing :

    • Field type : Taxonomy term reference (Vocabulary : Food)
    • Widget : Checkboxes/Radio buttons
    • Label : Food pairing
    • Help text :
      What kind of dishes should be paired with this wine?
    • Number of values : unlimited
    • Vocabulary : Food
  • Remark :

    • Machine name : body
    • Field type : Text (formatted, long, with summary)
    • Widget : Text area with a summary
    • Label : Remark
    • Help text :
      Additional information regarding this particular tasting.
    • Rows : 5
    • Text processing : Raw text
    • Number of values : 1


=>β€œSession” content type

Edit :

  • Name : Session
  • Automatic title generation :
    • Automatically generate the title and hide the title field
    • Pattern for the title :
      <?php
              $date = format_date($node->field_day[LANGUAGE_NONE][0]['value'],'day');
              $theme = !empty($node->field_single_text2) ? ' '.$node->field_single_text2[LANGUAGE_NONE][0]['value'] : '';
              return $date.$theme;
              ?>
    • Evaluate the PHP code of the pattern
  • Contribution form settings :
    • Label for the title field : Title
    • Preview before submission : optional
  • Publishing option :
    • Default option : published
    • Multilingual management : disabled
  • Comment settings :
    • Default comment settings for new content : hidden
    • Indentation (of discussion)
    • Comments per page : 50
    • Anonymous comment : Anonymous users cannot enter their coordinates
    • Allow comment titles.
    • Display the reply form on the same page as the comments
    • Comment preview : optional
  • Menu settings :
    • Default parent item : main menu

Manage fields :

  • Day :

    • Field type : Date (Unix timestamp)
    • Widget : Calendar pop-up
    • Label : Day
    • Requiered field
    • Help text :
      The starting time when the session will be held.
    • Default date : Now
    • Number of values : 1
    • Date attributes to collect : Months Days Hours Minutes, Timezone management : Site timezone
  • Theme :

    • Field type : Text (plain)
    • Widget : Text field
    • Label : Theme
    • Help text :
      What is the session about?
    • Text field size : 60
    • Text processing : Raw text
    • Number of value : 1
    • Maximal size : 255
  • Place :

    • Field type : Text (plain)
    • Widget : Text field
    • Label : Place
    • Help text :
      Where will the meeting take place ?
    • Text field size: 60
    • Text processing : Raw text
    • Number of values : 1
    • Maximal size : 255
  • Maximum people :

    • Field type : Number (integer)
    • Widget : Text field
    • Help text :
      The maximum number of people who can participate.
    • Number of values : 1
  • Remarks :

    • Machine name : Body
    • Field type : Text (formatted, long, with summary)
    • Widget : Text area with a summary
    • Label : Remarks
    • Help text :
      Unusual things to know about this session.
    • Rows : 5
    • Text processing : Filtered text (user selects text format)
    • Number of values : 1


=>β€œWine” content type

Edit :

  • Name : Wine
  • Automatic title generation :
    • Automatically generate the title and hide the title field
    • Pattern for the title : [node:field_producer] [node:field_singletext] [node:field-vintage:custom:Y]
  • Contribution form settings :
    • Label for the title field : Title
    • Preview before submission : optional
  • Publication options :
    • Default option : Published
    • Multilingual management : Disable
  • Comment settings :
    • Default comment settings for new content : hidden
    • Indentation (of discussion)
    • Comments per page : 50
    • Anonymous comment : Anonymous users cannot enter their coordinates
    • Allow comment titles.
    • Display the reply form on the same page as the comments
    • Comment preview : optional
  • Menu settings :
    • Default parent item : main menu

Manage field :

  • Producer :

    • Field type : Taxonomy term reference (Vocabulary : Producer)
    • Widget : Term autocomplete widget (tagging)
    • Label : Producer
    • Required field
    • Help text :
      The name of the winemaker, whether it's an individual, company, corporation, or domain...
    • Number of values : 1
  • Name :

    • Field type : Text (plain)
    • Widget : Text field
    • Label : Name
    • Help text :
      The name as it appears on the label.
    • Text field size : 60
    • Text processing : Raw text
    • Number of values : 1
    • Maximal size : 255
  • Vintage :

    • Field type : Date
    • Widget : Select list
    • Label : Vintage
    • Help text :
      Leave it blank if the vintage is unknown (like Champagne).
    • Default date : Relative
    • Relative Default Value : -2 years
    • Number of values : 1
    • Date attributes to collect : Cache the dates
    • Maximum Number of Dates per Field : 1
  • Origin :

    • Field type : Taxonomy term reference (Vocabulary : Region)
    • Widget : Hierarchical autocomplete term reference
    • Label : Origin
    • Help text :
      Indicate whether the wine has PDO (Protected Designation of Origin) or PGI (Protected Geographical Indication) certification. If the wine doesn't have PDO/PGI certification, please select a top region.
    • Number of values : 1
  • Grape variety :

    • Field type : Taxonomy proportion (Contributed module)
    • Label : Grape variety
    • Help text :
      Enter the grape varieties that make up the wine one by one. If you know the proportions, include them. If a grape variety is not found in the autocomplete, type it, and it will be created automatically.
    • Suffix : %
    • Number of values : Unlimitted
    • Vocabulary : Grape
  • Image :

    • Field type : Image
    • Widget : Image
    • Label : Image
    • Help text :
      A picture of the bottle looks nicer on a transparent background (in PNG format).
      Tip: You can search for the wine on an image search engine.
    • Default image (choose one)
    • Allowed extensions : png, gif, jpg, jpeg, webp
    • File directory : images/wine
    • Maximum image resolution : 1200 x 1200 pixels
    • Image style preview : Thumbnail (100x100)
    • Number of values : 1
    • Transfer destination : Public files
  • Bottle link :

    • Field type : link
    • Widget : link
    • Label : Bottle Link
    • Help text :
      The link (URL), usually to the producer's website where the wine is presented.
    • Absolute URL
    • Validate the URL
    • Link title : Static title
    • Static or default title : Producer presentation
    • Maximal title field length : 128
    • Allow user-input tokens
    • URL Display Truncation : 80
    • Link target : Default (No Target Attributes)
    • Remove rel attribute automatically : Remove rel attribute automatically
    • Number of values : 1
  • Price :

    • Field type : Number (float),
    • Widget : Text field
    • Label : Price
    • Help text :
      The price you have really paid for this bottle, not an estimation. If you want to mention the true price, use the remark field.
    • Minimum : 0
    • Suffix : €
    • Number of values : 1
    • Decimal Separator : Decimal Marker
  • Sparkling :

    • Field type : Boolean
    • Widget : Single On/Off Checkbox
    • Label : Sparkling
    • Help text :
      If the wine is truly (not slightly) sparkling.
    • Explore the available tokens : Use the field label instead of the 'By Value' label.
    • Number of values : 1
  • Color :

    • Field type : List (text)
    • Widget : Checkbox/Radio buttons
    • Label : Color
    • Requiered field
    • Help text :
      The wine's classification by color.
    • Default value : Red
    • Number of values : 1
    • List of allowed values :
      • 1|Red
      • 2|White
      • 3|RosΓ©
  • Agriculture :

    • Field type : List (text)
    • Widget : Checkbox/Radio Buttons
    • Label : Agriculture
    • Requiered field
    • Help text :
      Specify the agricultural practices used in the production of this wine, such as organic, conventional, sustainable, or others. Leave this field blank if unsure.
    • Default value : Conventional
    • Number of values : 1
    • List of allowed values :
      • 1|Conventional
      • 2|Organic
      • 3|Sustainable
      • 4|Biodynamic
      • 5|Pesticide-free
      • 6|Reasoned farming
      • 7|Traditional farming
      • 8|Other (specify)
  • Alcohol level :

    • Field type : Number (float)
    • Widget : Text field
    • Label : Alcohol level
    • Help text :
      The alcohol level as indicated on the label.
    • Suffix : %
    • Number of values : 1
    • Decimal separator : Decimal marker
  • Vendor :

    • Field type : Entity reference
    • Widget : Selection list
    • Label : Vendor
    • Help text :
      The place where you bought this bottle. Use the green "+" icon to add a new vendor and the pencil icon to edit the selected vendor.
    • Default value vendor : none
    • Display Entity Connect "add" button : Yes
    • Display Entity Connect "edit" button : Yes
    • Default Entity Connect "add (+) icon" display : Icon only
    • Default Entity Connect "edit (pencil) icon" display : Icon only
    • Number of values : 1
    • Target type : Taxonomy term
    • Mode : Simple (with optional package filter)
    • Target Packages : Vendor
    • Sort by : A property of the database table for the entity.
    • Sort property : Name
    • Sorting order : Ascending
  • Aging :

    • Field type : Number (integer)
    • Widget : Text field
    • Label : Aging
    • Help text :
      Add here only oak barrel aging. For any other aging use the remarks field.
    • Suffix : Month
    • Number of values : 1
  • Remark :

    • Field type : Text (formatted, long)
    • Widget : Textarea (multiple lines)
    • Label : Remark
    • Help text :
      Add any additional comment related to the bottle.
    • Rows : 3
    • Text processing : Raw text
    • Number of values : 1
🌱 Plan
Status

Fixed

Version

10.0

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium tchible

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024