OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
Vehicle Park template glitch (0 viewing) 

OrdaSoft template Support

Go to bottom Favoured: 0

Vehicle Park template glitch

TheKolaNN (Visitor)
Posts: 0
graphgraph
User Offline
Vehicle Park template glitch 10 Years ago
Karma: 0  
Hi,
please fix this glitch, which appears on Vehicle Park template on the VehicleManager Top PRO module.
The default layout for this module is 3x1, 3x2, 3x3, 3x4 (n) etc. The glitch appears only when we have got n+1 cars in the database (7 or 10 for example). Please see the attachment.
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8230
graph
User Offline Click here to see the profile of this user
Re:Vehicle Park template glitch 10 Years ago
Karma: 101  
Hello,

You may do 2 things one or other:

in file:
{site}/templates/os_vehiclepark_11_13/css/style.css
find block .block_list_in


and add to it row: height: 310px;


or you may
in file
{site}/templates/os_vehiclepark_11_13/javascript/custom.js

at end that file add code:

j
Code:

Query(document).ready(function($) { 
    var maximalnayaVisota = 0; // - max-height block.
    $(".block_list_in").each(function() {
        if ($(this).height() > maximalnayaVisota) {
            maximalnayaVisota = $(this).height();
        }
    });
    $(".block_list_in").height(maximalnayaVisota);
 
});




Please backup these files first

Thanks,
OrdaSoft team
Logged Logged
The administrator has disabled public write access.
TheKolaNN (Visitor)
Posts: 0
graphgraph
User Offline
Re:Vehicle Park template glitch 10 Years ago
Karma: 0  
In {site}/templates/os_vehiclepark_11_13/css/style.css, there are 39 matches of .block_list_in block. Which one should I modify? Tell me the line.

Modifying {site}/templates/os_vehiclepark_11_13/javascript/custom.js resulted no result.

Issue still open.
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8230
graph
User Offline Click here to see the profile of this user
Re:Vehicle Park template glitch 10 Years ago
Karma: 101  
hello,

You need add that to any block where you see one class definition .block_list_in
we can set line number, in every site that different line


Thanks,
OrdaSoft team
Logged Logged
The administrator has disabled public write access.
TheKolaNN (Visitor)
Posts: 0
graphgraph
User Offline
Re:Vehicle Park template glitch 10 Years ago
Karma: 0  
Adding "height: 310px;" into style.css kind'a helped, but it displays 9 cars now, instead of 10.
Where is the 10th car from the database?
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8230
graph
User Offline Click here to see the profile of this user
Re:Vehicle Park template glitch 10 Years ago
Karma: 101  
hello,

please check for that car in self component - it publish, it approved ?

style - what you change not do nothing for show or not some car

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