This will add a PayPal donation module to your CMPS...
In your Admincp - Styles & Templates - Style Manager - Add a new template called "adv_portal_paypal".
Insert this code into the template:
Code:
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<tr>
<td class="tcat"><span class="smallfont"><b>$vba_options[portal_blockbullet] PayPal Donations</b></span></td>
</tr>
<tr>
<td class="$getbgrow" align="center">
<span class="smallfont">If you like this website, and would like to give something in return, you can make a donation. Your donation will be used to pay for hosting service, domain, & maintenance costs only!</span>
<br /><br />
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="you@yourdomain.com">
<input type="hidden" name="item_name" value="Website Support Donation">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="tax" value="0">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but04.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
</form>
</td>
</tr>
</table>
<br/>
Save the template!
Still in your Admincp - vBa CMPS - Add Module
- Module Title - PayPal
- Module Identifier - Leave blank
- OR Template to Include - paypal
- Activate and select the column you want it in.
- Save and you are done.
Based upon IndyWebDesign's PayPal Donations Block
Have Fun,
cLord
vbadvanced