Welcome, Guest
Username: Password: Remember me

TOPIC: Fix for Contact form in JomClassifieds 3.5.1

Fix for Contact form in JomClassifieds 3.5.1 2 years 1 week ago #7523

  • Super User
  • Super User's Avatar
  • Offline
  • Administrator
  • Posts: 3008
  • Thank you received: 350
  • Karma: 46
Hi,

Solution for the Contact Advertiser issue when upgraded to JomClassifieds 3.5.1

Kindly find the below file,

FTP --> Root --> components --> com_jomclassifieds --> controller.php

find the below code :
$item->email = $app->input->get('email');
Replace the below code :
$item->email = $app->input->get('email','','STR');

find the below code :
$item->name = $app->input->get('name');
Replace the below code :
$item->name = $app->input->get('name','','HTML');

find the below code :
$item->subject = $app->input->get('subject');
Replace the below code :
$item->subject = $app->input->get('subject','','HTML');

find the below code :
$item->message = $app->input->get('message');
Replace the below code :
$item->message = $app->input->get('message','','HTML');

Thanks
The administrator has disabled public write access.
Time to create page: 0.112 seconds

Contact us

  No.2/A, Venkateshwara Nagar,
1st Main Road, 100 Feet Road, SBM Towers, Velachery,Chennai - 600 042,India.
 admin@jomclassifieds.com
 skype.jomclassifieds
 
 
Copyright © 2013-2019 Jomclassifieds.com. All rights reserved. The Joomla! name, and logo are used under a limited license granted in the United States and other countries.