item

This will pull back a specific scheduler data based on the query string and/or data-pv-parameters.

<div data-pv-component="scheduler" data-pv-type="item" data-parameters="{schedule_no: 123}" data-pv-object="abc">
    // Some code
</div>

Common HAPI elements used within the <div>:

  • {@category_name@} - this will return the category assigned to the Scheduler (if one is assigned)

  • {@schedule_item@} - this will return the scheduler title

  • {@schedule_item_description@} - this will return the scheduler description

  • {@schedule_item_graphic@} - this will return the url of the scheduler graphic

  • {@schedule_item_no@} - this will return the scheduler no

Common data-pv-parameters used within the <div>:

  • schedule_item_no: '123', {@q:schedule_item_no:0@}

  • returntotal: '999'

  • sortby: 'newest', 'oldest', 'created_on'

  • schedule_type: 'reservation', 'appointment'

  • category_no: '123', {@q:category_no:0@}

Last updated