• 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 3.x Series
    • Bug
    • Table of Contents Indentation, Structuring

    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: Table of Contents Indentation, Structuring

    • Issue Tools
      • View Changes
    1. issueid=330 December 10, 2008 2:42 PM
      Rand al'Thor Rand al'Thor is offline
      New Member
      Table of Contents Indentation, Structuring

      Installing VaultWiki was pretty easy, but now I'm having some trouble with the TOC. Here's the "learn VaultWiki" demo I used, testing it out before I enable it for everyone:

      Code:
      [noparse][h=3]Spinal Cord Injury[/h]
      
      Blah blah blah
      
      [h=3]Research[/h]
      
      Keirstead, Young, Davies
      
      [h=3]Treatment[/h]
      
      None.
      
      [h=3]Stem Cells?[/h]
      
      Nope.
      
      [h=4]Embryonic?[/h]
      
      Animals maybe.  Humans?  Not yet.
      
      [h=4]iPS?[/h]
      
      Not in humans.
      
      [h=4]Other?[/h]
      
      Only scams.
      
      [h=3]Pain[/h]
      
      Neuropathic.
      
      [h=3]Anything else?[/h][/noparse]
      The preview looks like this:

      http://sci.rutgers.edu/test-toc.gif

      Shouldn't Pain and "Anything else?" be outdented, starting a new subgroup?

      Thanks,

      Rand
    Issue Details
    Issue Number 330
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category Headlines / Sections
    Status Fixed
    Priority 5 - Minor Bugs / Small Tweaks
    Affected Version 2.1.3
    Fixed Version 2.2.0
    Milestone VaultWiki 2.2.0
    Software DependencyAny
    Users able to reproduce bug 1
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. December 10, 2008 11:32 PM
      pegasus pegasus is offline
      VaultWiki Team
      Well, this occurs because you start with a level 3 headline, without ever using a level 2 beforehand. This creates a nesting issue, because the table of contents generator is tricked into thinking there are more levels than you intended.

      I will try to figure out another way to renumber the headlines than is currently in effect. In the meantime, use [h=2] for starting headlines.

      Fixed for the next build.
      Reply Reply  
    2. December 15, 2008 10:33 AM
      Rand al'Thor Rand al'Thor is offline
      New Member
      Thanks. I just noticed that this thread had been moved.
      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 10:59 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 © 2023 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2023 DragonByte Technologies Ltd.
    Copyright © 2008 - 2013 VaultWiki Team, Cracked Egg Studios, LLC.