OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
Purchased VM and parts of the site not working.... (0 viewing) 

VehicleManager component support

Go to bottom Favoured: 0

Purchased VM and parts of the site not working....

admin (Admin)
Admin
Posts: 8367
graph
User Offline Click here to see the profile of this user
Re:Purchased VM and parts of the site not working.... 12 Years, 6 Months ago
Karma: 102  
Hello,

I am sorry as me seem me has VehicleId at Vehicle manager option - at site frontend. Please check attachment.


I also need to be able to put $ symbol and , in the price. Is that done in the database?
Now every Price has 2 fields - one for Price value other for Price currency.

Sorry, "," - you now can't add to price

Thanks,
OrdaSoft team
Logged Logged
The administrator has disabled public write access.
shawnm (Visitor)
Posts: 0
graphgraph
User Offline
Re:Purchased VM and parts of the site not working.... 12 Years, 6 Months ago
Karma: 0  
So if I understand you correctly you are saying that you can not put the $ symbol in the price field. I really need this feature! Is there a way to make the field in the database accept symbols?

Thanks
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8367
graph
User Offline Click here to see the profile of this user
Re:Purchased VM and parts of the site not working.... 12 Years, 5 Months ago
Karma: 102  
Hello,
We have special 2 fields:
1 for price value , 2 for price currency - with help that we can do search by price and do ordering bu Price.

If for you no need Currency field.
Please upgrade yours layout and set at all place show $

For that you need op[en file:
{yours site}/components/com_vehiclemanager/vehiclemanager.html.php

and at all places where you see "priceunit", set for layout "$"

e.g. code
[code]if ($row->price!=''||$row->priceunit!='' echo $row->price." ".$row->priceunit;[/code]

need replace to

Code:

if ($row->price!=''||$row->priceunit!='') echo $row->price." $";


Thanks,
OrdaSoft team
Logged Logged
Last Edit: 2012/06/20 08:20 By admin.
The administrator has disabled public write access.
shawnm (Visitor)
Posts: 0
graphgraph
User Offline
Re:Purchased VM and parts of the site not working.... 12 Years, 2 Months ago
Karma: 0  
Ok I changed the code to reflect your instructions:

Code:

if ($row->price!=''||$row->priceunit!='') echo $row->price." $";



Now I get the $ symbol but it is like this:

9500 $

How do I make it so that the symbol is in front like this:

$9500

Thanks.
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8367
graph
User Offline Click here to see the profile of this user
Re:Purchased VM and parts of the site not working.... 12 Years, 2 Months ago
Karma: 102  
Hello,

For show currency before price in vehicle manager.
Replace that :

Code:

echo $row->price." $";


to

Code:

echo " $". $row->price;


Thanks
OrdaSoft team
Logged Logged
The administrator has disabled public write access.
shawnm (Visitor)
Posts: 0
graphgraph
User Offline
Re:Purchased VM and parts of the site not working.... 12 Years, 2 Months ago
Karma: 0  
My site is down now all except the home page. My host says the database is screwed up. It has been down for a week now and I can't seem to fix it. Any help would be greatly appreciated. When you click on any link in the front end it only gives the IP address and the link then nothing. Blank page. It does the same thing in the backend. Everything works accept when you click on a link to any part of the VehicleManager software. This is the code that is in the logs:


Code:
[26-Sep-2012 22:09:51] PHP Parse error: syntax error, unexpected '<' in /home/boxvansn/public_html/components/com_vehiclemanager/
vehiclemanager.html.php on line 1356

Need help please.

Thanks

I think it has something to do with the changes to the priceunit changes.

This is what it says on line 1356:

Code:

if ($row->price!=''||$row->priceunit!='') echo $row->price." $";
Logged Logged
Last Edit: 2012/10/10 16:32 By .
The administrator has disabled public write access.
Go to top
»