OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
VehicleManager component support
Go to bottom Favoured: 0
TOPIC: Contact Form Placeholders
#19936
webwzrd (User)
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Contact Form Placeholders 5 Months, 3 Weeks ago Karma: 0  
Hello,

I am using the free version of VM and have found on all the vehicle contact forms the name and email fields have the site admin name and email preset in the fields with placeholders.

Example:
<input class="inputbox" type="text" name="customer_name" size="38" maxlength="80" placeholder="Name" value="Super User">

I can't figure out how to get rid of those. Advice?

Thank you,
Brian
 
Logged Logged  
  The administrator has disabled public write access.
#19951
webwzrd (User)
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Re:Contact Form Placeholders 5 Months, 3 Weeks ago Karma: 0  
Okay, got it. In case anyone else needs to get around this issue, you can edit this file:

components/com_vehiclemanager/views/view_vehicle/tmpl/default.php

and comment out the value portion:

<input class="inputbox" type="text" name="customer_name" size="38" maxlength="80" placeholder="<?php echo _VEHICLE_MANAGER_LABEL_RENT_REQUEST_NAME; ?>" <!--value="<?php echo ($my->name)?$my->name:"-->"; ?>"/>
 
Logged Logged  
  The administrator has disabled public write access.
#19968
Taras (Admin)
Admin
Posts: 2858
graphgraph
User Offline Click here to see the profile of this user
Re:Contact Form Placeholders 5 Months, 3 Weeks ago Karma: 55  
Hello,

Thank you for your update.

If you would like any further information, please do not hesitate to contact us too.

Best Wishes,
Taras
OrdaSoft team
 
Logged Logged  
  The administrator has disabled public write access.
#20360
davec (User)
Fresh Boarder
Posts: 19
graphgraph
User Offline Click here to see the profile of this user
Re:Contact Form Placeholders 5 Months, 1 Week ago Karma: 0  
I would like to add a small suggestion to this post. Create a template override YOUR TEMPLATE/html/com_vehiclemanager/view_vehicle/default.php when making changes to views, this should then prevent your changes from being overwritten if you update the component.

Dave
 
Logged Logged  
  The administrator has disabled public write access.
#20370
Taras (Admin)
Admin
Posts: 2858
graphgraph
User Offline Click here to see the profile of this user
Re:Contact Form Placeholders 5 Months, 1 Week ago Karma: 55  
thank you, Dave

good advice
 
Logged Logged  
  The administrator has disabled public write access.
Go to top
What are you looking for?
Anti-spam question: How many eyes has a typical person?