Closed (fixed)
Project:
Contact Forms
Version:
6.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Jun 2008 at 09:50 UTC
Updated:
17 Jul 2008 at 02:09 UTC
Thanks for porting this great module. It works fine if the category is one word or two words separated by a dash, but not when the words are separated by an underscore (which ReadMe.txt recommends).
Comments
Comment #1
behindthepage commentedMy apologies the readme could be clearer on this point. I shall rewrite it soon. Maybe you can send me some text that will explain this better.
The module replaces spaces in the category name with underscores when it creates the path to each unique form.
eg if the category name is "Jill Jones" the path is "contact/Jill_Jones".
"Office of Department of Land" -> "contact/Office_of_Department_of_Land"
When you are creating links to each form you have to replace any spaces in the category name with underscores which is what is detailed in the readme.
I hope that is clearer.
Regards
Geoff
Me programmer me no write good.
Comment #2
edward.peters commentedGeoff, thanks so much, I think it is me who is a bit thick! Here is what I have written in our documentation, use any if it helps:
Categories should be named in a user friendly way, as they will appear at the top of the contact us form. When creating the link url, put 'contact/{categoryname}', replacing any space/s in {categoryname} by underscores (e.g. 'contact/John_Smith').
Comment #3
behindthepage commented