Are you enjoying the extensions? Did you like the support? Help others decide.

Leave a review

map-pin Warning: Invalid argument

More
12 years 9 months ago - 12 years 9 months ago #5 by admin
Warning: Invalid argument was created by admin
Warning: Invalid argument supplied for foreach() in /home/www/.../components/com_contact/helpers/route.php on line 122

For the contacts to show properly, you need to have a menu item where your contacts would show. Create a menu item that will show the category (or all the categories if your contacts are from several categories). You probably don't want this menu item in your menu but it needs to exist in order for the contacts to load in a page fit for them. Add .item-xxx {display:none} to your template stylesheet. This way, the menu item won't show (xxx is the menu item ID for the menu item created).

Olivier.
Last edit: 12 years 9 months ago by admin.

Please Log in or Create an account to join the conversation.

More
12 years 9 months ago - 12 years 9 months ago #49 by maxmmize
Replied by maxmmize on topic Re: Warning: Invalid argument
Hi,

I installed the system. I added a link to my main menu using the component as the linked application.

I have three contacts. All three contacts show up when you click on the Contact Us link.

However, only the first contact works. The other get a 500 error code.

I don;t understand what you are trying to accomplish with the above solution.

What solution am I to look at for my situation?

Edit: I am very sorry. It is late. I am running J1.7.3
Last edit: 12 years 9 months ago by maxmmize. Reason: Added Joomla Version
The following user(s) said Thank You: admin

Please Log in or Create an account to join the conversation.

More
12 years 9 months ago #50 by admin
Replied by admin on topic Re: Warning: Invalid argument
Hello,
what is the menu item type of your 'contact us' link? Are your contacts in a same category or are they from different ones? It is difficult to diagnose your problem without knowing your configuration.
For your contact links to work properly from the Trombinoscope component, you need to have a menu item associated with each contact category, as the standard Joomla! framework requires an existing page to show the contacts into. The previous solution also suggests hiding these menu items from the menus in case they are not wanted.

Olivier.

Please Log in or Create an account to join the conversation.