{"id":20961714,"url":"https://github.com/heimrichhannot/contao-teaser","last_synced_at":"2025-05-14T07:30:56.897Z","repository":{"id":62515550,"uuid":"51296651","full_name":"heimrichhannot/contao-teaser","owner":"heimrichhannot","description":"Teaser is a contao content element, that provides the ability to link the element with pages, articles, files, downloads and external urls. Can be used as replacement for ce_page_teaser. ","archived":false,"fork":false,"pushed_at":"2021-07-01T09:50:26.000Z","size":421,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-28T04:02:58.302Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","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}},"created_at":"2016-02-08T12:28:42.000Z","updated_at":"2023-06-19T05:41:25.000Z","dependencies_parsed_at":"2022-11-02T13:16:03.440Z","dependency_job_id":null,"html_url":"https://github.com/heimrichhannot/contao-teaser","commit_stats":null,"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heimrichhannot%2Fcontao-teaser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heimrichhannot%2Fcontao-teaser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heimrichhannot%2Fcontao-teaser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heimrichhannot%2Fcontao-teaser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/heimrichhannot","download_url":"https://codeload.github.com/heimrichhannot/contao-teaser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254094824,"owners_count":22013648,"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","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:15:52.104Z","updated_at":"2025-05-14T07:30:56.179Z","avatar_url":"https://github.com/heimrichhannot.png","language":"PHP","readme":"# Teaser\n\n\u003e If you are using Contao 4, please use [Teaser Bundle](https://github.com/heimrichhannot/contao-teaser-bundle) instead!\n\nTeaser is a contao content element, that provides the ability to link the element with pages, articles, files, downloads and external urls.\nCan be used as replacement for ce_page_teaser. \n\n## Features\n \n* Custom text and css-class for more link\n* Link the whole article\n* Hide more link, link entire element.\n* Overwrite content template\n\n![alt privacy modal](./docs/img/teaser-preview.jpg)\n    \n    \n### Content elements\n\nName | Description\n---- | -----------\nHeimrichHannot\\Teaser\\ContentLinkTeaser | The content element, that provides the teaser settings.\n\n### Fields\n\ntl_content:\n\nName | Description\n---- | -----------\nsource | Radio button, to select the source type. (page, article, link, download, external url)\njumpTo | The page id, from tl_page, where to jump to.\narticleId | The article id, from tl_article, where to jump to.\nfileSRC | The file source uuid, from tl_files (required by link and download sources).\nteaserLinkText | A dropdown the link text can be selected from.\nteaserLinkCssClass | A text field, to put in the css class for the link element.\nteaserLinkBehaviour | A dropdown to select the link behaviour from.\nteaserContentTemplate | Overwrite the teaser content template.\n\n\n### Hooks\n\n\nName | Arguments | Expected return value | Description\n---- | --------- | --------------------- | -----------\ngenerateTeaserLink | $objElement, $showMore | $showMore | Add custom teaser source and modify the content element.\ngetContentSourceOptions | $arrOptions, $dc | $arrOptions | Add custom source options to the dca.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheimrichhannot%2Fcontao-teaser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fheimrichhannot%2Fcontao-teaser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheimrichhannot%2Fcontao-teaser/lists"}