List of Methods for Working with Blocks

We are still updating this page

Some data may be missing here — we will complete it soon.

Scope: landing

Who can execute the method: any user

Adding a block occurs in the page editing mode. In this mode, the block identifiers differ from those on the published page. After working with blocks, the page must be published.

Method

Description

Version

landing.landing.addblock

Method for adding a new block to the page.

landing.landing.copyblock

Method for copying a block from one page to another.

landing.landing.deleteblock

Method for deleting a block from the page.

landing.landing.downblock

Method for moving a block down one position on the page.

landing.landing.favoriteBlock

Method saves an existing block on the page to "My Blocks."

21.800.0

landing.landing.hideblock

Method hides a block from the page.

landing.landing.markdeletedblock

Method marks a block as deleted but does not physically remove it.

landing.landing.markundeletedblock

Method restores a block from those marked as deleted.

landing.landing.moveblock

Method for moving a block from one page to another.

landing.landing.showblock

Method displays a block on the page.

landing.landing.unFavoriteBlock

Method removes a block that was saved in "My Blocks."

21.800.0

landing.landing.upblock

Method for moving a block up one position on the page.