| Post |
|
Guest
| demonboy 6:07 pm December 17, 2008
| |
|
|
Please replace the ??? with your data!
Afternoon. I'm trying to manually insert a TAF form into my sidebar using the code <?php insert_cform('tell'); ?>
However it is displaying my default form. I've tried inserting the id number (I'm guessing the id number…where do I find it?) and I've tried renaming the form but it ain't happening. Settings as follows:
- ajax disabled (forms don't function properly when I enable ajax)
- auto confirmaiton is ticked (does this make a difference?)
- TAF enabled
Any clues? My default email form works a treat ;)
|
|
|
Guest
| demonboy 1:48 pm December 18, 2008
| |
|
|
Anyone? I'm still having problems displaying TAF correctly:
http://www.followtheboat.com/index.php?p=495
|
|
|
Admin
| Oliver Munich, Germany posts 6237 5:29 pm December 18, 2008
| |
|
|
The ID number is the one displayed in that little blue box (top center of cforms admin page) that also shows you which form you're currently administering.
What if you use WP's widget control to include the form into your sidebar.
Make sure that your form is named 'tell' and not 'Tell'…
|
|
|
|
|
Guest
| demonboy 6:49 pm December 18, 2008
| |
|
|
Hi Oliver, thanks for getting back to me.
I was uncertain of the numbers being the ID as I'd added and deleted some forms. With that in mind I tried just using the number but it is still displaying the default form, as per my link.
I don't use a widget control I'm afraid. All my sidebar content is hand-coded, which is why I wanted to just use your <?php insert_cform('tell'); ?>
Any other ideas?
|
|
|
Guest
| demonboy 6:57 pm December 18, 2008
| |
|
|
Oliver, if it's any help: when I try and use the ID, in my case '2' or '3', nothing is displayed. When I use the name of the form, 'tell' or 'friend', it displays my default form.
|
|
|
Admin
| Oliver Munich, Germany posts 6237 8:46 pm December 18, 2008
| |
|
|
It falls back to displaying the default form if it can find the one specified.
You can use the "hidden debug easter egg" on the global settings page. Just click on the cfII icon/image top right corner and send me the output via my email (in cforms.php). I can then have a quick look.
|
|
|
|