Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/alexplusde/neues
Browse files Browse the repository at this point in the history
  • Loading branch information
alxndr-w committed Dec 16, 2023
2 parents 982e1b6 + 6c6e5e1 commit dc39cfa
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions boot.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,21 @@

if (rex_addon::get('yform')->isAvailable() && !rex::isSafeMode()) {

rex_yform_manager_dataset::setModelClass(
'rex_neues_entry',
neues_entry::class,
);
rex_yform_manager_dataset::setModelClass(
'rex_neues_category',
neues_category::class,
);
rex_yform_manager_dataset::setModelClass(
'rex_neues_author',
neues_author::class,
);
rex_yform_manager_dataset::setModelClass(
'rex_neues_entry',
neues_entry::class,
);
rex_yform_manager_dataset::setModelClass(
'rex_neues_category',
neues_category::class,
);
rex_yform_manager_dataset::setModelClass(
'rex_neues_author',
neues_author::class,
);

}


if (rex::isBackend() && 'neues/entry' == rex_be_controller::getCurrentPage() || 'yform/manager/data_edit' == rex_be_controller::getCurrentPage()) {
rex_extension::register('OUTPUT_FILTER', static function (rex_extension_point $ep) {
$suchmuster = 'class="###neues-settings-editor###"';
Expand Down

0 comments on commit dc39cfa

Please sign in to comment.