Shape 5

Joomla Templates => Hexa Corp - Club => : danab June 07, 2018, 07:09:13 AM



: Contact Us Now - Services Page
: danab June 07, 2018, 07:09:13 AM
Good day,

As i found that the initial contact form created for this template is not an article or module but rather a contact.

In the services page by default there is a "contact us now" button. When i tried to link to it using the normal code: http://localhost/telesensenew/index.php?option=com_content&view=article&id=#v (not you will see its localhost)

Either way, by looking at the contact id i see it is 1, but when i insert 1 it directs to an article with the ID 1

So naturally i tried this code: http://localhost/telesensenew/index.php?option=com_content&view=contact&id=1

When i saved it show 404 error. Something went wrong.

What is the code to use to link directly to a contact?

Kind regards,
Daniel Booysen


: Re: Contact Us Now - Services Page
: mikek June 08, 2018, 05:58:23 AM
Hello,

You cannot create your own urls, and you can't combine contact id's into article urls they are completely different components. They need to be actual page urls that are generated by Joomla. You need to have a menu item that points to the default contact page of Joomla. There is a contact page that comes by default with Joomla. Once you have that page setup through the menu manager you would go to the page and copy the url to use.