OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?

VehicleManager component support

Go to bottom Favoured: 0

Contact Form Placeholders

webwzrd (User)
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Contact Form Placeholders 8 Years, 6 Months 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.
webwzrd (User)
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Re:Contact Form Placeholders 8 Years, 6 Months 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.
Taras (User)
Platinum Boarder
Posts: 2857
graphgraph
User Offline Click here to see the profile of this user
Re:Contact Form Placeholders 8 Years, 6 Months ago
Karma: 58  
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.
davec (User)
Junior Boarder
Posts: 36
graphgraph
User Offline Click here to see the profile of this user
Re:Contact Form Placeholders 8 Years, 5 Months 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.
Taras (User)
Platinum Boarder
Posts: 2857
graphgraph
User Offline Click here to see the profile of this user
Re:Contact Form Placeholders 8 Years, 5 Months ago
Karma: 58  
thank you, Dave

good advice
Logged Logged
The administrator has disabled public write access.
Go to top
»