Skip to main content

Reply To: How to make upload logo for dealer as a required field?

ClassiBase classifieds script Forums General help How to make upload logo for dealer as a required field? Reply To: How to make upload logo for dealer as a required field?

#1095 Reply

ClassiBase
Keymaster

This requires advanced PHP knowledge. Change /sys/app/controllers/LoginController.php file, after line 321

Add new if statement like following.

if(!strlen($user->logo))
{
// image not uploaded
$this->validation()->set_error(__('Error uploading logo. Please select logo to upload.'));
return $user;
}

Again changes made to core files will be deleted on script update.

  • Classifieds Business Newsletter

    Get discounts and tips about growing your classifieds website.

    Subscribe