{"id":20961827,"url":"https://github.com/heimrichhannot/contao-blocks","last_synced_at":"2026-02-25T17:10:30.128Z","repository":{"id":26459910,"uuid":"29911258","full_name":"heimrichhannot/contao-blocks","owner":"heimrichhannot","description":"Contao blocks module is a site-dependent container, that manipulates the visibility of elements.","archived":false,"fork":false,"pushed_at":"2025-11-03T13:04:02.000Z","size":456,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":6,"default_branch":"v2","last_synced_at":"2025-11-03T15:05:31.289Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/heimrichhannot.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2015-01-27T11:31:26.000Z","updated_at":"2025-11-03T13:04:00.000Z","dependencies_parsed_at":"2023-11-16T11:27:14.973Z","dependency_job_id":"8b018015-50f9-4b1a-98d4-a44c788e9f05","html_url":"https://github.com/heimrichhannot/contao-blocks","commit_stats":{"total_commits":108,"total_committers":10,"mean_commits":10.8,"dds":0.4629629629629629,"last_synced_commit":"f4d1984d30a5cd874f5b60dcbd125cfde4a26032"},"previous_names":[],"tags_count":97,"template":false,"template_full_name":null,"purl":"pkg:github/heimrichhannot/contao-blocks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heimrichhannot%2Fcontao-blocks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heimrichhannot%2Fcontao-blocks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heimrichhannot%2Fcontao-blocks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heimrichhannot%2Fcontao-blocks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/heimrichhannot","download_url":"https://codeload.github.com/heimrichhannot/contao-blocks/tar.gz/refs/heads/v2","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heimrichhannot%2Fcontao-blocks/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29832136,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-25T15:41:19.027Z","status":"ssl_error","status_checked_at":"2026-02-25T15:40:47.150Z","response_time":61,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-11-19T02:17:45.043Z","updated_at":"2026-02-25T17:10:30.113Z","avatar_url":"https://github.com/heimrichhannot.png","language":"JavaScript","readme":"# Blocks\n\nContao blocks module is a site-dependent container, that manipulates the visibility of elements.\n\n## Features\n\n### Hooks\n\nName | Arguments | Expected return value | Description\n---- | --------- | --------------------- | -----------\nrenderCustomBlockModule | $objBlockModule, $strReturn | the rendered module as string | Add custom block module type rendering\n\n### Modules\n\nName | Description\n---- | -----------\nModuleBlock | Checks the visibility of the block on the current page and renders it according to his type (article, content, module)\n\n## Help\n\n### Get auto_item title in breadcrumb\n\nDue a limitation in contao it is not possible to set the auto_item title from the breadcrumb hook (instead the containing page is shown twice), so you need to change the `mod_breadcrumb` template instead:\n\n```php\n// Find this lines:\n \n\u003c?php if ($item['isActive']): ?\u003e\n    \u003cli class=\"active\u003c?php if ($item['class']): ?\u003e \u003c?= $item['class'] ?\u003e\u003c?php endif; ?\u003e last\"\u003e\u003c?= $item['pageTitle'] ?: $item['title'] ?\u003e\u003c/li\u003e\n\n// Replace '\u003c?= $item['pageTitle'] ?: $item['title'] ?\u003e' with '{{page::pageTitle}}'\n\n\u003c?php if ($item['isActive']): ?\u003e\n    \u003cli class=\"active\u003c?php if ($item['class']): ?\u003e \u003c?= $item['class'] ?\u003e\u003c?php endif; ?\u003e last\"\u003e{{page::pageTitle}}\u003c/li\u003e\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheimrichhannot%2Fcontao-blocks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fheimrichhannot%2Fcontao-blocks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheimrichhannot%2Fcontao-blocks/lists"}