jQuery tabs fail for certain users
Last Post 10-22-2012 07:33 PM by Joe Clohessy. 3 Replies.
AddThis - Bookmarking and Sharing Button
Author Messages Not Resolved
Joe ClohessyUser is Offline
skipping stones
skipping stones
Posts:8
Avatar

--
10-20-2012 04:57 PM

    We have a form with multiple jQuery tabs.  It renders fine as long as you have some form of an elevated permission.  If you View access only, the tabs appear off to the right of the page, and all the questions from all the tabs appear on one page. 

    Interestingly, we notice that the tabs initially appear off to the right of the page even if you have elevated permissions, but then immediately re-render into proper alignment.  The process happens very quickly right at page load.

    Also, the line underneath the tabs disappears when the user has View permission only.

    We've tried everything under the sun to fix this and haven't had any luck.  We are using DNN 6.2.2. with DF 4.10.4.27125.

    This is seriously impacting our ability to deliver our product, as this form is our bread and butter and the primary users of the form only need to use (View) the form, not edit it any way.

    Attached are screenshots.

    Please help!! It is very urgent that we get this resolved ASAP. 

    Thank you!!

    Joe


    tabs_summary.png

    Joe ClohessyUser is Offline
    skipping stones
    skipping stones
    Posts:8
    Avatar

    --
    10-22-2012 10:01 AM
    Anyone?


    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    10-22-2012 02:40 PM
    Hi Joe - I believe I found the problem here... I researched this by signing into both accounts you sent over to us and here is what I found.

    Specifically - When you sign in with Admin rights, the version of DNN you have (or besides the version the specific settings for jQuery and also your DotNetNuke Cache settings) are only rendering a specific file once in a while. When you sign in with edit/admin rights you will notice that the file dnn.jquery.js DOES get rendered to the page. And when you sign in without edit rights to the module you will find that this file DOES NOT get rendered to the page. Ultimately this file needs to be injected for the module to utilize tabs correctly.

    So... My suggestion would be:
    1. Use a script injector module (there are a few free ones on the DNN Store) to have this always injected.
    OR
    2. We can log this as a bug with some specific DNN versions and choose to have our module inject the file directly.
    3. There might be other modules that call/utilize this file, so it could be as simply as adding one of these modules to the page and it could go ahead and register the file. You might try a standard HTML module and see if it injects the file.


    Thanks,

    Chad


    Joe ClohessyUser is Offline
    skipping stones
    skipping stones
    Posts:8
    Avatar

    --
    10-22-2012 07:33 PM
    Thanks Chad. Option 1 worked! I installed Will Strohl's Content Injection module and this did the trick. The HTML module alone did not. Problem solved, thank you!




    ---
  • film izle
  • 720 izle
  • film
  • sinema izle
  • film makinesi
  • T�rk�e dublaj film
  • film izle
  • film izle
  • baglan film izle
  • sinema izle
  • 1080 film izle
  • film mercegi