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", "", "") '
RenderLinkButton(wr, url, ForumControl.LocalizedText(
RenderCellEnd(wr)
"Test"), "Forum_Link")' |
RenderRowEnd(wr)
'
RenderTableEnd(wr)
'
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 .