rotators

This will pull back all rotators set in the Control Panel and the data related to them.

FAQs can be created and managed here - https://control.peoplevine.com/admin_rotators.aspx

<div data-pv-component="content" data-pv-type="rotators" data-pv-object="abc">
    // Some code
</div>

Common HAPI elements used within the <div>:

  • {@created_on@} - this will return the rotator creation date/time

  • {@rotator_brief@} - this will return the rotator description

  • {@rotator_group@} - this will return the rotator's group

  • {@rotator_image@} - this will return the rotator graphic

  • {@rotator_link@} - this will return the rotator link-to

  • {@rotator_link_title@} - this will return the rotator link text

  • {@rotator_title@} - this will return the rotator title

  • {@rotator_type@} - this will return the type of rotator

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

  • returntotal: numeric value

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

  • rotator_group: 'text'

Last updated