{"id":22963038,"url":"https://github.com/terminal42/contao-rootcontent","last_synced_at":"2025-08-13T06:34:36.293Z","repository":{"id":2701697,"uuid":"3695312","full_name":"terminal42/contao-rootcontent","owner":"terminal42","description":null,"archived":false,"fork":false,"pushed_at":"2024-05-31T14:04:33.000Z","size":65,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-04-01T18:50:13.010Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/terminal42.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null},"funding":{"github":"terminal42","ko_fi":"terminal42"}},"created_at":"2012-03-12T13:25:45.000Z","updated_at":"2024-11-22T09:08:49.000Z","dependencies_parsed_at":"2022-08-24T13:39:35.534Z","dependency_job_id":"f539934d-6cd2-47e8-a0e6-c21f07057105","html_url":"https://github.com/terminal42/contao-rootcontent","commit_stats":{"total_commits":30,"total_committers":5,"mean_commits":6.0,"dds":0.2666666666666667,"last_synced_commit":"58237a4d7554b89876f7cc8ab9e5363eab3ed4cd"},"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/terminal42/contao-rootcontent","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terminal42%2Fcontao-rootcontent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terminal42%2Fcontao-rootcontent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terminal42%2Fcontao-rootcontent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terminal42%2Fcontao-rootcontent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/terminal42","download_url":"https://codeload.github.com/terminal42/contao-rootcontent/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terminal42%2Fcontao-rootcontent/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270196539,"owners_count":24543451,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-13T02:00:09.904Z","response_time":66,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-14T19:20:00.269Z","updated_at":"2025-08-13T06:34:35.939Z","avatar_url":"https://github.com/terminal42.png","language":"PHP","funding_links":["https://github.com/sponsors/terminal42","https://ko-fi.com/terminal42"],"categories":[],"sub_categories":[],"readme":"# Root content extension for Contao Open Source CMS\n\nThe extension allows creating root-page aware content in Contao.\n\n\n## Installation\n\nChoose the installation method that matches your workflow!\n\n### Installation via Contao Manager\n\nSearch for `terminal42/contao-rootcontent` in the Contao Manager and add it\nto your installation. Apply changes to update the packages.\n\n### Manual installation\n\nAdd a composer dependency for this bundle. Therefore, change in the project root\nand run the following:\n\n```bash\ncomposer require terminal42/contao-rootcontent\n```\n\nDepending on your environment, the command can differ, i.e. starting with\n`php composer.phar …` if you do not have composer installed globally.\n\nThen, update the database via the `contao:migrate` command or the Contao install tool.\n\n\n## Usage\n\nThere are multiple features to create root-page aware content.\n\n\n### Create articles in the root page\n\nThe extension allows to create articles in the root page. Here's how it\nworks:\n\n1. Edit your **theme** and add custom content sections. Each theme\n   can have multiple sections with root content.\n2. Add an article to a root page. Contrary to regular articles, you\n   cannot enter a name but select one of the sections from your theme.\n3. Create a root-content module in your theme and select the section\n   you want to output.\n4. Place the new module anywhere in your page layout.\n\n\n### Limit front end modules per root page\n\nFor each front end module, there is a new setting to limit it for one\nor multiple root pages. This way you can create language-aware modules.\nSimply place all of them in your page layout and only the respective\nones will be rendered one at a time.\n\n\n### `\u003cbody\u003e` css class per root page\n\nAdd css classes to the root page and they will be inherited through all pages.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterminal42%2Fcontao-rootcontent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fterminal42%2Fcontao-rootcontent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterminal42%2Fcontao-rootcontent/lists"}