contao / docs

Contao Documentation
https://docs.contao.org
Other
31 stars 142 forks source link

Explain theme creation for the manager #1347

Closed fkaminski closed 4 months ago

fkaminski commented 5 months ago

See #1344

@aschempp - Could you please check this?

netzarbeiter commented 5 months ago

I will merge it when @aschempp has approved the pull request.

zoglo commented 5 months ago

@fkaminski

Should we add the fact that every folder within the created zip archive will be imported into the root directory as well or would this be developer documentation.

E.g. you can add a config/config.yml with settings such as legacy_routing: false 🤔 Good example is the isotope demo: https://github.com/isotope/isotope-demo

Also, you can label the theme within the composer.json so it will appear within the selectable themes upon installation when synced with packagist:

See here: https://github.com/isotope/isotope-demo/blob/d046e56301d4a62c180c876c5d501da9612e49ec/composer.json#L3

fkaminski commented 5 months ago

@zoglo Thank you. A try in the last commit ...

fkaminski commented 5 months ago

@aschempp Thank you. See last commit.

fkaminski commented 5 months ago

@aschempp Wegen:

Über die Konfigurationsmöglichkeiten kannst du hierbei auch verschiedene Datenbanktabellen wie z. B. »tl_log« ausschließen.

Ist das in diesem Kontext (sql-dump) gestattet?

zoglo commented 4 months ago

@fkaminski

Ist das in diesem Kontext (sql-dump) gestattet?

It would completely skip these tables and create empty ones.

See documentation on how to do this: https://docs.contao.org/manual/en/cli/db-backups/#configuration

Code (4.13, also 5.3) https://github.com/contao/contao/blob/cf4a842d1c179f663881a6a575c15555d4e2933f/core-bundle/src/Doctrine/Backup/Config/AbstractConfig.php#L79-L101

aschempp commented 4 months ago

@aschempp Wegen:

Über die Konfigurationsmöglichkeiten kannst du hierbei auch verschiedene Datenbanktabellen wie z. B. »tl_log« ausschließen.

Ist das in diesem Kontext (sql-dump) gestattet?

Ja das ist kein Problem. Die Tabellen würden danach leer angelegt, genau wie wenn du ein neues Contao installierst aber keine Datenbank importierst.

fkaminski commented 4 months ago

@aschempp If it would be okay for you ...

I will merge it when @aschempp has approved the pull request.

fkaminski commented 4 months ago

Thank you @aschempp - See last commits