Sidebar for homepage using article layout

Solution
Edit the forum_view template.

Add the following code:
Code:
<xf:if is="$forum.node_id == 1">
    <xf:sidebar key="homePage">
        Content ...
    </xf:sidebar>
</xf:if>

Like so:
1615340313401.webp

Change the node ID as required.

Add the sidebar content.

Enjoy.
Edit the forum_view template.

Add the following code:
Code:
<xf:if is="$forum.node_id == 1">
    <xf:sidebar key="homePage">
        Content ...
    </xf:sidebar>
</xf:if>

Like so:
1615340313401.webp

Change the node ID as required.

Add the sidebar content.

Enjoy.
 
Solution
Awesome. I have been able to achieve the original objection.
Now, I just need to find a way to use the article forum as index and have the home/index page not showing that long domain.std/forum/home/ url.
 
Why is XF installed in /forum if there is nothing in the root?
It was installed before XF started so it was put in the /forum/ folder and we had some other CMS on the roof.
Thinking about moving XF to roof and need to investigate any potential issues taking down the huge site.
 
Top Bottom