Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

General

Add forum PHPBB to GRAV

Started by Aleksei 7 years ago · 2 replies · 3268 views
7 years ago

Good day to all! Is it possible to add forum PHPBB to GRAV? On my old "handmade" site I copied forum folder and created a link like this: "site.name/forum" in the menu. But with GRAV this way is impossible.

I want to get link "forum" in the main menu, so I have to add folder "forum" to the "user/pages". But how to explain to GRAV that by clicking the link "site.name/ua/forum" it has to open the forum files?

last edited 06/02/19 by Aleksei
7 years ago

Welcome to the Grav community @Gray_and_Big!

You can create a normal Grav page and set it up so it redirects to your forum.

Read about using Headers / Frontmatter and specifically Redirect in the Grav docs. Also lots of questions and answers can be found by searching this forum.

If you still need help please post what you've done and we'll be happy to help you further.

7 years ago

Thanks a lot for your answer! I tried this solution: in the file "site,yaml" I added lines

TXT
routes:
/forum:  '/forum'

This method works for simple site with one language, but not for multilingual site. For example, this code "/ru/forum: '/forum'" does not work. I will try your solution to solve this problem. May be GRAV is too difficult for me :)

Suggested topics

Topic Participants Replies Views Activity
General · by Jerry Hunt, 4 days ago
2 82 12 hours ago
General · by pamtbaau, 17 hours ago
1 55 17 hours ago
General · by Andy Miller, 1 day ago
0 45 1 day ago
General · by Marcel, 12 months ago
6 348 5 days ago
General · by Duc , 5 days ago
3 43 5 days ago