What's New configuration

Jun 8, 2013 at 12:53 AM
I can't get the What's New module to show anything in it. Always comes up empty, except for the RSS icon. Seems to have no settings.

DNN 7.0.5, AF 5.0.3
Jun 9, 2013 at 1:38 PM
OK, I've looked further into this, even downloaded the source code for the module and looked through it, but I'm still mystified.

I simply cannot get the WhatsNewOptions.ascx control to show up. No matter what.

I'm really struggling with this.

Please, any suggestions?

When I put a page with the WhatsNew control into edit mode, I also only see the RSS icon on that control, and when I click the settings icon, I get no specific settings for the WhatsNew control. It is as if when viewing the control in edit mode, I am only presented with the View mode control.

The only other odd thing I've noticed is that if I go to the Security tab of any forum, and try to grant permission for something there, I get a popup messagebox that jsut says "Unauthorized"

Is this some kind of bizarre security issue?

Jun 10, 2013 at 7:27 PM
Change the container. I am guessing the module controls are not working. Use a module that shows module controls as links as oppose to icons.

You know the edit settings etc controls?

Upgrade to DNN 7.0.6. See if that fixes the edit/view issue. Don't know about the "Unauthorized" msg. Sorry.
Jun 11, 2013 at 12:13 AM
Edited Jun 11, 2013 at 12:18 AM
Thanks Frozen.

I have tried placing the module all over my site. I have tried placing it on pages with DarkKnight skins too. I have tried it on 7.0.6 on my dev machine, and in every location it shows up blank with just the RSS icon.

I've also inspected page source to see if anything it there but just not visible, but the control is empty.

I've also tried a repair install.

This is the entire content of the page source around the module:
<div id="dnn_ctr580_ModuleContent" class="DNNModuleContent ModActiveForumsWhatsNewC">
    <div style="padding:25px;padding-top:35px;"><a href="/desktopmodules/activeforumswhatsnew/feeds.aspx?portalId=0&amp;tabid=120&amp;moduleid=580" class="link-processed" style="color: rgb(51, 51, 51);"><img src="/DesktopModules/ActiveForums/images/feedicon.gif" border="0"></a></div>
I have pulled the latest source code from GitHub and had a go at building it to try stepping through it on my dev machine, but I can't get it to build successfully.

Jun 11, 2013 at 12:20 AM
5.0.3 technically isn't the most current. 5.0.4 beta is really the way to go. It's only a beta because of, well nothing really.

How did you get to this point? Upgraded from previous version of af or migration from DNN forum?

Something definitely doesn't sound right about your permissions. I'm using the what's new module just fine on several sites.
Jun 11, 2013 at 12:24 AM
This is a clean install on a site. No previous forums here.

The forum was installed on the site by host account, so I was hoping it was something as simple as that the owner of the forums was not technically a user of the site, but I can't track down any associations.

I'll try upgrading to 5.0.4 and see if that helps.


Jun 11, 2013 at 1:25 AM
I upgraded to 5.0.4 and that fixed the "Unauthorized" message, but the module is still blank wherever I place it.
Jun 12, 2013 at 7:56 AM
OK, I fixed it.

There is a bug in the DNN Menu code introduced in (I think) DNN 7.0.5 and still present in 7.0.6 which prevents you from being able to access the settings of this and many other modules.

Once I fixed the javascript in my local copy, I can now edit the settings for the Whats New box.

Basically there is a bug in a file called ModuleActions.js which required a quick fix.
Jun 23, 2014 at 7:58 PM

Care to share your fix?
Jun 23, 2014 at 11:11 PM
Here's the change log. I don't have the actual files to hand, but you could work it out from here. find the file ModuleActions.js, and search for the text "container.on"

This is confirmed fixed in 7.1.1

From the change:
A javascript error in the file ModuleActions.js that was introduced to the codebase with commit 71954 causes DNN 7.0.5 and 7.0.6 pages to fail to load completely in edit mode.
It also prevents popout menus from showing when hovering over the action icons of a module in edit mode.
Developer appears to have used container.on when they should have used container.trigger

Jun 24, 2014 at 4:06 PM
Thanks for the reply Dylan.

I solved my problem by creating a new Group and Forum within the new group. Comparing the table entries for the new items against the "missing" items I discovered differences in the activeforums_Settings table. For the new items there were 43 rows compared to 26 for the "missing" items. I created the additional rows by deleting the 26 and re-creating them by copying values from the new group/forum. Something along the lines of:

DELETE FROM activeforums_Settings where GroupKey ='F:34'
insert into activeforums_Settings( ModuleId, GroupKey, SettingName, SettingValue)
SELECT ModuleId , 'F:34' , SettingName , SettingValue
FROM activeforums_Settings where GroupKey ='F:55'

It looks as if a jump from AF 4.1.19 to 5.2.2 was a jump too far. Perhaps some update in between did some table updating that I was missing.