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

behindthepage’s picture

My 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.

edward.peters’s picture

Geoff, 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').

behindthepage’s picture

Status: Active » Closed (fixed)