Samuel
-
Total Posts
:
11786
-
Reward points
:
168350
- Joined: May 23 '01
-
Status: offline
|
Add a "reply to message" button to the end of the message page
Tue. Jul 8, '08 10:44 PM
( permalink)
The "Reply to message" menu is only available at the top of the page, so if you want to add a menu to the bottom of the page, do this: Open tm.aspx, and add this line
<asp:PlaceHolder ID="ForumMenus1" runat="server" />
right below
<ASPPG:ThemeableLiteral ID="ForumTableBottom" runat="server" SkinID="WrapperEnd" />
And then in tm.aspx.vb, look for a sub called: BindThreadMenu() Add the following code to the end of this sub (inside this sub)
Dim ctl1 As Control = LoadControl(UCDir + "MessageMenus.ascx")
ForumMenus1.Controls.Add(ctl1)
Dim MessageMenuCtl1 As ASPPG.PGDMessageMenus = DirectCast(ctl1, ASPPG.PGDMessageMenus)
BindThreadPostMenu(MessageMenuCtl1.LeftMenu)
This is it.
ASPPlayground.NET ~ see our Version 4 plans here
|
|
|
|