1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. This forum is for release discussion only. Discussions that do not relate specifically to the resource release should be discussed in another, more appropriate forum.
    Dismiss Notice
  3. This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

Block partner / pub in the sidebar

Discussion in 'Template Modifications [Archive]' started by cobra1162, Nov 2, 2010.

  1. cobra1162

    cobra1162 Active Member


    In the template forum_list find:

    Code:
    <dl><dt>{xen:phrase latest_member}:</dt>
                        <dd><a href="{xen:link members,  $boardTotals.latestUser}"  class="username">{$boardTotals.latestUser.username}</a></dd></dl>
                </div>
            </div>
        </div>
    Add below:

    Code:
    <!--block partenaire by cobra--!>
    <div class="section">
            <div class="secondaryContent partenaire" id="partenaires">
                <h3>partners</h3>
                <div class="pairsJustified">
    
               Your partner or a banner pub
                </div>
            </div>
        </div>
    <!--block partenaire by cobra--!>
    parters.png
     
    AndreaMarucci, kkm323 and Allan like this.
  2. Allan

    Allan Well-Known Member

    Nice, thank Cobra ;)
     
  3. AndreaMarucci

    AndreaMarucci Well-Known Member

  4. AndreaMarucci

    AndreaMarucci Well-Known Member

    A question Cobra. I would like to put a banner inside this block. Here's my code

    Code:
    <div class="section">
        <div class="secondaryContent partenaire" id="partenaires">
            <h3>PubblicitĂ </h3>
              <div class="pairsJustified">
                <a href="http://www.shift.it" target="_blank"><img src="http://www.shiftcdn.it/kog/forum/bannershift.png"></a>
              </div>
        </div>
    </div>
    That way does not work, the image does not appear (but is there). I've tried to delete the <div> <div class="secondaryContent partenaire" id="partenaires"> and the block is no more formatted but the image appear. Since I'm not so good in CSS'ing, can you suggest me how to modify the code to make the image appear?

    Thanks!
     
  5. AndreaMarucci

    AndreaMarucci Well-Known Member

    Ehm, no one on this?
     
  6. AndreaMarucci

    AndreaMarucci Well-Known Member

    Nevermind, solved the problem. Instead of modify that template I've put the code inside ad_navbar_bottom and it worked...
     

Share This Page