Suggestions and corrections
| Report Date | : 05-06-2010 | State | : Open |
| Reported By | : Brad | Priority | : Medium |
| Joomla Version |
|
||
First the corrections:
-- administrator\language\en-GB\en-GB.com_rdautos.ini --
SHOW ENGINE NR=Show VIN Number
-- should be --
SHOW ENGINE NR=Show Engine Number
-- administrator\components\com_rdautos\views\makes\tmpl\default.php --
<th class="title" width="294"><div align="left"><?php echo JText::_( 'VEHICLE MAKE' ); ?>e</div></th>
-- should be --
<th class="title" width="294"><div align="left"><?php echo JText::_( 'VEHICLE MAKE' ); ?></div></th>
-- administrator\views\application\tmpl\form.php line 108 & 113--
</tr> -- should be -- <tr>
-- components\com_rdautos\views\detail\tmpl\default.php --
<td><?php echo JText::_( 'CONDITION' ); ?></td>
-- should be --
<td><?php echo JText::_( 'VEHICLE CONDITION' ); ?></td>
-- administrator\components\com_rdautos\views\application\tmpl\form.php --
<?php echo JHTML::_('tooltip', JText::_( 'DESIRED MAKE' ), null , null, JText::_( 'VEHICLE INFO' )); ?> </td>
-- should be --
<?php echo JHTML::_('tooltip', JText::_( 'DESIRED MAKE' ), null , null, JText::_( 'VEHICLE MAKE' )); ?> </td>
-- Can be deleted from both language files --
CAR MAKE = Car make
CONDITION = Vehicle condition
GEAR COUNT = Gear count
-- Replace --
Carossery --with-- Carrossery
Now the suggestions:
To make the component a little more generic so it can be used for both car and motorcycle sales.
-- Replace all occurrences of --
CAR MODEL --with-- VEHICLE MODEL
SELECTED CAR DELETED --with-- SELECTED VEHICLE DELETED
NO SELECTED CAR --with-- NO SELECTED VEHICLE
FEATURED CAR --with-- FEATURED VEHICLE
PUBLISH CAR --with-- PUBLISH VEHICLE
Car model --with-- Vehicle model
Feature this Car --with-- Feature this Vehicle
Publish this Car --with-- Publish this Vehicle
car --with-- vehicle
cars --with-- vehicles
Car --with-- Vehicle
Cars --with-- Vehicles
Add two extra criteria to vehicle table for motorcycles
Engine type and Drive type
-- Add to view.htnl.php --
## Filling the Array() for availebillity and make a select list for it.
'4' => array('value' => '4', 'text' => JText::_( 'VEHICLE SOLD' )),
## Filling the Array() for enginetypes and make a select list for it.
$enginetypes = array(
'0' => array('value' => '0', 'text' => JText::_( 'MAKE A SELECTION PLS' )),
'1' => array('value' => '1', 'text' => JText::_( 'SINGLE' )),
'2' => array('value' => '2', 'text' => JText::_( 'IN-LINE TWIN' )),
'3' => array('value' => '3', 'text' => JText::_( 'IN-LINE TRIPLE' )),
'4' => array('value' => '4', 'text' => JText::_( 'IN-LINE FOUR' )),
'5' => array('value' => '5', 'text' => JText::_( 'IN-LINE SIX' )),
'6' => array('value' => '6', 'text' => JText::_( 'V-TWIN' )),
'7' => array('value' => '7', 'text' => JText::_( 'V-FOUR' )),
'8' => array('value' => '8', 'text' => JText::_( 'V-SIX' )),
'9' => array('value' => '9', 'text' => JText::_( 'FLAT TWIN' )),
'10' => array('value' => '10', 'text' => JText::_( 'FLAT FOUR' )),
);
$lists[enginetypes] = JHTML::_('select.genericList', $enginetypes, 'enginetypes', ' class="inputbox" '. '', 'value', 'text', $items->enginetypes );
## Filling the Array() for drivetypes and make a select list for it.
$drivetypes = array(
'0' => array('value' => '0', 'text' => JText::_( 'MAKE A SELECTION PLS' )),
'1' => array('value' => '1', 'text' => JText::_( 'BELT' )),
'2' => array('value' => '2', 'text' => JText::_( 'CHAIN' )),
'3' => array('value' => '3', 'text' => JText::_( 'SHAFT' )),
);
$lists[drivetypes] = JHTML::_('select.genericList', $drivetypes, 'drivetypes', ' class="inputbox" '. '', 'value', 'text', $items->drivetypes);
You can see RD-Autos used in a motorcycle website here www.topgunyamaha.com.au/motorcycles-for-sale
| Administrator has disabled public writing. |
| Comment By: Robert || RD-Media @ 2010-06-05 08:39:39 | #471 |
I like your thinking and want to make it suitable for bikes also.
| Comment By: marcio_silva@netmadeira.com @ 2010-07-13 21:59:59 | #614 |
The only problem i've notice was regarding the extra fields, i don't want to sell a motorcycle with dvd player and airbags lol
| Comment By: Elfi [Moderator] @ 2010-08-30 12:33:33 | #842 |
Maybe an inbuild extra category page with new filds for bikers and so on.
But I don't know anything about boats.... :(


