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

VehicleManager component support

Go to bottom Favoured: 0

R$

leo5city (User)
Expert Boarder
Posts: 92
graphgraph
User Offline Click here to see the profile of this user
R$ 11 Years, 7 Months ago
Karma: 0  
Can you help me to use the "R$" as default. (without me having to type)
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8243
graph
User Offline Click here to see the profile of this user
Re:R$ 11 Years, 7 Months ago
Karma: 101  
Hello,

If you read customization manual for Vihicle manager - you may add that self.
For set some default Price currency in vehicle manager at time vehicle edit for admin, you need:
- open file:
{yours site}/administrator/components/com_vehiclemanager/admin.vehiclemanager.html.php

find function: editVehicle

In that fumction find code:
Code:

<input class="inputbox" type="text" name="priceunit" size="15" value="<?php echo $row->priceunit;?>" />



and replace it to
Code:

<?php if(  $row->priceunit != "" ) {  ?>
<input class="inputbox" type="text" name="priceunit" size="15" value="<?php echo $row->priceunit;?>" />
<?php } else {  ?>
<input class="inputbox" type="text" name="priceunit" size="15" value="R$" />
<?php }  ?>




But first please backup this file

Thanks,
OrdaSoft team
Logged Logged
The administrator has disabled public write access.
Go to top
»