- Posts: 69
- Thank you received: 0
Wrong positioning and strange behaviour of module
- 
        Gracy
 Inactive member
- 
            
				 Topic Author Topic Author
- Member
- 
              
        Less
        More
        
            
    
        
            
        
                12 years 8 months ago         -  12 years 8 months ago        #26502
        by Gracy
    
    
        
        
    
    
            
            
            
            
                                
    
                                                
    
        Wrong positioning and strange behaviour of module was created by Gracy            
    
        Hello,
I reinstalled all from scratch (to be able to load Virtuemart on HotWine template), but at the moment I have a problem with hot flashes menu:
1. I loaded the module in user2 position of HotWine, but it is shifed from the main module and part of the module is in another line (see attached image)
2. some menu item are not shown in the flashes menu (at the moment I have the original menu coming from HotWine template)
if you need, the link for the site is www.mostomisto.it
How can I correct such errors above please?
Thanks again
Roberto
I reinstalled all from scratch (to be able to load Virtuemart on HotWine template), but at the moment I have a problem with hot flashes menu:
1. I loaded the module in user2 position of HotWine, but it is shifed from the main module and part of the module is in another line (see attached image)
2. some menu item are not shown in the flashes menu (at the moment I have the original menu coming from HotWine template)
if you need, the link for the site is www.mostomisto.it
How can I correct such errors above please?
Thanks again
Roberto
        Last edit: 12 years 8 months ago  by Gracy.            
            Please Log in to join the conversation.
- 
        ivan.milic
 Support Staff
- 
            
				  
- Moderator
- 
              
        Less
        More
        
            
    
        - Posts: 14116
- Thank you received: 1639
            
        
                12 years 8 months ago                #26517
        by ivan.milic
    
    
            
            
            
            
            
                                
    
                                                
    
        Replied by ivan.milic on topic Wrong positioning and strange behaviour of module            
    
        Instead of separator type you user for those two menu items , use external url menu item type with url:
or anything else just not separator
Code:
javascript:void(0)
or anything else just not separator
Please Log in to join the conversation.
- 
        Gracy
 Inactive member
- 
            
				 Topic Author Topic Author
- Member
- 
              
        Less
        More
        
            
    
        - Posts: 69
- Thank you received: 0
            
        
                12 years 8 months ago         -  12 years 8 months ago        #26521
        by Gracy
    
    
        
        
    
    
            
            
            
            
                                
    
                                                
    
        Replied by Gracy on topic Wrong positioning and strange behaviour of module            
    
        that is for missing menu item
... but part of the menu is in the second line and part in the first line, and the menu is shifted on the right related to the main module (see image)
see also after applying javascript:void(0) (image: flashes_menu_behaviour2.png)
Can you help me please to solve the problem in the image?
thanks in advance
Roberto
... but part of the menu is in the second line and part in the first line, and the menu is shifted on the right related to the main module (see image)
see also after applying javascript:void(0) (image: flashes_menu_behaviour2.png)
Can you help me please to solve the problem in the image?
thanks in advance
Roberto
        Last edit: 12 years 8 months ago  by Gracy.            
            Please Log in to join the conversation.
- 
        ivan.milic
 Support Staff
- 
            
				  
- Moderator
- 
              
        Less
        More
        
            
    
        - Posts: 14116
- Thank you received: 1639
            
        
                12 years 8 months ago                #26527
        by ivan.milic
    
    
            
            
            
            
            
                                
    
                                                
    
        Replied by ivan.milic on topic Wrong positioning and strange behaviour of module            
    
        Try this, open:
templates\hot_flashes\flashes_menu\menu.js
find this line:
var ItemWidth = Math.floor((MenuWidth - (rootCount - 1)) / rootCount);
replace it with:
var ItemWidth = Math.floor((MenuWidth - (rootCount - 1)) / rootCount) - 1;
templates\hot_flashes\flashes_menu\menu.js
find this line:
var ItemWidth = Math.floor((MenuWidth - (rootCount - 1)) / rootCount);
replace it with:
var ItemWidth = Math.floor((MenuWidth - (rootCount - 1)) / rootCount) - 1;
Please Log in to join the conversation.
- 
        Gracy
 Inactive member
- 
            
				 Topic Author Topic Author
- Member
- 
              
        Less
        More
        
            
    
        - Posts: 69
- Thank you received: 0
            
        
                12 years 8 months ago         -  12 years 8 months ago        #26534
        by Gracy
    
    
        
        
    
    
            
            
            
            
                                
    
                                                
    
        Replied by Gracy on topic Wrong positioning and strange behaviour of module            
    
        Sorry Ivan,
there is only a file called "menu.js" in the folder "...\modules\mod_hot_flashes_menu\tmpl"
but in this file there is only a line var ItemWidth like this
var ItemWidth = Math.round((MenuWidth - (rootCount - 1)) / rootCount);
and one in the folder "...\administrator\templates\bluestork\js"
the right one is one of these above?
If not, where I can find that file?
Also, please, get a look at the www.mostomisto.it , it looks also that one column is empty from every menu item in the first line, your suggestion will fix this problem also?
PS!!! EDIT: I just noted now that the problem happens when you reduce the character dimension from 100% to a lesser value --> it create an empty column on the right (see image)
... how can we can fix this problem?
Thanks in advance
Roberto
there is only a file called "menu.js" in the folder "...\modules\mod_hot_flashes_menu\tmpl"
but in this file there is only a line var ItemWidth like this
var ItemWidth = Math.round((MenuWidth - (rootCount - 1)) / rootCount);
and one in the folder "...\administrator\templates\bluestork\js"
the right one is one of these above?
If not, where I can find that file?
Also, please, get a look at the www.mostomisto.it , it looks also that one column is empty from every menu item in the first line, your suggestion will fix this problem also?
PS!!! EDIT: I just noted now that the problem happens when you reduce the character dimension from 100% to a lesser value --> it create an empty column on the right (see image)
... how can we can fix this problem?
Thanks in advance
Roberto
        Last edit: 12 years 8 months ago  by Gracy.            
            Please Log in to join the conversation.
- 
        ivan.milic
 Support Staff
- 
            
				  
- Moderator
- 
              
        Less
        More
        
            
    
        - Posts: 14116
- Thank you received: 1639
            
        
                12 years 8 months ago                #26538
        by ivan.milic
    
    
            
            
            
            
            
                                
    
                                                
    
        Replied by ivan.milic on topic Wrong positioning and strange behaviour of module            
    
        If you use module then it is :
modules\mod_hot_flashes_menu\tmpl\menu.js
modules\mod_hot_flashes_menu\tmpl\menu.js
Please Log in to join the conversation.
        Time to create page: 0.223 seconds    
    
 
         
         
        