Announcement

Collapse
No announcement yet.

If is_home kinda function?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • If is_home kinda function?

    Hi there, if you look at my Audi forum (http://www.turbofsi.net/forum/), there is a 120x600 floating banner on the right. The code is located at the footer template.

    I would like to display this banner only on the main forum page. Is this possible?
    In wordpress there is a function called if (is_home) to do stuff like this.

    Code at the end of the footer template:
    Code:
    <div id="footer">
            <div class="footer-left">&copy; TurboFSI.net - Audi Club Türkiye</div> 
            <div class="footer-right"><a href="http://www.turbofsi.net/arsiv/">arsiv</a> - <a href="http://www.turbofsi.net/sitemap.xml">site haritası</a> - <a href="http://www.turbofsi.net/bize_ulasin/">iletişim</a> - <a href="http://validator.w3.org/check?uri=referer">geçerli xhtml</a> - <a href="http://jigsaw.w3.org/css-validator/check/referer">geçerli css</a></div> 
      </div>
    
    </div>
    <div id="bannerwrapper">
            <div class="120600"></div>
            <div class="banner">
                <a href="http://www.turbofsi.net/reklam/"><img src="http://www.turbofsi.net/wp-content/themes/turbofsi_v3/images/120-600.gif" border="0" /></a></div>
        </div>
    </div>

  • #2
    <if condition="THIS_SCRIPT == 'index'">
    stuff only on vb index.php page
    </if>

    Please don't PM or VM me for support - I only help out in the threads.
    vBulletin Manual & vBulletin 4.0 Code Documentation (API)
    Want help modifying your vbulletin forum? Head on over to vbulletin.org
    If I post CSS and you don't know where it goes, throw it into the additional.css template.

    W3Schools &lt;- awesome site for html/css help

    Comment


    • #3
      Thanks! it worked!

      Comment

      Related Topics

      Collapse

      Working...
      X