From a2fd39d2c8d6837f07e7df3bb9738d72e5c15409 Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Wed, 22 Jan 2020 00:27:48 +0100 Subject: manual + render pagelist class --- MANUAL.md | 28 ++++++++++++++++++++++++++-- app/class/Modelrender.php | 2 +- 2 files changed, 27 insertions(+), 3 deletions(-) diff --git a/MANUAL.md b/MANUAL.md index de1c636..b44b8e0 100644 --- a/MANUAL.md +++ b/MANUAL.md @@ -204,7 +204,29 @@ This will include the page [description](#description). #### Page list -The page list +Sometimes, when you want to add links to a lot of pages, it can be way to long. This tool is here to help you generate list of links automatically. + +It use the same logic as the page filter. + +When you are in the [home view](#home), ajust the filters using the [options panel](#options) to achieve the page selection you desire. Then select "filters" in the [menu](#home-menu), choose options you prefer and hit "generate". You can now copy and paste the code obtainded that way in one of the [elements](#markdown-elements) of a page. + +Display options are : + +- title : display the [title](#page-title) of the page +- description : display the [description](#description) of the page. +- thumbnail : display the [thumnail](#thumbnail) of the page. +- date : display the [date](#date) of the page. +- time : display the [time](#time) of the page. + +Generate : + + + + + #### Media list @@ -263,7 +285,9 @@ List of [users](#user-levels) that have edited the page, or that can do it. You #### Content -##### Main, Nav, Aside, Header, Footer +##### markdown elements + +Main, Nav, Aside, Header, Footer ##### CSS diff --git a/app/class/Modelrender.php b/app/class/Modelrender.php index 8bcf398..5a86d0b 100644 --- a/app/class/Modelrender.php +++ b/app/class/Modelrender.php @@ -677,7 +677,7 @@ class Modelrender extends Modelpage $optlist->parsehydrate($match['options']); $table2 = $modelhome->table2($this->pagelist, $optlist); - $content = '