• Register
    • Help

    striker  0 Items
    Currently Supporting
    • Home
    • News
    • Forum
    • Wiki
    • Support
      • Manage Subscriptions
      • FAQ
      • Support For
        • VaultWiki 4.x Series
        • VaultWiki.org Site
    • What's New?
    • Buy Now
    • Manual
    • 
    • Support
    • VaultWiki 4.x Series
    • Feature
    • Turn off 'top' link

    1. Welcome to VaultWiki.org, home of the wiki add-on for vBulletin and XenForo!

      VaultWiki allows your existing forum users to collaborate on creating and managing a site's content pages. VaultWiki is a fully-featured and fully-supported wiki solution for vBulletin and XenForo.

      The VaultWiki Team encourages you to join our community of forum administrators and check out VaultWiki for yourself.

    Issue: Turn off 'top' link

    • Issue Tools
      • View Changes
    1. issueid=5156 July 11, 2017 10:24 AM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Turn off 'top' link

      Most custom styles and XF2 already have a floating top/down buttons. In such case the 'top' icon link is superfluous and needs to be disabled.
    Issue Details
    Issue Number 5156
    Issue Type Feature
    Project VaultWiki 4.x Series
    Category Styling / CSS
    Status Implemented
    Priority 7 - Minor Features / Enhancements
    Suggested Version 4.0.18
    Implemented Version 4.1.0 Alpha 3
    Milestone (none)
    Software DependencyXenForo 1.x
    License TypePaid
    Votes for this feature 1
    Votes against this feature 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. July 12, 2017 2:29 PM
      pegasus pegasus is offline
      VaultWiki Team
      If you find the link to be superfluous in a particular style, you can hide it with custom CSS:
      Code:
      .vw-collapse-top { display: none; }
      It would not make sense to add a global option for this because it would differ between styles, and it is needed by the default style. Perhaps a style property under the section for wiki headings would be better.
      Reply Reply  
    2. July 12, 2017 2:35 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Yes, I actually meant a style property. Please add this.
      Reply Reply  
    3. January 3, 2019 7:18 PM
      ACL ACL is offline
      Regular Member
      Bumping this for 4.1 Alpha and XF 2.0. I'm not sure how VW would want to handle this, i.e. add to XF2.0 branch only or all. If XF2.0 only, then the default scrollJumpButtons style property (in Page setup) could be of interest, which can either be '' (off), 'up' or 'both'.

      XF2.0 accesses this property within PAGE_CONTAINER template with:
      Code:
      <xf:if is="property('scrollJumpButtons')"><xf:if>
      If it is not practical to access this style property - or the plan is to support this request in more than XF2.0, then the next best approach might be to add a VW-specific boolean style property.

      ---

      Related discussion: XF2's own top button calls a click handler named 'scroll-to', which performs a scrolling action. This might be useful for the VW section top links, on XF2 sites where they havent been disabled. I've had a quick play with this via browser inspector, and it does appear that the vw-collapse-top link can access this with the following changes:
      • Add attribute data-xf-click="scroll-to"
      • Edit href attribute, change value from http://pageurl#top to only href="#top"
      Reply Reply  
    4. March 11, 2019 11:17 AM
      pegasus pegasus is offline
      VaultWiki Team
      Implemented in Alpha 3 for XenForo platforms (vBulletin does not support boolean style properties by default).

      In XenForo 1, a new style property was added under the group Wiki Section Headings > Show link to jump to Top
      In XenForo 2, the value of scrollJumpButtons is checked, so that the wiki's jump buttons are only shown if XenForo's is not.
      Reply Reply  
    + Reply

    Assigned Users
    Loading Please Wait
    Tags
    Loading Please Wait
    • Contact Us
    • License Agreement
    • Privacy
    • Terms
    • Top
    All times are GMT -4. The time now is 7:18 PM.
    This site uses cookies to help personalize content, to tailor your experience, and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Learn more… Accept Remind me later
  • striker
    Powered by vBulletin® Version 4.2.5 Beta 2
    Copyright © 2025 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
    Copyright © 2008 - 2024 VaultWiki Team, Cracked Egg Studios, LLC.