-
February 13, 2021, 10:42 PM
#1
Member
contact form in content box
Hello,
I'm trying to add my contact form in a side box. I added a content box for Contact Us. Used contact_us for the key. Added the script {include file='blocks'|cat:$smarty.const.RL_DS|cat:'contact _us.tpl'} in the content area. Used box type Smarty (also tried PHP) but does not show contact form on my site. Am I missing something?????
-
February 13, 2021, 11:10 PM
#2
Member
ok. Where I had {include file='blocks'|cat:$smarty.const.RL_DS|cat:'contact _us.tpl' sidebar=true} should have been {include file='controllers'|cat:$smarty.const.RL_DS|cat:'co ntact_us.tpl' sidebar=true}. Contact form is now in a content box.
Now I need to figure out how to add a form field for the subject so it show in the subject field of the email.