• 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

cobra1162

Active member
This amendment adds a partner in the sidebar block


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.webp
 
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!
 
Nevermind, solved the problem. Instead of modify that template I've put the code inside ad_navbar_bottom and it worked...
 
Top Bottom