1

I've inherited a little code that uses this custom tag:

<cf_payflowpro 
 query="RESULT"
 hostaddress="pilot-payflowpro.paypal.com"
 hostport="443" 
 timeout="30"
 pwd="#hpword#"
 partner="#hpartner#"
 vendor="xxxxxx"
 trxtype="#callPP#" 
 tender="C" 
 acct="#form.card_number#" 
 expdate="#form.expire_month##form.expire_year#" 
 amt="#form.card_amount#"
 cvv2="#form.cvv2#"
 name="#cardholder#" 
 street="#cardstreet#" 
 city="#cardcity#" 
 state="#cardstate#" 
 zip="#card_zip#" 
 comment1="#card_comment1#" 
 comment2="#card_comment2#" 
 email="#card_email#"
 >

I'm very new to cold fusion. I suspect that the custom tag is form here: http://cf_payflowpro.riaforge.org/ but I'm not 100% sure. I downloaded it. It has a file in it PayFlowPro.cfm. How and where do I install this?

4

2 回答 2

4

请参阅ColdFusion 文档中的创建和调用自定义标签。引用:

存储自定义标签页面

您必须将自定义标签页存储在以下任一位置:

  • 与调用页面相同的目录
  • cfusion\CustomTags 目录
  • cfusion\CustomTags 目录的子目录
  • 您在 ColdFusion MX 管理员中指定的目录
于 2010-02-08T17:28:11.540 回答
1

这是一篇关于如何安装自定义标签的好文章。已经有一段时间了,但如果你在项目中有一个全局目录,我想你也可以把它放在那里......

于 2010-02-08T17:28:25.810 回答