Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
felixhahnweilheim committed Dec 12, 2023
1 parent 7b6b4a4 commit f070bdd
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 35 deletions.
15 changes: 0 additions & 15 deletions Events.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,6 @@

class Events
{
public static function onAdminMenuInit($event)
{
$event->sender->addItem([
'label' => Yii::t('FlexThemeModule.admin', 'Flex Theme'),
'url' => Url::to(['/flex-theme/config']),
'group' => 'manage',
'icon' => Icon::get('paint-brush'),
'isActive' => (Yii::$app->controller->module
&& Yii::$app->controller->module->id === 'flex-theme'
&& (Yii::$app->controller->id === 'page' || Yii::$app->controller->id === 'config')),
'sortOrder' => 900,
'isVisible' => true,
]);
}

public static function onConsoleInit($event)
{
$event->sender->controllerMap['flex-theme'] = commands\DevController::class;
Expand Down
1 change: 1 addition & 0 deletions Module.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

namespace humhub\modules\flexTheme;

use humhub\modules\flexTheme\models\ColorSettings;
Expand Down
5 changes: 4 additions & 1 deletion docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
## TBA
**NOTE** Files in themes/FlexTheme/css now need to be writable by the PHP process (see https://docs.humhub.org/docs/admin/installation/#file-permissions)

- Enh: remove variable declaration from HTML (performance improvement)
- remove admin menu item
- Maintainance: update for HumHub 1.15.0
- New option: show file upload options as buttons instead of dropdown)
- New controller action: flex-theme/rebuild - only for developping!
- Enh: move variables to file (asset, enables browser caching)
- Enh: various code style improvements

## 0.2.1 (22 may 2023)
- Fix: save likeIconColor
Expand Down
2 changes: 1 addition & 1 deletion module.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "flex-theme",
"version": "0.2.1",
"version": "0.3.0-dev",
"name": "Flex Theme",
"description": "Flexible Theme for HumHub",
"humhub": {
Expand Down
18 changes: 0 additions & 18 deletions themes/FlexTheme/less/README.md

This file was deleted.

0 comments on commit f070bdd

Please sign in to comment.