Login

mvnForum

mvnForum Homepage Welcome Guest
  Search  
  Index  | Recent Threads  | Unanswered Threads  | List Polls  | Public Albums  | Who's Online  | Help


Quick Go »


No member browsing this thread
Thread Status: Active
Total posts in this thread: 5
Post new Thread
Author
Previous Thread This topic has been viewed 1580 times and has 4 replies Next Thread
Male thembile
Member




Joined: Jan 5, 2004
Post Count: 65
Status: Offline
Reply to this Post  Reply with Quote 
smile Category a link in ListForums

Can we make the category title a link in the list forums page?
Basically I want to be able to show one category with all it's forums.

I'll do this in my installation but can someone do this and integrate in the main app?

This was a easy add, took about 1/2 hour. I'm sure mvn folks can add this relatively fast.

1. Added listcategory.jsp which is a copy of listforums.jsp
1a. Import net.myvietnam.mvncore.util.ParamUtil
2. added condition to match category id passed in listcategory loop.
3. modified ActionInUserModule.java .. added else if
4. modified UserModuleProcess.java ..another else if
5. modified UserModuleURLMapHandler.java .. else if

changes look like listforums.jsp entry in these java files.

access url with: /listcategory?category=8
-T
----------------------------------------
[Edit 1 times, last edit by thembile at Jan 22, 2004 10:18:41 PM]
[Jan 22, 2004 8:13:45 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Male minhnn
mvnForum Developer
Member's Avatar

Vietnam
Joined: Oct 16, 2002
Post Count: 2956
Status: Offline
Reply to this Post  Reply with Quote 
Re: Category a link in ListForums

Thanks for your suggestion, actually I think about this, and in listforums I can add a parameter to check the category id, but I dont know good way to put the link in the page, because add 1 more link will make mvnForum seems to be complex and confused to the users.
----------------------------------------
Minh Nguyen
mvnForum Developer
Want a free, open source Java Jsp/Servlet forum, get mvnForum at http://www.mvnForum.com

http://www.DienDanLinux.org
[Feb 8, 2004 12:10:11 PM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest    http://www.MyVietnam.net    minhnn_mvn [Link] Report threatening or abusive post: please login first  Go to top 
Male btjanes
Stranger




Joined: Dec 8, 2005
Post Count: 7
Status: Offline
Reply to this Post  Reply with Quote 
Re: Category a link in ListForums

I too would like the ability to be able to view a specific category only. Ideally, I would like to be able to click on the category name just like I do with the forum name. The page should then show only the category chosen and the forums contained therein. Has there been any update on this one or does anyone have any examples of how to modify the code to do this? I tried to create my own but got list in the code. I could probably spend the time on it and figure it out but I'm on a strict timeline to get this up and running for my management and figured I'd ask first.

Brian
[Dec 9, 2005 12:48:00 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Male minhnn
mvnForum Developer
Member's Avatar

Vietnam
Joined: Oct 16, 2002
Post Count: 2956
Status: Offline
Reply to this Post  Reply with Quote 
Re: Category a link in ListForums

Hi,

Currently mvnForum does not support this and it is in todo task. One possible improvement is option to list forums in only 1 category, option to list forums in 1 category, but also show other categories so that user can click on.

Cheers smile
----------------------------------------
Minh Nguyen
mvnForum Developer
Want a free, open source Java Jsp/Servlet forum, get mvnForum at http://www.mvnForum.com

http://www.DienDanLinux.org
[Dec 13, 2005 3:23:11 PM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest    http://www.MyVietnam.net    minhnn_mvn [Link] Report threatening or abusive post: please login first  Go to top 
Male minhnn
mvnForum Developer
Member's Avatar

Vietnam
Joined: Oct 16, 2002
Post Count: 2956
Status: Offline
Reply to this Post  Reply with Quote 
Re: Category a link in ListForums

Can we make the category title a link in the list forums page?
Basically I want to be able to show one category with all it's forums.

I'll do this in my installation but can someone do this and integrate in the main app?

This was a easy add, took about 1/2 hour. I'm sure mvn folks can add this relatively fast.

1. Added listcategory.jsp which is a copy of listforums.jsp
1a. Import net.myvietnam.mvncore.util.ParamUtil
2. added condition to match category id passed in listcategory loop.
3. modified ActionInUserModule.java .. added else if
4. modified UserModuleProcess.java ..another else if
5. modified UserModuleURLMapHandler.java .. else if

changes look like listforums.jsp entry in these java files.

access url with: /listcategory?category=8
-T

For your information, this suggestion has been implemented since version 1.1 GA
----------------------------------------
Minh Nguyen
mvnForum Developer
Want a free, open source Java Jsp/Servlet forum, get mvnForum at http://www.mvnForum.com

http://www.DienDanLinux.org
[Jun 9, 2008 6:55:37 AM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest    http://www.MyVietnam.net    minhnn_mvn [Link] Report threatening or abusive post: please login first  Go to top 
Show Printable Version of Thread  Post new Thread