Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumHelp required in extending the Forum Module Help required in extending the Forum Module
Previous
 
Next
New Post
8/20/2008 8:57 AM
 

I am trying to extend the forum module by inserting few custom controls.

As an example I need to add a new linkbutton while viewing a post.

To do this in the forum source code i have made the following changes.

1. In the file components/UI/Posts.vb i have added the following coded into a method RenderPosts

RenderTableBegin(wr,

"", "", "", "", "0", "0", "", "", "0") '

RenderRowBegin(wr)

'

url = Utils.NewThreadLink(TabID, ForumId, ModuleID)

RenderCellBegin(wr,

"Forum_NavBarButton", "", "", "", "middle", "", "") '

RenderRowEnd(wr)

'

RenderTableEnd(wr)

'

RenderLinkButton(wr, url, ForumControl.LocalizedText(

RenderCellEnd(wr)

"Test"), "Forum_Link")'

2.Next i bulid this solution and made a zip file and placed it in the install/modules folder of the desktopmodules.

3.After this i install this module by logging in as host. When i added the module to a page i am not able to view this link.

How do go about adding the linkbutton in this case? Please do help me .

 
New Post
9/11/2008 12:01 PM
 

This would work if you have a resource key for Test.Text in your Forum_Control.ascx.resx I think it is. You would have to add an event handler in that page's code as well to dictate what is done during the button click.


Chris Paterra

Get direct answers to your questions in the Community Exchange.
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumHelp required in extending the Forum Module Help required in extending the Forum Module


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out