OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
Change position of category list (0 viewing) 
VehicleManager component support
Go to bottom Favoured: 0
TOPIC: Change position of category list
#3235
matjazpintaric (User)
Fresh Boarder
Posts: 10
graphgraph
User Offline Click here to see the profile of this user
Change position of category list 4 Years, 11 Months ago Karma: 0  
Hallo,

where can I change positions of displaying the options of vehicle.

I would like to have price and then mark (of the model)

Thanks

Mat
 
Logged Logged  
 
Last Edit: 2012/01/11 17:32 By matjazpintaric.
  The administrator has disabled public write access.
#3239
admin (Admin)
Admin
Posts: 4861
graph
User Offline Click here to see the profile of this user
Re:Change position of category list 4 Years, 11 Months ago Karma: 61  
hello Mat,

Sorry not understand what you mean under "options"

All change - how some thing lkook - you may do with help CSS. Please check FireBug extension - for firefox

Also you may change how some thing look with help code edit.
For that you will need edit file:
{yours site}/components/com_vehiclemanager/vehiclemanager.html.php

For show alone vehicle you need edit function:
displayVehicle

For show vehicles in some category you need edit function:
displayVehicles


Thanks,
OrdaSoft team
 
Logged Logged  
  The administrator has disabled public write access.
#3241
matjazpintaric (User)
Fresh Boarder
Posts: 10
graphgraph
User Offline Click here to see the profile of this user
Re:Change position of category list 4 Years, 11 Months ago Karma: 0  
I would like to reorder: image, title, price,... in price, title, image.

Where can I do that?

Thanks

Mat
 
Logged Logged  
  The administrator has disabled public write access.
#3243
admin (Admin)
Admin
Posts: 4861
graph
User Offline Click here to see the profile of this user
Re:Change position of category list 4 Years, 11 Months ago Karma: 61  
For change order in order condition in vehicle manager you need in File:
{yours site}/components/com_vehiclemanager/vehiclemanager.html.php

in function:
displayVehicles


find row look like:
Code:

Click to sort by this column



Thanks,
OrdaSoft team
 
Logged Logged  
  The administrator has disabled public write access.
#3247
matjazpintaric (User)
Fresh Boarder
Posts: 10
graphgraph
User Offline Click here to see the profile of this user
Re:Change position of category list 4 Years, 11 Months ago Karma: 0  
I would like to change order of column in category list. So all the vehicles will be shown in special order.

Now it is:
1. column 2. column 3. column ....
picture title model


I would like to change that order to:
1. column 2. column 3. column ....
model picture title



Where can I do that?

Thanks
Mat
 
Logged Logged  
 
Last Edit: 2012/01/08 13:51 By matjazpintaric.
  The administrator has disabled public write access.
#3255
admin (Admin)
Admin
Posts: 4861
graph
User Offline Click here to see the profile of this user
Re:Change position of category list 4 Years, 10 Months ago Karma: 61  
Hi Mat,

For change column order in vehicle manager you need in File:
{yours site}/components/com_vehiclemanager/vehiclemanager.html.php

in function:
displayVehicles


find row look like:
Code:

                        <td width="10%" height="20" class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
    <?php echo _VEHICLE_MANAGER_LABEL_COVER; ?>
                        </td>
                        <td width="40%" height="20" class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
                          <?php echo _VEHICLE_MANAGER_LABEL_TITLE;?>
                        </td>
                        <td width="40%" height="20" class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
    <?php echo _VEHICLE_MANAGER_LABEL_MODEL;?>

                        </td>



and replace to:

Code:

                        
                        <td width="40%" height="20" class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
    <?php echo _VEHICLE_MANAGER_LABEL_MODEL;?>
                        </td><td width="10%" height="20" class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
    <?php echo _VEHICLE_MANAGER_LABEL_COVER; ?>
                        </td>
                        <td width="40%" height="20" class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
                          <?php echo _VEHICLE_MANAGER_LABEL_TITLE;?>
                        </td>




and find row:
Code:


                        <td>
<?php if ($row->maker == '' || $row->maker == 'other')
                                echo $row->vmodel;
                            else
                                echo $row->maker, ', ', $row->vmodel; ?>
                        </td>



and move that little at top, after rows:
Code:

                    <tr class="<?php echo $tabclass[($g_item_count%2)]; ?>" >
                                <td style="padding-left:5px; padding-top:5px; padding-right:10px;">




But first please do file back up

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