How to insert a Coffee Cup Form V.2 into Joomla 2.5
Version 2 Web Form Builder is a great improvement, but when I wanted to put a form in a Joomla 2.5 site the fun started ! Where does the HTML code go and where do the two upload files go ?
I asked support but they had no answer so we had to suss it out ourselves. I'm sure there are other ways to do this but this is what we did.
In a nutshell the CC folder and .php file are uploaded to the website root folder in with all the Joomla folders and files, the HTML is put in a Joomla module and is then edited to point to the two CC files.
So first download and install into Joomla mod_j16html.zip from Dart Creations.
Create an Article and call it say 'ccform'
Now upload the two CC form files to the website root folder
Open Module_j16html ,it appeared as 'Joomla 1.6 HTML Module' in my Module manager.
Select an EMPTY position for it, I used 'Banner 3'
Assign the module to the menu item/s where you want it to appear
Paste the CC form HTML into the module and then edit it to point to the files in the root folder
by putting
http://www.mydomainname.com/ in front of the name of the form.
If your form was called 'mytestfom1' it would look like this -
<script type="text/javascript">document.write(unescape("%3Ciframe src=\"
http://www.mydomainname.com/mytestform1/ mytestform1.html\" width=\"600\" height=\"951\"allowtransparency=\"true\" scrolling=\"no\" frameborder=\"0\"%3E<a href=\"
http://www.mydomainname.com/mytestform1.php\" title=\"mytestform1\">Check out my CoffeeCup Form</a>%3C/iframe%3E"));</script>
<noscript>
<iframe width="600" height="951" style="border:none; background:transparent; overflow:hidden;"
src=" ht
tp://www.mydomainname.com/mytestform1/mytestform1.html">
<a href="
http://www.mydomainname.com/mytestform1php" title="mytestform1">Check out my CoffeeCup
Form</a>
</iframe>
</noscript>
Four lines needed editing I've put these in italics
Easy isn't it ? Hope it is of use.
Malcolm and Peter : Cornwall UK