[SOLVED] Adding a phpBB Forum

Ask for help or provide support to other members.
Post Reply
superoxide
Posts: 2
Joined: Thu Jul 01, 2021 7:00 pm

[SOLVED] Adding a phpBB Forum

Post by superoxide »

Hello,
I am using the latest version of wondercms and I want to add a forum link the same way WonderCMS community page is.
I have installed the forum in the subdirectory /forum ,
My question is how can I add a menu item that takes it to the forum page exactly the same way WonderCMS comunity link works.

Thanks
User avatar
wiz
Posts: 754
Joined: Sat Oct 30, 2010 12:23 am

Re: Adding a phpBB Forum

Post by wiz »

Hi superoxide.

The easiest way is to manually edit your theme.php and add the link.
WonderCMS website solves this by adding a new

Code: Select all

<li></li>
item along with the actual link you want to redirect to.

Code: Select all

<ul>
    <? echo $Wcms->menu() ?>

    <li class="nav-item">
        <a href="/community" class="nav-link" title="Community">
            Community
        </a>
    </li>
</ul>
This should solve your issue.
superoxide
Posts: 2
Joined: Thu Jul 01, 2021 7:00 pm

Re: Adding a phpBB Forum

Post by superoxide »

Thank you, that worked.
User avatar
wiz
Posts: 754
Joined: Sat Oct 30, 2010 12:23 am

Re: Adding a phpBB Forum

Post by wiz »

Gladl to help - marking this thread as solved.

If you want, you can post your website in the showcase section (should attract some visitors) :)
Post Reply