Documentation

Methods to handle Landing Page Blocks

Scope: landing Permissions to execute: for all

Adds block in the landing page edit mode. In this mode, block identifiers are different from the published page block IDs. After the work with blocks is completed, the landing page must be published.

Method Description Available from version
landing.landing.addblock Adds new block on a landing page.
landing.landing.deleteblock Deletes block from a landing page.
landing.landing.upblock Elevates block for one position on a landing page.
landing.landing.downblock Lowers block for one position on a landing page.
landing.landing.showblock Shows block on a landing page.
landing.landing.hideblock Hides block on a landing page.
landing.landing.copyblock Copies block from one landing page to another.
landing.landing.moveblock Moves block from one landing page to another.
landing.landing.markdeletedblock Marks block as deleted, but does not delete it physically.
landing.landing.markundeletedblock Restores block from marked as deleted block list.
landing.landing.favoriteBlock Saves block available at the "My blocks" page.
landing.landing.unFavoriteBlock Deletes block saved in "My blocks" page.


© «Bitrix24», 2001-2024