Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

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

HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesdnnToolTip plugin only works when logged indnnToolTip plugin only works when logged in
Previous
 
Next
New Post
8/14/2011 6:29 PM
 
I've been trying to implement a dnnToolTip in some custom modules I created, and they were only working intermittently.  I just recently figured out that they only work when logged into the site.  Why might this be?  Both the page and the module have All Users permissions.

Gabe
 
New Post
8/15/2011 2:02 PM
 
No ideas so far eh?  Has anyone that reads this used the DNN 6 dnnToolTip jQuery plugin in a public page while not logged in successfully then?
 
New Post
8/15/2011 3:25 PM
 
Have you registred the jq ui plugin in the module?
 
New Post
8/15/2011 9:11 PM
 
Yes, I've tried requesting jquery registration and jquery ui registration, but settled on just RequestDnnPluginsRegistration();  Here's the code I used that results in a functioning dnnToolTip while logged in, but not while logged out.

Code Behind:
protected void Page_Load(object sender, EventArgs e)
{
    jQuery.RequestDnnPluginsRegistration();
}

Markup
<script type="text/javascript">
        $(function () {
            $('.dnnTooltip').dnnTooltip({ pinSelector: 'a.pinlHelp' });
        });
</script>
<div class="dnnTooltip chartHelp" style="width: 140px;">
    <label id="label" runat="server">
        <asp:LinkButton ID="cmdHelp" TabIndex="-1" runat="server" CausesValidation="False" EnableViewState="False" CssClass="dnnFormHelp">
            <asp:Label ID="lblLabel" runat="server" EnableViewState="False" Text="Click for more info" />
        </asp:LinkButton>
    </label>
    <asp:Panel ID="pnlHelp" runat="server" CssClass="dnnFormHelpContent dnnClear" EnableViewState="False" Style="display: none;">
        <asp:Label ID="lblHelp" runat="server" EnableViewState="False" class="dnnHelpText" Text="The quarterly growth chart demonstrates the historical effectiveness of an investment strategy by compounding an intial investment of $100,000 by the strategy's past quarterly performance each quarter." />
        <a href="#" class="pinHelp"></a>
    </asp:Panel>
</div>
 
New Post
8/16/2011 3:39 AM
 
if you're using the plugins you need to register them - http://www.dotnetnuke.com/Resources/Wiki/Page/Reusable-DotNetNuke-jQuery-Plugins.aspx . As the plugins use jquery you need to request it's registration also - http://www.dotnetnuke.com/Resources/Wiki/Page/jQuery.aspx

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesdnnToolTip plugin only works when logged indnnToolTip plugin only works when logged in


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