Quick Nav:  Online Store   |   Login | Register

Problem with core FAQ module in AJAX mode

Rate this topic:

Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
AuthorMessages
Rodney
<100 Posts
Posts:77


04/14/2008 12:26 AM  

Hi John,

I noticed that the core FAQ module stopped working in AJAX mode - you can see it here (click on the "What is a Poker Calculator" on the right hand side and a Jscript error occurs. I am not using JS merging,and do not have any rules enabled in my Admin config. The Whitespace rule in the global config has been commented out. I exclude all DesktopModules.

Any ideas?


thanks
Rodney Joyce
Smart-Thinker.com - DotNetNuke Modules for Social Networks
PokerDIY.com - Simple Poker Leagues
John Mitchell
Posts:3033


04/14/2008 7:52 AM  

Try adding   xmlHttp to your list of excludeFrom="All"

Are the rules to move the javascript links to the head section turned on in Snapsis.PageBlaster.config?

Rodney
<100 Posts
Posts:77


04/14/2008 5:30 PM  
Ok, the exclude did not make any difference, and yes, I have those rules enabled. Is there a away around it or do I have to comment them out?

thanks
Rodney Joyce
Smart-Thinker.com - DotNetNuke Modules for Social Networks
PokerDIY.com - Simple Poker Leagues
John Mitchell
Posts:3033


04/14/2008 5:36 PM  
Does it work if you are logged in?
I'll get this module installed in my dev environment and figure out what the problem is.
Rodney
<100 Posts
Posts:77


04/14/2008 5:47 PM  
Yes, when I am logged in it works. I see the rules in the config only fire if you are not authenticated...

thanks
Rodney Joyce
Smart-Thinker.com - DotNetNuke Modules for Social Networks
PokerDIY.com - Simple Poker Leagues
John Mitchell
Posts:3033


04/14/2008 5:58 PM  
Ok, I guess it has something to do with that. I had some difficulty getting those rules to work and had to only allow them when the user is not authenticated because different modules were expecting them to be in a different order. Some of the namespaces in the multiple javascript files in core DNN overlap and this causes the xmlhttp not to work if it gets merged in the wrong order.

That is why you see a rule to first move xmlhttp and then move all the rest.

You can try commenting out the one to move the xmlhttp and see if that helps.
John Mitchell
Posts:3033


04/14/2008 8:14 PM  
As I suspected, it works if the xmlhttp link is not moved first, but if I don't move it first then the new DNN NavMenu stops working.

I don't think you are using the new DNN NavMenu, so everything may work if you just remove the rule that moves the xmlhttp link.

I also noticed that you are not merging the JS files, so moving these links to the head section is really not optimizing anything anyway.
Rodney
<100 Posts
Posts:77


04/14/2008 11:34 PM  
Yes, that fixed it thanks. I am loosing all my rules ;) The reason I am not using JS Merge is that when I enabled that my menus stopped working. Does it work on most sites?

thanks
Rodney Joyce
Smart-Thinker.com - DotNetNuke Modules for Social Networks
PokerDIY.com - Simple Poker Leagues
John Mitchell
Posts:3033


04/15/2008 7:16 AM  
Some javascript files have errors and only work because of line feeds or extra spaces.
The JSMin operation removes all line feeds and extra spaces.

You may be able to still use the merge, and that way you will also get compression which will still optimize them almost as much.
To bypass the JSMin put an exclude path in your global config like this:

< path pattern="\.js" excludeFrom="JSMin" />


Thomas Jeppesen
<20 Posts
Posts:3


06/17/2008 3:37 PM  
I am having the same problem with the FAQ module. adding xmlHttp to my excludes doesn't help.
I did find that commenting out DNNMasters SEO line from web.config (< add name="DNNMastersSEORewrite" type="DNNMasters.SEO.Rewrite.RewriteUrl,DNNMasters.SEO.Rewrite" / >) had it working again. The line is above pageblaster (and only works when it is above pageblaster).

Any thoughts on how to get both of these working again?
John Mitchell
Posts:3033


06/17/2008 3:57 PM  

Hi Thomas,

The way you describe it, it sounds like it is the DNNMasters module that is causing the FAQ module not to work.

I'm not sure what might be causing those two modules to not work together.

Does it work when you add a PageBlaster exclude for JS like this:

path pattern="\.js" excludeFrom="All" />

Thomas Jeppesen
<20 Posts
Posts:3


06/17/2008 5:02 PM  
Nope.
I'm starting to think pageblaster may not be working at all, on sites using DNNMasters SEO.
Is there a test I can run to find out?
John Mitchell
Posts:3033


06/17/2008 5:18 PM  

Check out this thread:  How To:Verify PageBlaster is running correctly

You can also turn on trace level="Debug" and log PageBlaster to the trace file.

Thomas Jeppesen
<20 Posts
Posts:3


06/17/2008 5:55 PM  
thanks,
I'll look into that.

I did notice several errors that crop up (in the DNNMasters SEO log) when I go to the FAQ page:

http://mydomain.com/404.grn?noerror=633493235369631977
http://mydomain.com/mydomain-services.grndefault.aspx
http://mydomain.com/DesktopModules/Snapsis/PageBlaster/Cache/CSS/c0cb5f0fcf239ab3d9c1fcd31fff1efc.css.axd

strange..

Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
Forums >Snapsis Product Support >PageBlaster > Problem with core FAQ module in AJAX mode



ActiveForums 3.7
Powered by: Snapsis Software