1. Include Static Templates
-
TypoScript → Includes
-
In the backend, go to Template on your root page and click Info/Modify → Constant Editor or Edit Template Record.
-
Under Includes, add in this order:
- Modules (modules)
- Forum (forum)
- Forum – Bootstrap 5 Stylesheet (forum)
-
Save the template.
-
Info:
The Bootstrap 5 Stylesheet template provides all required CSS classes as variables, so you can easily adjust your design via TypoScript without overriding Fluid templates.
2. Create a Page of Type “Forum”
-
In the Page Tree, create a new page “Forum” and set the Doktype to “Forum”.
-
Insert the Forum plugin on that page.
-
Plugin FlexForm:
-
Configure here whether and which tags (question categories) should be used.
-
For each forum topic, create one such page:
- All questions and answers belonging to that topic will be stored under this page.
- The association is handled automatically via the plugin configuration.
-
3. Frontend Users and Access Protection
-
Login Required
- Creating questions and posting answers is only possible when the user is logged in.
-
Protect Entire Forum
- If the entire forum should be visible only to logged-in users, set an access restriction on the page level for the appropriate frontend user group.
Info:
The frontend user records are provided by the EXT\:modules extension. Make sure it is installed and configured.
4. Special Features
-
Deleting Questions & Answers
- A question or answer can only be deleted as long as the question is not marked as “Answered.”
-
User Profile Page
- If you need a dedicated profile page for users, add it via the Modules plugin and include it in your page tree.
5. Verify & Test
- Create a test user and log in on the frontend.
- Create a new forum page and a topic (tagging).
- Test creating and deleting questions/answers—as both a logged-in and non-logged-in user.
- Check the styling: if necessary, adjust the Bootstrap variables in the Static Template.
With these steps, you have everything in place to get your TYPO3 forum up and running. Good luck!