Cold Fusion Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingCold Fusion Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old April 8th, 2004, 03:37 PM
duper22 duper22 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Posts: 1 duper22 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question Cold Fusion link to Paypal shopping cart

I have a website that was developed in 1997.
I am trying to add a Paypal button and shopping cart
to each of the item pages. The site uses a
cold fusion template with tables made with Microsoft
Access. I used Access 2000 to open the database and
add a column named paypal. I tried to insert the Paypal
html, but it says it is too long. Can I store the data in
a seperate file and change the cold fusion template so that it
points to the html data in the same way it points to the photos?
something like:
<a Href="pb/#paypal#.html"</a>
"pb" is the file where the html files are stored
#paypal# is the name of the new column in Access.
I am new to this work. Can anybody help?

This is the cold fusion template as it exists:
<!---This Cold Fusion Template retrieves and displays the data
on the Detail Page. It uses the Unique Identifier field
passed in the URL link that is invoked when user clicks
on a record on the Results Page to retrieve the detail record.--->
<!---Run the query using the Unique Identifier passed in the URL.--->
<CFQUERY NAME="GetDetailData" DATASOURCE="armour">
SELECT *
FROM Inventory
WHERE
Inventory.ID = #Inventory__ID#
</CFQUERY>
<!---Now assemble the HTML of the Detail Page --->
<HTML>
<HEAD><TITLE>Armour</TITLE><meta name="resource-type" content="document">
<meta name="generator" content="HotDog Professional - Internal Testing Only">
</HEAD>
<BODY BGCOLOR="#000000" TEXT="#FF0000" LINK="#0000FF" ALINK="#FFFF00" VLINK="#FF00FF">
<CENTER><IMG SRC="images/sword.JPG" ></CENTER>

<!---Display detail data from the database.--->
<CFOUTPUT QUERY="GetDetailData">
<TABLE BORDER="0" ALIGN="Center">
<TR>
<TD></TD>
</TR>
</TABLE>
<TABLE BORDER="0" ALIGN="Center" >
<TR>
<td border="0"></td>
<TD ALIGN="CENTER" WIDTH="30%">Part Number: #Part_Number#</TD>
<TD ALIGN=CENTER ROWSPAN=5 WIDTH=50%> <IMG SRC="images/#Picture#.JPG"> </TD>
</TR>
<TR>
<TD></TD>
<TD ROWSPAN="4" ALIGN="LEFT" VALIGN="TOP"><CENTER><FONT SIZE="+2"><B>#Description#</B></CENTER></FONT><BR>Is this item available for purchase? #YesNoFormat(For_Purchase)#<BR>
Is this item available for rent? #YesNoFormat(For_Rent)#<BR><BR>Unpainted Price: #DollarFormat(Price_Unpainted)#<BR>Painted Price: #DollarFormat(Price_painted)#<BR><BR>Regular Rental Price: #DollarFormat(Price_Rental_regular)#<BR>Special Rental Price: #DollarFormat(Price_Rental_special)#<!--- <BR>Decorated Price: #DollarFormat(Price_Decorated)#<BR>Undecorated Price: #DollarFormat(Price_Undecorated)# ---><br><br>Notes:<br> #Notes#</TD>
</TR>
<TR>
<TD>Category: #Category#</TD>
</TR>
<TR>
<TD>Style: #Style#</TD>
</TR>
</TABLE>
<table width="80%" align="center"><tr><td>
<!--- <pre> --->
<br>
<div align="center"><b>Ordering Information</b></div><br><br>
Terms: All orders are C.O.D. unless pre-payment accompanies order. We accept certified checks and money orders. <br><br>
Shipping is via UPS pre-paid or C.O.D. All Schools will be billed on an open account upon receipt of your purchase order. Please allow 3 weeks to process an order. We will do our best to accomodate last minute rush orders. There will be a 15% rush charge for orders shipped within 7 business days.<br>
The client is responsible for all rented items during their use and return shipment. Return shipments should be adequately insured. You will be billed for any damage or loss beyond normal use. All rental returns via UPS prepaid.<br><br>
Special pricing is solely for tax exempt organizations.<br><br>
Security deposit required on all rentals. The amount of the security deposit is based on the value of rentals.<br><br>
**Our weapons are furnished as <b>THEATRICAL ACCESSORIES</b>. They are <b>NOT</b> to be used for battle. They are to be worn or carried ONLY. Use of our weapons for other than accessory purpose will be at your own risk and you will be charged for any damage. Combat swords are available upon request for purchase.<br><br>
Most helmets are fitted with adjustable liners.<br>
Breastplates and backs are adjusted with straps and buckles.<br>
Breastplates rented seperately come with a set of back straps.<br>
Undergarment is sized to fit average adult males.<br>
Decorations from rental stock may vary from sale items.<br><br>
Visitors welcome, by appointment only please.</td></tr></table>
</CFOUTPUT>
</BODY></HTML>


I would like to add the paypal button just before the ordering information.
Thanks,
duper22

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingCold Fusion Development > Cold Fusion link to Paypal shopping cart


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump




 Free IT White Papers!
 
Create the Optimal Architecture for your Critical Applications
Warburton's the largest independently owned bakery in the UK faced a number of difficult challenges in providing the most robust yet efficient IT infrastructure for their organization's success. IBM's services combined with their xSeries servers created the perfect platform for their SAP environment with sufficient flexibility, and did so in very time effective fashion.

Request Your Free Technology Downloads!
 
Five Best Practices for Deploying a Successful Service-Oriented Architecture
This white paper describes the benefits you can expect with SOA, and how IBM can help take your business there.

Request Your Free Technology Downloads!
 
Gartner Magic Quadrant for Application Delivery Controllers
Gartner summarizes its view on Application Delivery Controllers, evaluates strengths and weaknesses of solutions, and provides Magic Quadrant reporting for a quick comparison across all vendors. Learn from Gartner how you can benefit from an all-in-one device like Citrix NetScaler that delivers the highest levels of availability, performance and security.

Request Your Free Technology Downloads!
 
Knowledge is Power
What you don't know can hurt you, and is likely costing you money and increasing your security risks during an era of scarce resources. This white paper proposes six key strategies that enterprise security managers can use to improve their network defense posture.

Request Your Free Technology Downloads!
 
Rationalizing the Multi-Tool Environment
The rationalized multi-tool approach is flexible, scalable and cost effective. It provides the necessary input to the IT service management business processes. It preserves prior investments in monitoring tools, empowers technologists to select the best tools with which to do their jobs, and enhances effective response to incidents.

Request Your Free Technology Downloads!
 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 




© 2003-2010 by Developer Shed. All rights reserved. DS Cluster 8 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek