humhub / custom-pages

Create custom pages and widgets and share them with your users. Take advantage of a wide range of editing options, including HTML and Markdown.
27 stars 51 forks source link

PHP Container Pages too wide #208

Open jelofson opened 2 years ago

jelofson commented 2 years ago

Adding a PHP page to a space requires the php page to be in container_pages folder. This, then adds the "container" class to the content. The container class makes the content far too wide for the space. Perhaps I am not understanding what a container page is for. This seems the only option for a space PHP page, however.

jelofson commented 2 years ago

For now, I have modified the php view to mimic the markdown view with

<div class="panel panel-default <?= Html::encode($cssClass) ?>">
    <div class="panel-body">
        ///// php page logic here
    </div>
</div>