Dynamic




Dynamic container

This is the parent widget for all other dynamic widgets. There could be n number of child inside this widget and also in different hierarchy structure. This widget has 2 tabs-

  • Content type : Allows to select the type of resource i.e resort, accommodation type, unit. The resource id can be configured or can be taken into consideration from URL.

  • Style

The child widgets will pick configurations from the dynamic container if not configured in the self.



Description Widget

This widget will display the description of the selected resource by reading data from the general tab of Newyse/ Maxxton software. This widget has 3 tabs-

  • General : Allows to select the content type i.e type of resource. If not selected then it is picked from the dynamic container.

  • Content : Allows to select what needs to be displayed on page for a resource.

  • Style

Free Search Widget

The Free Search Widget is a widget where the user can start typing and based on the input it immediately gives results based on the current characters. Once clicked it starts with a default result set. This is done to show possible options to the user and give them an idea of what the search for. The search results can be based on amenities or regions. It is currently a static widget with limited settings. The only setting that you can make when adding it is the Placeholder text. This is the text that is shown by default before the user starts typing. 

Nevertheless, there are many configurations that need to be made before it can work. It depends on an Excel file with all the possible options to search for. The benefit of this is that you can make a difference between the search words and the result set. This Excel can only be deployed by the Web Manager development team. 

The Excel file required contains these 9 columns; ( Example template )

  • Amenity Category
    This identifies what kind of result it is. Possible values are Region, Resort, Vacation Idea
  • Amenity Name
    This is the name of the result. It is what you will see as the main text in the search result
  • Amenity Sub title
    This is the smaller text below the name in the search result
  • Amenity Test ID
    This should contain the parameters that should be added to the search. Including what kind of parameter it is. For example: amenityid=1234 or regionId=12523 or a combination  amenityid=1254&amenityid=5234&regionId=43211
    Only applicable for the test environment (the reason is that the ID can be different compared to live)
  • Amenity Live ID
    Same as Test ID, however, make sure that these are the actual live configurations
  • Amenity Search String
    This is the text that is used to search in. Doesn't necessarily need to be the same as the name / sub title. 
  • Icon
    Font Awesome icon code to be shown next to the result. For example fa-map-marker or fa-building-o. Would be best to keep it consistent across the amenity categories. 
  • Nr Results
    This is the number of results shown in the result. This should be the same number as if you would do the search. 
  • Default
    Possible values are 0 or 1. If it is 1, then the result will be included in the default list before the user starts typing. 

Dynamic Free Search Widget

Dynamic Free Search Widget is a widget where the user can start typing and based on the input it immediately gives suggestions. Dynamic Free Search Widget is not restricted to single filter , multiple filters can be used as a set. This widget have various widget options for configuring to display desired results, have availability connection and also doesn't use any external file.

Dynamic Free Search Widget can be configured in two ways as follows.

  1. Within the widget
    • By default the dynamic free search widget can be configured by adding the content types in the widget options and then selecting corresponding filters. Each filter will be treated as a single item in the list of free search.
    • Custom icons for each type of filter can be selected.
  2. Using the model
    • There is a model for free search to add custom items, this can be configured inside the model options and then these items can be selected inside the widget by enabling "Use custom free search " checkbox
    • If this way of configuring is used then the items can be arranged in an order of the user's choice by dragging and dropping items in the multi-select.
    • Custom icon for each item can be selected.

If model is used , then a check box to fetch the count from the availability is displayed. This will  calculate how many "vacations/results" are there in total for that option
If model is not used then the order of filters can be set but the order of items cannot be set.