Content Type
Assign custom content type to data generated with CMS pages.
Content Type
Assign custom content type to data generated with CMS pages.
The plugin allows you to assign custom content types to CMS pages. It sets the correct HTTP headers for HTML, JSON, XML, PDF, JS or CSS output.
Installation via Command Line
php artisan plugin:install Xeor.ContentType
Installation
- Add Content Type plugin to a project.
- Create new page and select a content type on the Content Type tab of the Create/Edit Page form.
-
Dave Blakey
Using this plugin stops 404 pages from return with a 404 header (even though the plugin attempts to support that).
-
Sozonov Alexey author
Hi! Thank you for review!
The problem was fixed!
-
Oliver Jakoubek
Very useful - thanks! Your plugin allows me to render out the robots.txt as an plain text file.
-
Sozonov Alexey author
Thank you!
-
Александр Аблизин
Плагин бесспорно полезный и хороший, но $5 за смену Content-Type в cms.page? Я конечно поддержу, и желаю удачи в начинаниях, но при этом я огорчён, ведь OctoberCMS нуждается сейчас в таких бесплатных мелочах (для веб-мастеров, которые не знают как в секции code поменять header), что-бы развиваться, ведь чем больше он развивается тем больше площадка для платных расширений (действительно функциональных и с большей стоимостью), а крохоборство оттягивает этот момент.
-
Sozonov Alexey author
согласен, исправил
-
Umar Ahmed
Beautiful! Just a simple plugin to do a simple task. Using this right now to generate a custom RSS feed for my site's news page.
-
Sozonov Alexey author
Thank you!
-
| 1.1.4 |
Fixes another issue with status code. Aug 18, 2018 |
|---|---|
| 1.1.3 |
Pages can now be showed when maintenance mode is activated. Aug 18, 2018 |
| 1.1.2 |
Fixes issue with status code. Aug 18, 2018 |
| 1.1.1 |
Fixes problem with 404 pages. Aug 18, 2018 |
| 1.1.0 |
Added support for custom types. Jan 30, 2017 |
| 1.0.1 |
Bug fixes Aug 04, 2015 |
| 1.0.0 |
First version Feb 27, 2015 |