V
V
Viorel2014-12-12 21:49:22
Joomla
Viorel, 2014-12-12 21:49:22

How to disable the script for the Contacts page?

Hello everyone, The site has a standard joomla contact form, how to disable the script ONLY on the Contacts page which is marked in the picture, conflicts with the form
f5b73d35792e4728b103ac0f1478654e.jpg

Answer the question

In order to leave comments, you need to log in

4 answer(s)
S
Sergey, 2014-12-12
@gangstarcj

look in the $_SERVER array for the path to this page and do a check, if not this page then output

E
Evgeny Kumanin, 2014-12-13
@jackkum

Can be screwed up like this:

if(JRequest::getVar('option') != 'com_contact'){
    // ...
}

O
ozornick, 2017-04-17
@niksee

At a simple level of understanding: the table contains subsets of options to complete. That is, users, news, groups, etc. are stored in their users, news, groups table. It is also necessary to have relationships in order to understand what each table is related to.
Imagine that Users are residents of one database House. They have an apartment number, a name, a phone number... Sayaz can be determined for a mailbox by matching the apartment number.
All this is done through requests.

M
Maxim Timofeev, 2017-04-16
@webinar

Yes, everything is almost the same as for any other site. The database has tables in it, they are connected. How to organize depends on the type of database you are using.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question