BookingLive: Online Booking System

List Item Format

Overview

The ListItemFormat feature is an powerful feature that allows you to control the layout of each item for the items shown within list widgets.

Uing some simple merge tags allows you to add and remove items such as the title, description and image of the item and also certain action buttons. 

How to Setup the ListItemFormat 

 

1. Add a Config:

  1. Go to ADMIN > CONFIG > COMPANY INFO CONFIG ITEMS.
  2. Click ADD COMPANY INFO CONFIG ITEM
  3. Enter the NAME - ListItemFormat, enter the value in the below table.
  4. Click SAVE.
 [[IfHasImage]]{$RenderImage}[[ENDIF]]
    [Description]
     [[IfHasNoPage]]{$Name}[[ENDIF]]
     [[IfHasPage]]{$NameLink}[[ENDIF]]
          {$BriefDescription}
     {$Tags}
    [/Description]
    [Price]
 [[IfHasPreviousPrice]]{$PreviousPrice}[[ENDIF]]
{$Price}
     {$MoreInfoButton}
     [[IfCanBook]]{$BookNowButton}[[ENDIF]]
     [[IfCantBook]]{$EnquireButton}[[ENDIF]]
    [/Price]

 

 

2. Dsiplay your activities using the List Activities/List Item widget

This is so the widget shows the waiting list button.

  1. Go to CONFIG > PAGES
  2. Select the category or individual activity page that you want to add the template to.
  3. Click on the LIST ITEM or LIST ACTIVITIES widget to add it to that page.
    Note: these widgets need child pages that are linked to an activity to then display those activities, click here to learn how to display activities.
  4. Click SAVE & PUBLISH.