Ok. I'm trying to modify the announcements module a little.
The titles of the 5 latest postings are displayed as links on the right. This box shows the 1st post by default, when the user clicks a post on the menu this box will change to display that news post. |
|
News post 1 |
News post 2 |
News post 3 |
News post 4 |
News post 5 |
|
That's basicly what i want to do to it. Figuring out how to do it isn't the problem though. I'm 99% sure that i've figured that out. I say 99% sure because i can't actualy test my code because i can't make it use my code.
I've downloaded the source version of the module, installed it, modified the source code to do what i want and rebuilt it. But the changes arn't taking effect. Nothing i change in the source is having any effect at all, even if i delete large chunks of the code and rebuild it it still works exactly as the standard module with no difference.
For some reason it doesn't seem to be associating announcements.ascx with announcements.ascx.vb
If i open announcements.ascx.vb any references to ui objects in announcements.ascx will say "####### is not a member of 'DotNetNuke.Modules.Announcements.Announcements
If i place a ui object on announcements.ascx.vb and double click it to make visual studio auto generate it's onclick event function it creates that function in <% %> tags in the designer instead of in the announcements.ascx.vb code file even though the announcements.ascx.vb code file is there and shows attached to announcements.ascx
Any code in the announcements.ascx.vb code file does not appear to get used at all. Even deleting large sections of code and rebuilding has no effect on the module working. It continues to work like normal.
I believe the root of the problem is that it's not rebuilding the dll. Since i'm new to dnn i'm going to assume that i've done something wrong like i've opened the source project wrongly or something.
Any idea's? or would anyone be able to tell me the proper way to open & rebuild the source modules so i can see where i went wrong?