>>  Site Map >>  Forums >>  Blocks

Forum module - topics in forum:



Blocks - Having problems with a block? Code doesn't work, get help here.



Affiliates Block Problem

i downloaded the affiliates block from here and im must be doing somthing wrong cause when insert the button code into $link1="<a herf="sitelink">site name</a>"; and so on and $pic1"???"; but i have no clue what to put where i have coded a HTML site and used my own i wasent sure if the link button code was the same in phpnuke or not so pretty much i need to know what to put where.....if this make ANY sence im using phpnuke 7.7 and i downloaded the Affliates Block From here






The way this affiliates block works is like this
Code: :
$link1 = "http://yoursite.com";
that is all you need for the link. For the link me button it is
Code: :
$pic1 = "http://yoursite.com/linkme.gif";
of course for each new affiliate you get you go to the next number for link and pic. Now you have to move down to the bottom to do the marquee part of the whole linking process. The coding for the bottom should be
Code: :
<br><br><a href=\"$link1\"><img src=\"$pic1\"border=\"\"></a>
. That part is to make the buttons scroll. Leave the
Code: :
</center>
at the end of the marquee as that is what centers your link me buttons on the block. Make sure never to put then new link me code outside the
Code: :
</center>
or you will break the block. The first three are done for you past those 3 copy and paste the code and just replace the #1 with the number of the correct affilate. So say for example you have added your forth affiliate you code should look like this
Code: :
<br><br><a href=\"$link4\"><img src=\"$pic4\"border=\"\"></a>
see how I changed he 1 to a 4. Final note on your $link and $pic be sure to have your ; at the end of each statement or that block and each block below it will disappear from your site.




Attention! You are currently viewing sitemap page!
We strongly suggest to look at original content

Search from web

Valid HTML 4.01 Valid CSS