OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
VehicleManager component support
Go to bottom Favoured: 0
TOPIC: R$
#5539
leo5city (User)
Expert Boarder
Posts: 92
graphgraph
User Offline Click here to see the profile of this user
R$ 4 Years 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.
#5542
admin (Admin)
Admin
Posts: 4856
graph
User Offline Click here to see the profile of this user
Re:R$ 4 Years ago Karma: 61  
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
What are you looking for?
Anti-spam question: How many eyes has a typical person?