OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
Several small problems (VM Search, PDF,...) (0 viewing) 

VehicleManager component support

Go to bottom Favoured: 0

Several small problems (VM Search, PDF,...)

Leparcauto (User)
Fresh Boarder
Posts: 10
graphgraph
User Offline Click here to see the profile of this user
Several small problems (VM Search, PDF,...) 11 Years, 4 Months ago
Karma: 0  
Hello,
I have decided to create a new topic because i have several small problems:
1. I would like that the years of the dropbox in the page for add a new vehicle are in decreasing order,
(Not like the image 1)

2. The fist text field of the Vehicle Search Module don't work
(See the image 2)

3. I have a problem with the PDF (see the image 3),
I would like fix the problem of display

thanks in advance
LeParcAuto
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:Several small problems (VM Search, PDF,...) 11 Years, 4 Months ago
Karma: 102  
Hello LeParcAuto,



Sorry what version you use ?



1. I would like that the years of the dropbox in the page for add a new vehicle are in decreasing order,

You need in file:

{site}/administrator/components/com_vehiclemanager/vehiclemanager.html.php



find code look like:

Code:

              $num=1900;

              for($i= 0;$num<=date('Y');$i++)

                {

                  print_r("<option value="");

                  print_r($num);

                  print_r(""");

                  if($num == $row->year){

                    print(" selected= "true" ");

                  }

                  print_r(">");

                  print_r($num);

                  print_r("</option>"); 

                  $num++;

                }


and replace it to some like below(but we not tested that):

Code:

              $num=date('Y');

              for($i= 0;$num>=1900;$i++)

                {

                  print_r("<option value="");

                  print_r($num);

                  print_r(""");

                  if($num == $row->year){

                    print(" selected= "true" ");

                  }

                  print_r(">");

                  print_r($num);

                  print_r("</option>"); 

                  $num--;

                }





2. The fist text field of the Vehicle Search Module don't work

What you mean ?



3. I have a problem with the PDF (see the image 3),

I would like fix the problem of display


That problem depend from how many content for every car, for me not clear how you will manage that.



Thanks,

Andrew

OrdaSoft team
Logged Logged
The administrator has disabled public write access.
Leparcauto (User)
Fresh Boarder
Posts: 10
graphgraph
User Offline Click here to see the profile of this user
Re:Several small problems (VM Search, PDF,...) 11 Years, 4 Months ago
Karma: 0  
my version of VM:
VehicleManager 3.0 PRO

my version of joomla:
Joomla! 2.5.14 Stable

1. for the year dropbox, i haven't this code in /administrator/components/com_vehiclemanager/vehiclemanager.html.php,
I have this code:
Code:

<?php
        echo "<option value=''>";
        echo _VEHICLE_MANAGER_OPTION_SELECT;
        echo "</option>";
        $num = 1900;
        for ($i = 0; $num <= date('Y'); $i++) {
            echo "<option value="";
            echo $num;
            echo """;
            if ($num == $row->year)
            {
                echo " selected= "true" ";
            }
            echo ">";
            echo $num;
            echo "</option>";
            $num++;
        }
        ?>



2. In the search module for sidebar, the first field (To make a search(research) by keywords) don't work, It's strange because if I click on advance search and I search by keywords that works.

3. For the PDF I would like to know if it is possible to show a vehicle only if all the information for this vehicle go into the page, otherwise put them on the following page, otherwise put the vehicle on the next page
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:Several small problems (VM Search, PDF,...) 11 Years, 4 Months ago
Karma: 102  
Hello,

1. for the year dropbox, ...
That questions or answer ? If questions, what y0u asked ?


2. In the search module for sidebar, the first field (To make a search(research) by keywords) don't work,
Please send admin and FTP access to your site, and we wil lcan check where error. Your account details you may send with help OrdaSoft suppoty form

3. For the PDF I would like to know if it is possible to show a vehicle only if all the information for this vehicle go into the page,
For fix that need full rebuild PDF output, will need or create fix heigh for every Cell or every time check what heigh have every cell. We now not use cell output at all.
You may ask custom version with rebuild PDF output, with help OrdaSoft contact form

Thanks,
ordaSoft team
Logged Logged
The administrator has disabled public write access.
Go to top
»