Announcement

Collapse
No announcement yet.

Placing image below navbar..

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

  • Placing image below navbar..

    Hi can you please infrom me how to place image and text just below the navbar/topbar.. what should i edit and what are teh codes.

    please check the pic http://img81.imageshack.us/img81/4801/untitledms3.jpg

  • #2
    Hello,

    First off, we don't allow both images and text in signatures, could you please remove either the text or the image? Thank you

    Ok, to add your own code below the navbar you can go into the admin control panel > styles & templates > style manager > dropdown: edit templates > and expand the navigation and breadcrumb group > open the navbar template.

    And add your code all the way at the bottom, on a new line, after all the other code.

    Comment


    • #3
      oh, thanks, but i only want it to appear on forum home.. not on all pages..

      any way i can do that?

      Comment


      • #4
        Originally posted by Danecookie View Post
        oh, thanks, but i only want it to appear on forum home.. not on all pages..

        any way i can do that?
        Have you tried editing FORUMHOME and placing it at the very top of this template?
        Vote for:

        - *Admin Settable Paid Subscription Reminder Timeframe*
        -
        *PM - Add ability to reply to originator only*
        - Add Admin ability to auto-subscribe users to specific channel(s)
        - Highlight the correct navigation tab when you are on a custom page
        - "Quick Route" Interface...
        - Allow to use custom icons for individual forums

        Comment


        • #5
          It depends if you want to only show it on the forumhome index.php or on a specific forum.

          only on index.php

          Code:
          <if condition="THIS_SCRIPT =='index'">
              image here - only shows on index.php
          </if>

          And to only show it on a specific forum:

          Code:
          <if condition="$foruminfo['forumid'] =='5'">
              image here - only shows on forum where forumid = 5
          </if>
          (don't forget to change the 5 to the specific forumid)

          Comment


          • #6
            [quote=Floris;1177653]It depends if you want to only show it on the forumhome index.php or on a specific forum.

            only on index.php

            Code:
            <if condition="THIS_SCRIPT =='index'">
                image here - only shows on index.php
            </if>
            And how would condition look like if I want to show image everywhere else than on forumhome?
            Simply - I want to add statistic code to all pages except on forumhome, because I have extra code for forumhome which I placed into forumhome template and the other code I want to place into header - excluding forumhome...

            Thank you :-)

            Comment


            • #7
              Everywhere else, BUT index ( change == to != )

              <if condition="THIS_SCRIPT !='index'">

              Comment


              • #8
                Thank you Floris, I have used <else> tag and it works too.

                <if condition="THIS_SCRIPT =='index'">code for indexpage
                <else>rest of the pages
                </if>

                Is there any difference on performance?

                Comment


                • #9
                  <else> should be <else />

                  Comment

                  widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                  Working...
                  X