New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListdnnPanels not a functiondnnPanels not a function
New Post
10/21/2013 6:42 AM
on a couple of sites where I use the FNL I get a weird error which I traced back to originate from the script on form.aspx. The funny thing is that the error is shown to visitors only and goes away when logged on. I am using dnn 6.2.4 with hosted jquery. Any idea on how to fix that, please?

TypeError: $(...).dnnPanels is not a function
New Post
10/21/2013 12:19 PM
typically this means that a dependency (such as jquery) has not correctly been registered so is not available to all users (i.e. when you log in jquery is registered for all users so the error goes away). As such this would be an issue in FNL, I would check the version and see if an updated release was made available to fix. However you are using 6.2.4 and I recall there being an issue with hosted jquery around the 6.2.x timeframe so it's probably that i.e. you can fix it by using the local jquery version or by upgrading DNN to a more version (I actually think that issue was fixed in 6.2.7)

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
New Post
10/21/2013 1:11 PM
Hi Cathal,
thanks for your explanation, it sheds some light on this obscure issue. FYI, the local or hosted jquery does not make a difference, I tried it already. So perhaps is not a jquery issue?

As I am running the latest F&L the remaining option is to upgrade. However, there are other problems introduced in 6.2.5 and yet unresolved, so I'd rather stay with my version. Could I patch myself this sort of bad registration? How could I fix it?
New Post
10/21/2013 3:08 PM

As you don't have the issue with the default skin, this is most likely an issue with your skin.
On your test page I still see an extra registration of jQuery in the source:

<script type="text/javascript" src="/Portals/_default/Skins/BeModern/BeModernMenu/js/jquery-1.3.2.min.cs.js">

I thought you removed it from the skin?


New Post
10/21/2013 3:31 PM
Hi Timo,

I was also convinced it was the skin, but the same skin without the FnL shows no error. I have the error with another skin too from another vendor and only on the pages where FnL is placed. I have also discussed with the skin vendor and after having removed that jquery declaration (which is there logged in and not logged in) the error still shows up and only when not logged in.

My conclusion is that it is a combination on dnn 6.2.4 and FnL (because it calls the dnnpanels plugin).

P.S. Removing that jquery version, besides not solving the issue, introduces another error due to a missing function ("Uncaught ReferenceError: jQueryCS is not defined"). That's why I put it back in again. In theory that declaration for an oder jquery should screw things up, but without that things are worse off...
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListdnnPanels not a functiondnnPanels not a function

These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out