0
Welcome Guest! Login
0 items Join Now

Multiple contacts but don't want menu items

    • Sue B's Avatar
    • Sue B
    • Hero Rocketeer
    • Posts: 300
    • Thanks: 0

    Multiple contacts but don't want menu items

    Posted 16 years 1 month ago
    • 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".

      Suggestions?
    • Last Edit: 16 years 1 month ago by Sue B.
  • Re: Multiple contacts but don't want menu items

    Posted 16 years 1 month ago
    • Hello,

      Could you please provide your website link so we can see and check the problem?

      I saw another problem related to the error message you mentioned, but not the contact form problem.
      :arrow: Click Here
    • Sue B's Avatar
    • Sue B
    • Hero Rocketeer
    • Posts: 300
    • Thanks: 0

    Re: Multiple contacts but don't want menu items

    Posted 16 years 1 month ago
    • 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.
  • Re: Multiple contacts but don't want menu items

    Posted 16 years 1 month ago
    • Hello,

      Do you mean you can't put a link something like this:

      <a href="index.php?option=com_contact&view=contact&id=6%3Asue-brown&catid=12%3Acontacts&Itemid=131">Contact Us</a>
    • Sue B's Avatar
    • Sue B
    • Hero Rocketeer
    • Posts: 300
    • Thanks: 0

    Re: Multiple contacts but don't want menu items

    Posted 16 years 1 month ago
    • Thanks for such a prompt reply, Arifin.

      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.
  • Re: Multiple contacts but don't want menu items

    Posted 16 years 1 month ago
    • Hello,

      I see the error now. Is this because you unpublish the actual menu item?
    • Sue B's Avatar
    • Sue B
    • Hero Rocketeer
    • Posts: 300
    • Thanks: 0

    Re: Multiple contacts but don't want menu items

    Posted 16 years 1 month ago
    • Yes, I think it is. There's got to be a way to display contact forms without them being menu items. I just can't figure out what that way is.
  • Re: Multiple contacts but don't want menu items

    Posted 16 years 1 month ago
    • Hello,

      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)

      Let me know
    • Sue B's Avatar
    • Sue B
    • Hero Rocketeer
    • Posts: 300
    • Thanks: 0

    Re: Multiple contacts but don't want menu items

    Posted 16 years 1 month ago
    • 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!

      Thank you so much.
  • Re: Multiple contacts but don't want menu items

    Posted 16 years 1 month ago
    • Great and You're welcome

      I am happy it's working for you :D

Time to create page: 0.064 seconds