Skip to content

Commit

Permalink
Model Class von rex_neues_author ergänzen
Browse files Browse the repository at this point in the history
  • Loading branch information
alxndr-w committed Dec 16, 2023
1 parent ce38e37 commit 94a4b86
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions boot.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

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

rex_yform_manager_dataset::setModelClass(
'rex_neues_entry',
neues_entry::class,
Expand All @@ -8,6 +10,13 @@
'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) {
Expand Down

0 comments on commit 94a4b86

Please sign in to comment.