AntonLV 7 лет назад
Родитель
Сommit
9e55c8bdb6
1 измененных файлов с 3 добавлено и 1 удалено
  1. 3 1
      studio/template/scripts/BxBaseStudioBuilderPage.php

+ 3 - 1
studio/template/scripts/BxBaseStudioBuilderPage.php

@@ -161,7 +161,9 @@ class BxBaseStudioBuilderPage extends BxDolStudioBuilderPage
 
         $sContent = "";
         if(($bPage = $this->sPage != '') === true) {
-            $aTmplVars = array();
+            $aTmplVars = array(
+                'page_id' => 'bx-page-' . $this->aPageRebuild['uri']
+            );
             for($i = 1; $i <= $this->aPageRebuild['layout_cells_number']; $i++) {
                 $aBlocks = array();
                 $this->oDb->getBlocks(array('type' => 'by_object_cell', 'object' => $this->aPageRebuild['object'], 'cell' => $i), $aBlocks, false);