diff --git a/framework/core/js/src/forum/ForumApplication.tsx b/framework/core/js/src/forum/ForumApplication.tsx index fc1837f953..c37d0c1395 100644 --- a/framework/core/js/src/forum/ForumApplication.tsx +++ b/framework/core/js/src/forum/ForumApplication.tsx @@ -24,6 +24,7 @@ import type NotificationModel from '../common/models/Notification'; import type PostModel from '../common/models/Post'; import extractText from '../common/utils/extractText'; import Notices from './components/Notices'; +import Footer from './components/Footer'; export interface ForumApplicationData extends ApplicationData {} @@ -118,6 +119,7 @@ export default class ForumApplication extends Application { m.mount(document.getElementById('header-primary')!, HeaderPrimary); m.mount(document.getElementById('header-secondary')!, HeaderSecondary); m.mount(document.getElementById('notices')!, Notices); + m.mount(document.getElementById('footer')!, Footer); // Route the home link back home when clicked. We do not want it to register // if the user is opening it in a new tab, however. diff --git a/framework/core/js/src/forum/components/Footer.tsx b/framework/core/js/src/forum/components/Footer.tsx new file mode 100644 index 0000000000..1758033ceb --- /dev/null +++ b/framework/core/js/src/forum/components/Footer.tsx @@ -0,0 +1,7 @@ +import Component from '../../common/Component'; + +export default class Footer extends Component { + view() { + return null; + } +} diff --git a/framework/core/views/frontend/forum.blade.php b/framework/core/views/frontend/forum.blade.php index a05aef85f3..133c65b969 100644 --- a/framework/core/views/frontend/forum.blade.php +++ b/framework/core/views/frontend/forum.blade.php @@ -39,6 +39,8 @@ + + {!! $forum['footerHtml'] !!}