• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

How to create a new page

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
Saloon Keeper
Posts: 7100
165
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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: 7100
165
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic