# New addon - HBMode

**URL:** <https://discourse.getcockpit.com/t/new-addon-hbmode/563>\
**Category:** Addons\
**Created:** [February 5, 2019, 12:50am UTC](https://discourse.getcockpit.com/t/new-addon-hbmode/563 "2019-02-05T00:50:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pauloamgomes](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/pauloamgomes/32/48_2.png) [@pauloamgomes](https://discourse.getcockpit.com/u/pauloamgomes)\
**Post date:** [February 5, 2019, 12:50am UTC](https://discourse.getcockpit.com/t/new-addon-hbmode/563/1 "2019-02-05T00:50:27Z")

</div>

Well, that is a bit atypical as headless seems to be the trend for CMS’s, but that addon can make Cockpit work like a traditional CMS, by serving directly pages. More details on [https://github.com/pauloamgomes/CockpitCMS-HBmode](https://github.com/pauloamgomes/CockpitCMS-HBmode)

---

<div class="post-metadata">

**Author:** ![artur](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/artur/32/4_2.png) [@artur](https://discourse.getcockpit.com/u/artur)\
**Post date:** [February 5, 2019, 9:48pm UTC](https://discourse.getcockpit.com/t/new-addon-hbmode/563/2 "2019-02-05T21:48:41Z")

</div>

I would recommend to use cockpit in a subfolder and add a index.php file which loads `cockpitfolder/bootstrap.php` and then handles the routes.

---

<div class="post-metadata">

**Author:** ![pauloamgomes](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/pauloamgomes/32/48_2.png) [@pauloamgomes](https://discourse.getcockpit.com/u/pauloamgomes)\
**Post date:** [February 5, 2019, 10:02pm UTC](https://discourse.getcockpit.com/t/new-addon-hbmode/563/3 "2019-02-05T22:02:56Z")

</div>

Yeah, that can be a better approach, the addon/idea was mostly an experiment…
