diff --git a/system/Models/Folder.php b/system/Models/Folder.php index c5bc144..587438f 100644 --- a/system/Models/Folder.php +++ b/system/Models/Folder.php @@ -275,10 +275,26 @@ class Folder { # return a standard item-object $item = new \stdClass; + $item->status = 'published'; + $item->originalName = 'home'; $item->elementType = 'folder'; + $item->fileType = 'md'; + $item->order = false; + $item->name = 'home'; + $item->slug = ''; $item->path = ''; - $item->urlRel = '/'; $item->pathWithoutType = DIRECTORY_SEPARATOR . 'index'; + $item->key = false; + $item->keyPath = false; + $item->keyPathArray = false; + $item->chapter = false; + $item->urlRel = '/'; + $item->urlRelWoF = '/'; + $item->urlAbs = $baseUrl; + $item->name = 'home'; + $item->active = false; + $item->activeParent = false; + $item->hide = false; return $item; } diff --git a/system/Settings.php b/system/Settings.php index 400ff3d..45df14d 100644 --- a/system/Settings.php +++ b/system/Settings.php @@ -92,7 +92,7 @@ class Settings 'contentFolder' => 'content', 'cache' => true, 'cachePath' => $rootPath . 'cache', - 'version' => '1.3.6.1', + 'version' => '1.3.6.2', 'setup' => true, 'welcome' => true, 'images' => ['live' => ['width' => 820], 'thumbs' => ['width' => 250, 'height' => 150]], diff --git a/system/author/js/vue-blox.js b/system/author/js/vue-blox.js index fcd9079..27e74f1 100644 --- a/system/author/js/vue-blox.js +++ b/system/author/js/vue-blox.js @@ -949,14 +949,14 @@ const tableComponent = Vue.component('table-component', { '<div class="actionline" @click="addbelowrow(value)">{{ \'add row below\'|translate }}</div>' + '<div class="actionline" @click="deleterow(value)">{{ \'delete row\'|translate }}</div>' + '</div>' + - '{{ value|translate }}</th>' + + '{{ value }}</th>' + '<td v-if="rowindex > 1" v-for="(value,colindex) in row" :contenteditable="colindex !== 0 ? true : false" @click="switchrowbar(value)" @blur="updatedata($event,colindex,rowindex)" :class="colindex !== 0 ? editable : noteditable">' + '<div v-if="colindex === 0 && rowbar === value" class="rowaction">' + '<div class="actionline" @click="addaboverow(value)">{{ \'add row above\'|translate }}</div>' + '<div class="actionline" @click="addbelowrow(value)">{{ \'add row below\'|translate }}</div>' + '<div class="actionline" @click="deleterow(value)">{{ \'delete row\'|translate }}</div>' + '</div>' + - '{{ value|translate }}</td>' + + '{{ value }}</td>' + '</tr>' + '</tbody>' + '</table>' +