• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

How to create a new page

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • 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: 5573
144
Android Mac OS X Firefox Browser VI Editor Tomcat Server Safari
  • Mark post as helpful
  • send pies
  • 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
  • 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: 5573
144
Android Mac OS X Firefox Browser VI Editor Tomcat Server Safari
  • Mark post as helpful
  • send pies
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!