Skip to content
This repository has been archived by the owner on Jan 22, 2024. It is now read-only.

Commit

Permalink
Merge branch 'master' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
cliffparnitzky committed Oct 1, 2019
2 parents 7368cac + 32c237d commit ab2c695
Show file tree
Hide file tree
Showing 13 changed files with 614 additions and 3 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Contao Official Demo",
"license": "CC-BY-SA-4.0",
"require": {
"contao/core-bundle":"~4.6.4",
"contao/core-bundle":"~4.8.4",
"contao-community-alliance/composer-plugin":"~3.0"
},
"replace": {
Expand All @@ -14,7 +14,7 @@
"contao": {
"sources": {
"src/files/contaodemo": "files/contaodemo",
"src/templates/codv4.2.2_contao_4.6.4.sql": "templates/codv4.2.2_contao_4.6.4.sql",
"src/templates/codv4.3.0_contao_4.8.4.sql": "templates/codv4.3.0_contao_4.8.4.sql",
"src/templates/contaodemo": "templates/contaodemo"
}
}
Expand Down
Binary file added docs/SQL Export.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions docs/Update_COD.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# How to update the COD

## Contao
- use last version of COD and import fresh SQL template
- update Contao to new version und update database
- export database (see configuration `SQL Export.png`, remove `tl_log` entry)

## SQL
- archive old SQL file (move to folder `sql-archive`)
- create new SQL file in folder `src\templates\` with format `codvX.X.X_contao_Y.Y.Y.sql` (X.X.X is the new COD version, Y.Y.Y the min Contao version)
- insert SQL content from export

## `composer.json`
- define min version für `core-bundle`
- update referenced SQL file name

## Theme Import
- use export function in backend and replace file `src\files\contaodemo\contao_official_demo.cto`
Binary file modified src/files/contaodemo/contao_official_demo.cto
Binary file not shown.
3 changes: 2 additions & 1 deletion src/files/contaodemo/theme/scss/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ $inputOnBg: #fdfdfd;
$errorColor: #c20000;
$confirmColor: #00adf1;

@function data-quote($input) { /* compile $input in single quotes */
/* compile $input in single quotes */
@function data-quote($input) {
@return "'" + $input + "'";
}
592 changes: 592 additions & 0 deletions src/templates/codv4.3.0_contao_4.8.4.sql

Large diffs are not rendered by default.

0 comments on commit ab2c695

Please sign in to comment.