OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
Vehicle Park template glitch (0 viewing) 
OrdaSoft template Support
Go to bottom Favoured: 0
TOPIC: Vehicle Park template glitch
#11671
TheKolaNN (User)
Junior Boarder
Posts: 33
graphgraph
User Offline Click here to see the profile of this user
Vehicle Park template glitch 2 Years, 6 Months 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.
#11684
admin (Admin)
Admin
Posts: 4856
graph
User Offline Click here to see the profile of this user
Re:Vehicle Park template glitch 2 Years, 6 Months ago Karma: 61  
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.
#11743
TheKolaNN (User)
Junior Boarder
Posts: 33
graphgraph
User Offline Click here to see the profile of this user
Re:Vehicle Park template glitch 2 Years, 6 Months 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.
#11751
admin (Admin)
Admin
Posts: 4856
graph
User Offline Click here to see the profile of this user
Re:Vehicle Park template glitch 2 Years, 6 Months ago Karma: 61  
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.
#11774
TheKolaNN (User)
Junior Boarder
Posts: 33
graphgraph
User Offline Click here to see the profile of this user
Re:Vehicle Park template glitch 2 Years, 6 Months 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.
#11779
admin (Admin)
Admin
Posts: 4856
graph
User Offline Click here to see the profile of this user
Re:Vehicle Park template glitch 2 Years, 6 Months ago Karma: 61  
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
What are you looking for?
Anti-spam question: How many eyes has a typical person?