How to create a new page

I am New to JForum, I want to create a new page in this application. Can anyone please the steps involved to create a page?

Tim Moores

Saloon Keeper

Posts: 3881

91

posted 6 months ago

What do you mean by "create a new page"? JForum is discussion forum software. Do you mean creating a new discussion topic?

Also, which version of JForum are you using? In case it's 2.1.9, that is obsolete and had numerous bugs and security will not be addressed; and you should use 2.4.1 (on SourceForge) instead.

santha som

Greenhorn

Posts: 12

posted 6 months ago

I have customized the software. Like Recent Topics, Forum index,etc .. I want to create a new page called "About my company". How can i create it ?

I am using 2.1.8 version

Tim Moores

Saloon Keeper

Posts: 3881

91

posted 6 months ago

If you're talking about a static HTML page, or even a JSP page, you can just add it to the extracted directory of the JForum web app and link to it. If you want that page served through JForum, and use a FreeMarker template you created, you need to do a number of additional steps: create the template (most easily by basing it on some other template like user_profile.htm), define the template in templatesMapping.properties, create an Action class that uses the template (possibly based on net.jforum.view.forum.UserAction, in particular its profile method), and define the URL of the page in urlPattern.properties.

As to the version, you should not make anything based on JForum 2.1 publicly available. And even if it's used behind a company firewall I would caution against it - it has publicly documented security holes. You can get the current version from https://sourceforge.net/projects/jforum2/files/, or -even better- grab the latest source code from SVN - it has a number of additional fixes and features.