You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 53 guest(s) and 1 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - How to add PAYPAL button within module. [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
Paul7
Nuke Cadet
Nuke Cadet


Joined: Jun 02, 2003
Posts: 7


PostPosted: Mon Jul 14, 2003 3:06 pm Reply with quoteBack to top

I've done a search through all the posts and cannot find anything on this problem. Perhaps someone can help.

I want to place a Paypal button within the text of a module. I have the cut and paste code from paypal and I just need to place it on the page. I have modified the code to read the same as I found in the Donate Block and placed it within the module but it doesn't appear. Can anyone suggest how it might be made to work?

This is the type of code I have placed in the text.

$content = "<br><center>";
$content .= "<form action=\"https://www.paypal.com/cgi-bin/webscr\" method=\"post\">";
$content .= "<input type=\"hidden\" name=\"cmd\" value=\"_xclick\">";
$content .= "<input type=\"hidden\" name=\"business\" value=\"my email address\">";
$content .= "<input type=\"image\" src=\"https://www.paypal.com/images/x-click-but04.gif\" border=\"0\" name=\"submit\" alt=\"Make payments with PayPal - it's fast, free and secure!\">";
$content .= "</form></center><br>";
Find all posts by Paul7View user's profileSend private message
disgruntledtech
Site Admin
Site Admin


Joined: Apr 14, 2003
Posts: 994

Location: Tulsa, OK

PostPosted: Mon Jul 14, 2003 3:14 pm Reply with quoteBack to top

that'd work for a block but for a module you want to echo it


Code:
echo "<br><center>";
   . "<form action=\"https://www.paypal.com/cgi-bin/webscr\" method=\"post\">";
   . "<input type=\"hidden\" name=\"cmd\" value=\"_xclick\">";
   . "<input type=\"hidden\" name=\"business\" value=\"my email address\">";
   . "<input type=\"image\" src=\"https://www.paypal.com/images/x-click-but04.gif\" border=\"0\" name=\"submit\" alt=\"Make payments with PayPal - it's fast, free and secure!\">";
   . "</form></center><br>";
Find all posts by disgruntledtechView user's profileSend private messageSend e-mailVisit poster's website
Paul7
Nuke Cadet
Nuke Cadet


Joined: Jun 02, 2003
Posts: 7


PostPosted: Tue Jul 15, 2003 9:19 am Reply with quoteBack to top

Thanks for your help. I have now got it working correctly thanks to your instructions. Very Happy
Find all posts by Paul7View user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.192 Seconds - 100 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::