我们正在尝试在我们的购物车模板中添加一个新的.TPL文件,我们已经做了所有事情,但是当我们尝试访问时:
site.com/cart?a=newfile
它不起作用,有没有办法让WHMCS将新文件视为相关模板的一部分?
我尝试为我的模板创建一个自定义注册页面。
谢谢
答案 0 :(得分:0)
If your aim is to create a custom registration page, I suggest you to continue with whmcs default templates instead of creating your own template.
In your custom registration page :
-if you want to customize the style,
you can do that by just editing css and html within viewcart.tpl.
-if you want to addcustom field and inputs into your custom registration form,
using in Admin area of whmcs Setup-> Custom Client Fields section,
you can add various of inputs with validation.
-if you want to some action on the registration event,
use this hook to catch the event and take your action,
it will fire whenever someone registers from your website :