OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
VehicleManager component support
Go to bottom Favoured: 0
TOPIC: Custom field and Search Module
#14223
JohnnyC (User)
Fresh Boarder
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
Custom field and Search Module 2 Years ago Karma: 0  
Hi,
I recently used a dropdown custom field in Vehicl Manager. Everything is good except Search Filter.
Custom field is displayed with wrong label.
More specific, I use Dropdown Custom Field 6. Search Module shows it as Custom Fields Manager6. Custom field is named from language constant _VEHICLE_MANAGER_LABEL_EXTRA6. But in module's default.php it is defined to display _VEHICLE_MANAGER_LABEL_EXTRA.$i, for i=6 to 10. It displays _VEHICLE_MANAGER_LABEL_EXTRA as Custom Fields Manager and adds 6 ($i), instead of displaying entire _VEHICLE_MANAGER_LABEL_EXTRA6.
How can it be fixed?

Thanks
 
Logged Logged  
  The administrator has disabled public write access.
#14231
Taras (Admin)
Admin
Posts: 2858
graphgraph
User Offline Click here to see the profile of this user
Re:Custom field and Search Module 2 Years ago Karma: 55  
Hello,

Give us please, admin access and we will look on problem, admin access You can send to our contact form.
ordasoft.com/About-us/OrdaSoft.html
Joomla Admin

username
password

Thanks,
Taras
OrdaSoft team.
 
Logged Logged  
  The administrator has disabled public write access.
#14241
JohnnyC (User)
Fresh Boarder
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
Re:Custom field and Search Module 2 Years ago Karma: 0  
I don't think it is something that can be fixed in Joomla. I think it is more like a bug that needs php fix.
In module vehiclemanager_search, folder tmpl, file default.php in line 186 there is
Code:

<?php echo _VEHICLE_MANAGER_LABEL_EXTRA.$i . ':&nbsp;'. $params->get('extrafield'.$i); ?>&nbsp; 

This reads from language manager _VEHICLE_MANAGER_LABEL_EXTRA as "Custom Fields Manager" and adds $i, that in my case is 6.
If I change _VEHICLE_MANAGER_LABEL_EXTRA.$i with _VEHICLE_MANAGER_LABEL_EXTRA6 it reads the right value from language manager.
I am not a programmer so I could use some help on fixing this bug.

Thanks
 
Logged Logged  
  The administrator has disabled public write access.
#14245
Taras (Admin)
Admin
Posts: 2858
graphgraph
User Offline Click here to see the profile of this user
Re:Custom field and Search Module 2 Years ago Karma: 55  
Hello,

Give us please, FTP and admin access and we will look on problem. FTP and admin access You can send to our contact form.
ordasoft.com/About-us/OrdaSoft.html
Joomla Admin

username
password


FTP

FTP host

FTP username

FTP password
If you have other questions, please ask.

Thanks,
Taras
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?