i would like to create simple page which would return just number of users in jforum. I have created statistics.htm in template/default directory, and i changed templates mapping added display.statistics = statistics.htm and i am trying to access page as /jForum/display/statistics.page but it says page doesn't exist. Am I missing something?
Thanks for help
Pavel [originally posted on jforum.net by palko]
In jForum, the first part of the URL after jForum (e.g. display) is a tag for the "module" you want to use. These are set in the modulesMapping.properties file and map request to a Command object subclass, e.g. PostAction
Then you need a second part of the URL to specify the "action" method in that object to call. E.g. /posts/list points to the list() method in the PostAction class.
The action method will set up the required "context" for the template page, which is found via the templateMapping file.