Skip to content

Commit

Permalink
Version 1.4.6 finalize
Browse files Browse the repository at this point in the history
  • Loading branch information
trendschau committed Jun 13, 2021
1 parent d9573d4 commit bc5c073
Show file tree
Hide file tree
Showing 9 changed files with 57 additions and 2 deletions.
File renamed without changes.
15 changes: 15 additions & 0 deletions content/01-cyanine-theme/00-footer.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
meta:
title: '3-Column Footer'
description: 'Cyanine provides a three column footer at the bottom of each page. You can use markdown for each column. Make sure that you use the correct headline-level (we suggest a headline level 3 or level 4 to keep the logical headline hierarchy in the document). You can, of course, also add link-lists or'
heroimage: null
heroimagealt: null
owner: null
author: trendschau
manualdate: ''
modified: '2021-05-18'
created: '2020-06-11'
time: 23-42-27
navtitle: ''
hide: false
allowedrole: null
alloweduser: null
13 changes: 13 additions & 0 deletions content/01-cyanine-theme/01-content-elements.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
meta:
title: 'Content Elements'
description: "There are a lot of other settings for your content area. For example: \n"
heroimage: ''
heroimagealt: null
owner: testauthor
author: trendschau
manualdate: null
modified: '2020-06-14'
created: '2020-06-11'
time: 21-05-02
navtitle: 'content elements'
hide: false
13 changes: 13 additions & 0 deletions content/01-cyanine-theme/02-colors-and-fonts.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
meta:
title: 'Colors and Fonts'
description: 'First of all cyanine supports individual logos. If you want to use our logo, then please upload it in the system settings. Cyanine will automatically replace the title text with your logo. '
heroimage: null
heroimagealt: null
owner: null
author: trendschau
manualdate: null
modified: '2020-06-14'
created: '2020-06-11'
time: 20-37-12
navtitle: 'colors and fonts'
hide: false
File renamed without changes.
13 changes: 13 additions & 0 deletions content/01-cyanine-theme/03-landingpage.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
meta:
title: 'The Landingpage'
description: "Cyanine provides an optional landingpage with six segments: \nIntro with the content of the home page and an additional link/button.\nInfo with individual markdown content.\nTeaser with two elements. Each element has a headline, a text and a button/link.\nContrast with a headline, text-input and a"
author: trendschau
created: '2020-06-11'
time: 20-05-35
navtitle: landingpage
modified: '2020-06-11'
seo:
seoimage: ''
seoimagealt: null
Checkbox: null
mycfiel: { }
5 changes: 3 additions & 2 deletions system/Controllers/MetaApiController.php
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,6 @@ public function updateArticleMeta(Request $request, Response $response, $args)
}
else
{

if($fieldDefinition && isset($fieldDefinition['type']) && ($fieldDefinition['type'] == 'select' ) && isset($fieldDefinition['dataset']) && ($fieldDefinition['dataset'] == 'userroles' ) )
{
$userroles = [null => null];
Expand Down Expand Up @@ -291,7 +290,9 @@ public function updateArticleMeta(Request $request, Response $response, $args)
if($this->item->elementType == "file" && strlen($this->item->order) == 12)
{
# create file-prefix with date
$datetime = $metaInput['manualdate'] . '-' . $metaInput['time'];
$metadate = $metaInput['manualdate'];
if($metadate == ''){ $metadate = $metaPage['meta']['created']; }
$datetime = $metadate . '-' . $metaInput['time'];
$datetime = implode(explode('-', $datetime));
$datetime = substr($datetime,0,12);

Expand Down

0 comments on commit bc5c073

Please sign in to comment.