• Register
    • Help

    striker  0 Items
    Currently Supporting
    • Home
    • News
    • Forum
      • Try XenForo Demo
      • New Posts
      • FAQ
      • Calendar
      • Community
        • Groups
        • Albums
        • Member List
      • Forum Actions
        • Mark Forums Read
      • Quick Links
        • Today's Posts
        • Who's Online
      • Sponsor
        • Sponsor a Feature
        • List of Donors
    • Wiki
    • Support
    • What's New?
    • Buy Now
    • Manual
    • 
    • Forum
    • VaultWiki How-Tos
    • VaultWiki Questions
    • Modifying <titles>

    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.

    Results 1 to 3 of 3

    Thread: Modifying <titles>

    • Thread Tools
      • Show Printable Version
    1. August 22, 2013 #1
      beernuts
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      beernuts is offline
      Junior Member
      Join Date
      May 11, 2011
      Posts
      11
      Rep Power
      0

      Modifying <titles>

      This may be a stupid question, but I'm having a hard time figuring it out. The main page of our Wiki currently has a title of "Main Page - Site Name"

      So I dug up the template for this page and the title tag reads:

      Code:
      <title><vb:if condition="$thread['displaytitle']">{vb:raw thread.displaytitle}<vb:else />{vb:raw thread.title}</vb:if><vb:if condition="$tabtitle"> - {vb:raw tabtitle}<vb:if condition="$pagenumber > 1"> {vb:rawphrase page_x, {vb:raw pagenumber}}</vb:if></vb:if> - {vb:raw vboptions.bbtitle}</title>
      So my question is - What is $tabtitle referring to and where can I change it? I would like to add the name of our wiki in that output somewhere, and $tabtitle seems to be the perfect spot.

      Any input would be appreciated.
      Reply With Quote Reply With Quote

    2. August 22, 2013 #2
      pegasus
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      pegasus is offline
      VaultWiki Team
      Join Date
      March 28, 2004
      Location
      New York, NY
      Posts
      2,959
      Blog Entries
      18
      Rep Power
      687
      You should be able to modify $tabtitle in the hook vault_showthread_complete. You can make a plugin something like:
      Code:
      if ($tabtitle)
      {
      $tabtitle .= ' - ';
      }
      
      $tabtitle .= htmlspecialchars_uni($vbulletin->options['vault_wiki_name']);
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    3. August 22, 2013 #3
      beernuts
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      beernuts is offline
      Junior Member
      Join Date
      May 11, 2011
      Posts
      11
      Rep Power
      0
      Beautiful, thanks!
      Reply With Quote Reply With Quote

    Similar Threads

    1. Change Area Titles Size/Color
      By WebFusion2 in forum VaultWiki Questions
      Replies: 3
      Last Post: December 20, 2015, 9:18 PM
    2. ignoring / in page titles
      By Lord Doys in forum VaultWiki Questions
      Replies: 1
      Last Post: October 17, 2011, 4:12 AM
    3. How to avoid autolinks from being created for certain article titles?
      By Alfa1 in forum VaultWiki Questions
      Replies: 1
      Last Post: January 2, 2011, 9:12 PM
    4. Posting Pictures with Titles
      By theflatline in forum VaultWiki Questions
      Replies: 1
      Last Post: August 4, 2010, 12:36 PM
    5. Automatic Decapitalization of Article Titles
      By Jeemy in forum VaultWiki Questions
      Replies: 8
      Last Post: April 22, 2010, 3:18 AM

    Bookmarks

    Bookmarks
    • Submit to Digg Digg
    • Submit to del.icio.us del.icio.us
    • Submit to StumbleUpon StumbleUpon
    • Submit to Google Google

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •  
    • BB code is On
    • Smilies are On
    • [IMG] code is Off
    • [VIDEO] code is
    • HTML code is Off

    Forum Rules

    • Contact Us
    • License Agreement
    • Privacy
    • Terms
    • Top
    All times are GMT -4. The time now is 6:43 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.