+ Reply to Thread
Results 1 to 5 of 5

Thread: Extended NavTree text?

  1. #1
    Join Date
    Jun 2008
    Posts
    140

    Default Extended NavTree text?

    Does anyone know where I can find the script/variable that controls the length of the text present in the siteNavTree titles? I've been searching around for this for awhile, but haven't been able to locate it. Basically, I'm just looking to expand the siteNavTree width a little bit.

    Quick example:
    Page Title = "One Two Three Four Five"
    NavTree shows "One Two Three..."
    I'd like NavTree to show "One Two Three Four..."

    Thanks for any help!

  2. #2
    Join Date
    Jul 2007
    Posts
    347

    Default

    Does adding this to LocalSettings.php solve your issue?
    Code:
    $wgNavPaneWidth = 50000; //experiment with this number
    That setting determines the text cut-off.

    Also, this HowTo might be interesting for you: http://wiki.developer.mindtouch.com/...v_pane_wrap%3f

  3. #3
    Join Date
    Jun 2008
    Posts
    140

    Default

    Thank you very much, merktnichts
    The PHP variable worked perfect and I played around with Fiesta CSS until I figured out how to get the multiline stuff working. Put up my mods at the page you provide if anyone is interested: How do I...Have the text in the nav pane wrap?

  4. #4
    Join Date
    Feb 2008
    Location
    Munich, Germany
    Posts
    40

    Default

    Thanks for the guide anbrcyp. I had tried following the previous steps and was baffled when it didn't work. Gonna have a go of this sounds like it will work this time so thanks for witting everything up.

    Nothing is worse when someone finds a solution and says oh yeah there's a problem with the CSS but doesn't explain or post anything to help others.

  5. #5
    Join Date
    Jun 2008
    Posts
    140

    Default

    FYI: I recently updated what I wrote earlier since I realized it wasn't the "best" approach to modifying a Deki skin. Plus I forgot a minor detail about the background images being used to give the navigation tree buttons a smooth look. Hopefully, my updated info helps a little bit more.

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts