• HOME
    • PRODUCT
    • PRICING
    • ABOUT
    • COMMUNITY
    Menu
    • HOME
    • PRODUCT
    • PRICING
    • ABOUT
    • COMMUNITY
    Get in touch
    Get in touch
    Menu
    • HOME
    • PRODUCT
    • PRICING
    • ABOUT
    • COMMUNITY
    • Sign in
    • Start free trial
    • Get in touch
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags
    • Users
    • Groups
    • Documentation
      • Home
      • Read API
      • Write API
      • Plugin Development
    1. Home
    2. Ryozuki
    R
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 1
    • Best 0
    • Controversial 0
    • Groups 0

    Ryozuki

    @Ryozuki

    0
    Reputation
    177
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Ryozuki Unfollow Follow

    Latest posts made by Ryozuki

    • RE: Show Widgets by category

      Maybe this can help someone:

      You can also use jquery:

      This would go into the HTML widget:

      <span class="offtopic_forbidden">Off-topic is strictly forbidden.</span>
      <script>
      if (ajaxify.currentPage != 'category/14/staff-recruitment') {
          $('.offtopic_forbidden').hide()
      }
      </script>
      

      And this would be the container:

      <div class="alert ui-draggable-handle alert-danger offtopic_forbidden">{{body}}</div>
      

      Adjust 'category/14/staff-recruitment' to your needs.

      • $('.offtopic_forbidden') is a jquery selector, it selects the DOM element with the class .offtopic_forbidden

      • The function .hide() hides it.

      Additional info:

      • You can use another type of container, but be sure to add the class to it.

      • You can also rename offtopic_forbidden to your needs.

      posted in Technical Support
      R
      Ryozuki

    Get Started

    • Product
    • Pricing

    Resources

    • Demo Site
    • Answers
    • Docs
    • Bug Bounty

    Company

    • About
    • Blog
    • Contact
    Start Free Trial
    Github Facebook Instagram Twitter
    © 2014 – 2022 NodeBB, Inc. — Made in Canada.
    • Terms
    • Privacy
    • GDPR
    • DMCA
    • Contact
    Menu
    • Terms
    • Privacy
    • GDPR
    • DMCA
    • Contact