• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
  • 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.
  • 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
#1
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.png
 

AndreaMarucci

Well-known member
#4
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!