Forum Support

 
Advanced Search


[1]

Offline danab
Free Member
Posts: 49
Posted on: 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
Logged

Offline mikek
Free Member
Posts: 28743 WWW
Posted on: 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.
Logged
[1]

Jump to:  


Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Page created in 0.017 seconds with 21 queries.
Need some help getting your site up and running? Be sure to check out our tutorials area, post on the forum or hire us
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.