{"id":20877606,"url":"https://github.com/gergo85/oc-paste-content","last_synced_at":"2026-03-13T20:11:10.988Z","repository":{"id":150484676,"uuid":"71445582","full_name":"gergo85/oc-paste-content","owner":"gergo85","description":"Paste simple content (snippets) or HTML blocks to the CMS or plugins. This is an October CMS and Winter CMS plugin.","archived":false,"fork":false,"pushed_at":"2022-05-13T08:18:42.000Z","size":79,"stargazers_count":5,"open_issues_count":1,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-26T09:34:34.322Z","etag":null,"topics":["octobercms","octobercms-plugin","wintercms","wintercms-plugin"],"latest_commit_sha":null,"homepage":"http://octobercms.com/plugin/indikator-paste","language":"HTML","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/gergo85.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2016-10-20T09:14:21.000Z","updated_at":"2022-01-13T15:30:09.000Z","dependencies_parsed_at":"2023-05-02T07:12:05.957Z","dependency_job_id":null,"html_url":"https://github.com/gergo85/oc-paste-content","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/gergo85/oc-paste-content","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gergo85%2Foc-paste-content","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gergo85%2Foc-paste-content/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gergo85%2Foc-paste-content/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gergo85%2Foc-paste-content/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gergo85","download_url":"https://codeload.github.com/gergo85/oc-paste-content/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gergo85%2Foc-paste-content/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30474249,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-13T17:15:31.527Z","status":"ssl_error","status_checked_at":"2026-03-13T17:15:22.394Z","response_time":60,"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":["octobercms","octobercms-plugin","wintercms","wintercms-plugin"],"created_at":"2024-11-18T06:57:34.054Z","updated_at":"2026-03-13T20:11:10.947Z","avatar_url":"https://github.com/gergo85.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Paste Content plugin\nUse this plugin if you want to paste own predetermined simple content (snippets) or HTML blocks to the CMS or plugins.\n\n## Advantages\n* __It works with build-in CMS__ (Pages, Partials and Layout).\n* __It works with any plugins__ ([News \u0026 Newsletter](http://octobercms.com/plugin/indikator-news), [Content Plus](http://octobercms.com/plugin/indikator-content), etc.).\n* __Support multilanguage content__ Works with [Rainlab Translate](http://octobercms.com/plugin/rainlab-translate) plugin.\n* __Easy to paste snippets__ with the build-in WYSIWYG editor.\n\n## Works with CMS\n### Usage steps\n1. Add a new content on the __Paste Content__ page.\n1. Use the __paste__ Twig function.\n1. Add the __type and code__ of content.\n\n### Example\n__Predetermined content__\n\nCode: ads\n\nText: ADVERTISEMENT HERE\n\n__HTML code__\n```\n\u003cp\u003eLorem ipsum dolor sit amet, nibh aute et sodales at arcu, urna libero, euismod pharetra vestibulum tristique praesent. Ligula integer natoque ut praesent sapien, ligula placerat nisl neque id commodi, quis dictum sit erat ante mollis nascetur.\u003c/p\u003e\n\n{{ paste('text', 'ads') }}\n```\n\n__The result__\n\nLorem ipsum dolor sit amet, nibh aute et sodales at arcu, urna libero, euismod pharetra vestibulum tristique praesent. Ligula integer natoque ut praesent sapien, ligula placerat nisl neque id commodi, quis dictum sit erat ante mollis nascetur.\n\nADVERTISEMENT HERE\n\n### Twig function options\nName | Description\n----------- | -----------\nFirst parameter | The type of content: _text_ or _code_\nSecond parameter | The code of content or the ID of content\n\n## Works with plugins\n### Usage steps\n1. Add a new content on the __Paste Content__ page.\n1. __Paste the code__ of content to the blog post or other text.\n1. Use the __paste__ Twig filter on the front-end pages.\n\n### Example\n__Predetermined content__\n\nCode: ads\n\nText: ADVERTISEMENT HERE\n\n__Blog post__\n\nLorem ipsum dolor sit amet, nibh aute et sodales at arcu, urna libero, euismod pharetra vestibulum tristique praesent. Ligula integer natoque ut praesent sapien, ligula placerat nisl neque id commodi, quis dictum sit erat ante mollis nascetur.\n\n{{ ads }}\n\n__HTML code__\n```\n{{ post.content_html|paste }}\n```\n\n__The result__\n\nLorem ipsum dolor sit amet, nibh aute et sodales at arcu, urna libero, euismod pharetra vestibulum tristique praesent. Ligula integer natoque ut praesent sapien, ligula placerat nisl neque id commodi, quis dictum sit erat ante mollis nascetur.\n\nADVERTISEMENT HERE\n\n## Available languages\n* en - English\n* hu - Magyar\n\n## Installation\n1. Go to the __Settings \u003e Updates \u0026 Plugins__ page in the Backend.\n1. Click on the __Install plugins__ button.\n1. Type the __Paste Content__ text in the search field.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgergo85%2Foc-paste-content","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgergo85%2Foc-paste-content","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgergo85%2Foc-paste-content/lists"}