I've posted this question to the joomla forum but I'm not confident I'll get any replies.
My problem is that I'm using the standard contact form functionality, but I don't want to add each of the 10+ (& growing) contacts as menu items.
However, when I create links to a form (by publishing a contact form, getting the URL and then unpublishing it), although the form for a particular contact appears, when submitted I get an error message "Fatal error: Unsupported operand types in /xxx/includes/router.php on line 140".
Yes, I saw all those in the joomla forums and got excited until I discovered that it was all related to mod_login. Oh well.
Here's a
link to a form
that I've tried. With this one (that gives the same error msg) I tried publishing a category list and getting the URLs from that. I thought I was brilliant. I was wrong.
I can't believe there isn't a plugin or some doohickey that will insert a link to a contact form for you. Maybe this is why - because you can't.
I can put the links in, and the form comes up OK but when submitted I get the error. e.g, it seems that unless the contact form is published as a menu item (ie as the contact us off the main menu) then I'm getting the "Fatal error: Unsupported operand".
Try the link (in my second post) to send a message to me. The form works until it's submitted.
I assumed that if you publish it, the problem is gone, is it correct?
If so, let's try this. Create another menu in the menu manager, then create the contact menu item under this new menu. Just don't publish this new menu (not the contact link menu)
You're a genius! Is this what is meant by "invisible menu"?
I did what you said. I created a "contacts" menu and added an item (me) under it. Got the URL from the menu item details, stuck it in a link and bingo! Brilliant!