Jump to content
Sign in to follow this  
nate_02631

"Dynamenu" for osCommerce

Recommended Posts

Just had a final question that when I opened up my website in my laptop which has lower resolution than my desktop computer and in laptop the vertical menu appears at different place than in my desktop. So is there any way to overcome this problem, if not that I am just happy with this.

 

So when the resolution changes the setting in dm_categories.php also gets affected and the pop-up are displayed accordingly.

I am not sure about that. But when I now logged in to your site, the submenues popped up left out of my screen. I did only see half of them.

Could this have something with how the rest of your site is configured? If I make the browserwindow smaller I dont get a horizontal scrolbar, that is, I cant see your whole page from left to right.


---------------

regards

sijo

---------------

 

Contrib: JMrating10 - Rate your products / osCommerce VTS - Virus & Threat Scanner

 

(osCommerce VTS now also checks for leading and trailing whitespace and also have a grep function)

Share this post


Link to post
Share on other sites

I am not sure about that. But when I now logged in to your site, the submenues popped up left out of my screen. I did only see half of them.

Could this have something with how the rest of your site is configured? If I make the browserwindow smaller I dont get a horizontal scrolbar, that is, I cant see your whole page from left to right.

 

The positiion of the pop-up is changed when I reduce or incarese the browser font size / zoom in using (ctrl & minus or +). Its got something to do with that, anyways I will just leave it as it is.

Share this post


Link to post
Share on other sites

Hi. 1st want to thank the author for this lovely menu. But I have a question: is there any way to add some delay, when a menu link is pointed over and a submenu has to be popped up? Let's say - 200 msec. You see, as in FF menus, a submenu never appears exactly when you move mouse, but a little bit later. Thanks in advance.

Share this post


Link to post
Share on other sites

How can I get the submenus pop up at the same position and not change position depending on screen or screenresolution?

Im using the Vertical Flyout menu.

Please anyone?


---------------

regards

sijo

---------------

 

Contrib: JMrating10 - Rate your products / osCommerce VTS - Virus & Threat Scanner

 

(osCommerce VTS now also checks for leading and trailing whitespace and also have a grep function)

Share this post


Link to post
Share on other sites

How can I get the submenus pop up at the same position and not change position depending on screen or screenresolution?

Im using the Vertical Flyout menu.

Please anyone?

 

I really need help with this. Anyone that can help me, please?


---------------

regards

sijo

---------------

 

Contrib: JMrating10 - Rate your products / osCommerce VTS - Virus & Threat Scanner

 

(osCommerce VTS now also checks for leading and trailing whitespace and also have a grep function)

Share this post


Link to post
Share on other sites

Hi All,

 

The Dynamenu is working at all,but after I tried the Verticaly Center OSC (working IE6 through 8)

 

the menu was horizontal offset as picture,I think there should be CSS problem,but I don't know much of it,any one has idea about this problem,thx!

 

dynamenu.jpg

 

Below code is instruction of Verticaly Center installing Verticaly Center OSC (working IE6 through 8

 

Verticaly Center your oscommerce webshop with this easy CSS code that should work on all browsers including IE6 through 8.

Play with the width and padding under #container to fit your needs :) Enjoy

Open /catalog/stylesheet.css

Find the following code (this code can differ depending on what changes you have done to your stylesheet.css file):

BODY {
 background: #ffffff;
 color: #000000;
 margin: 0px;
}


Replace with:

BODY {
 background: #ffffff;
 color: #000000;
 margin: 0;
 padding: 0;
 text-align:center; 	
}

#CONTAINER {
 width: 990px; 
 margin-left: auto;
 margin-right: auto;
 margin-top: 20px;
 padding: 1 10 10 10;
 background: #ffffff;
 position:relative;
 overflow:hidden;
}

----

Open /catalog/include/header.php

Find the following code:

 if ($messageStack->size('header') > 0) {
   echo $messageStack->output('header');
 }
?>

Straight after add the following code:

<div id="CONTAINER">

----

Open /catalog/include/footer.php

Find the following code:

   <td align="center"><?php echo tep_display_banner('static', $banner); ?></td>
 </tr>
</table>
<?php
 }
?>

Straight after add the following code:
</div>

----

Share this post


Link to post
Share on other sites

Hi All,

The Dynamenu is working at all,but after I tried the Verticaly Center OSC (working IE6 through 8)

the menu was horizontal offset as picture,I think there should be CSS problem,but I don't know much of it,any one has idea about this problem,thx!

 

Try to play with this in catalog/includes/boxes/dm_categories.php :

$menu_layer_offset = array (-42,4,4);


---------------

regards

sijo

---------------

 

Contrib: JMrating10 - Rate your products / osCommerce VTS - Virus & Threat Scanner

 

(osCommerce VTS now also checks for leading and trailing whitespace and also have a grep function)

Share this post


Link to post
Share on other sites

Try to play with this in catalog/includes/boxes/dm_categories.php :

$menu_layer_offset = array (-42,4,4);

 

Hi Sijo,

 

I have played around with these 3 value,but it doesn't fit all cases,

My monitor set resolution 1600x900,and the width of OSC content is 1024,

after installed the addon I mentioned and without any modify, when I using firefox & maximize the window to browse,the vertical menu will be offset,

then I try to modify below value

$menu_layer_offset = array (-42,4,4);

but just can modify it to fit when the windows is maximize,if the winodws is not maximize,then the submenu will on the left hand side of the main menu

 

windows not maximize case

correct.jpg

windows is maximized case

incorrect.jpg

Share this post


Link to post
Share on other sites

Hi Sijo,

 

I have played around with these 3 value,but it doesn't fit all cases,

My monitor set resolution 1600x900,and the width of OSC content is 1024,

after installed the addon I mentioned and without any modify, when I using firefox & maximize the window to browse,the vertical menu will be offset,

then I try to modify below value

$menu_layer_offset = array (-42,4,4);

but just can modify it to fit when the windows is maximize,if the winodws is not maximize,then the submenu will on the left hand side of the main menu

 

Do you have a link to your site?


---------------

regards

sijo

---------------

 

Contrib: JMrating10 - Rate your products / osCommerce VTS - Virus & Threat Scanner

 

(osCommerce VTS now also checks for leading and trailing whitespace and also have a grep function)

Share this post


Link to post
Share on other sites

Hi,

 

Here is My link

 

I am not sure, since I'm using STS here my code diffs from yours.

But you can try this. (Not sure if it will work for you, it can also produce error on your site):

Find this code: (Maybe in your index.php ?)

-----

<td align="center"><a href="http://www.mariio128...685703b967e30eb" target="_blank"><img src="images/banners/oscommerce.gif" border="0" alt="osCommerce" title=" osCommerce " width="468" height="50"></a></td>

</tr>

</table>

-----

Insert after:

<div id="menu_test">

And in your stylesheet.css add this:

div#menu_test {
z-index: 8;
position: absolute;
top: 40px;
}

 

Now play with this:

$menu_layer_offset = array (-42,4,4);


---------------

regards

sijo

---------------

 

Contrib: JMrating10 - Rate your products / osCommerce VTS - Virus & Threat Scanner

 

(osCommerce VTS now also checks for leading and trailing whitespace and also have a grep function)

Share this post


Link to post
Share on other sites

Hi,

 

I can't find similar code in catalog/index.php,could you advise if it is located in somewhere?

Share this post


Link to post
Share on other sites

Hi,

 

I can't find similar code in catalog/index.php,could you advise if it is located in somewhere?

 

Try catalog/includes/footer.php


---------------

regards

sijo

---------------

 

Contrib: JMrating10 - Rate your products / osCommerce VTS - Virus & Threat Scanner

 

(osCommerce VTS now also checks for leading and trailing whitespace and also have a grep function)

Share this post


Link to post
Share on other sites

Hey guys, I just found out about osCommerce yesterday and I am really getting into making my online store a success. This is my first time building a store and I want to get Dynamenu working with STS 4.1 I have installed on a fresh install of osCommerce RC2.

 

I followed the instructions in the readme.txt file exactly, but I cannot get the verical fly out menus to display.

 

Here is my footer.php:

 

...

<?php

}

// START STS 4.1

}

// END STS 4.1

// Output the footer for Dynamenu for osCommerce

echo $GLOBALS['dmfooter'];

?>

 

sts_column_left.php to replace STS columns with dynamenu columns:

 

if ((USE_CACHE == 'true') && empty($SID)) {

echo tep_cache_categories_box();

} else {

include(DIR_WS_BOXES . 'dm_categories.php');

}

$sts->restart_capture ('categorybox', 'box');

 

I have also copy pasted the entire given dynamenu_for_osc_styles.txt into my stylesheet.css as well

 

The problem is that the categories appear with the icons, but when you mouseover nothing appears!

 

Here is a link to my website in its current form: www.d2hardcore.com

 

Thanks!

Share this post


Link to post
Share on other sites

Well BTW I got it working now, you can see it on my website.

 

I just added the footer code at the end of the footer.php.html file I was using which in this case was the multiple defualt template.

Share this post


Link to post
Share on other sites

Hi i installed dynamenu , great contribution , all working fine !! How can i make the dynamenu just to call 2 or 3 categories only ?? lets say the categories with id's = 1,2,3

 

Thanks

Share this post


Link to post
Share on other sites

You can find information on using STS & Dynamenu here: http://www.oscommerce.com/community/contributions,4456

 

Hey guys, I just found out about osCommerce yesterday and I am really getting into making my online store a success. This is my first time building a store and I want to get Dynamenu working with STS 4.1 I have installed on a fresh install of osCommerce RC2.

 

I followed the instructions in the readme.txt file exactly, but I cannot get the verical fly out menus to display.

 

Here is my footer.php:

 

...

<?php

}

// START STS 4.1

}

// END STS 4.1

// Output the footer for Dynamenu for osCommerce

echo $GLOBALS['dmfooter'];

?>

 

sts_column_left.php to replace STS columns with dynamenu columns:

 

if ((USE_CACHE == 'true') && empty($SID)) {

echo tep_cache_categories_box();

} else {

include(DIR_WS_BOXES . 'dm_categories.php');

}

$sts->restart_capture ('categorybox', 'box');

 

I have also copy pasted the entire given dynamenu_for_osc_styles.txt into my stylesheet.css as well

 

The problem is that the categories appear with the icons, but when you mouseover nothing appears!

 

Here is a link to my website in its current form: www.d2hardcore.com

 

Thanks!


~Tracy
 

Share this post


Link to post
Share on other sites

Is there a reason you don't want the normal functionality of showing all of your categories in the menu? A better understanding of why you need to accomplish this may help generate a better response on how best to go about it :-)

 

Hi i installed dynamenu , great contribution , all working fine !! How can i make the dynamenu just to call 2 or 3 categories only ?? lets say the categories with id's = 1,2,3

 

Thanks


~Tracy
 

Share this post


Link to post
Share on other sites

Is there a reason you don't want the normal functionality of showing all of your categories in the menu? A better understanding of why you need to accomplish this may help generate a better response on how best to go about it :-)

 

 

Hi thanks for your reply , we sell toys and baby products and we want to create two or three categories shop by age , shop by material and by gender ,and we will link the products that are allready in categories in the three new one positioned in the header .

 

Thanks for your time

Share this post


Link to post
Share on other sites

Hi.

 

Sry for my bad English but I hope you will understand me :)

 

First: This is a very nice Contribution and nearly what i Need.

 

 

I´ve tried a while to "disable" the Main-Category in the Box (make it invisible) but i don´t get it to work.

 

For Example:

 

Main-Cat 1

- Sub Cat 1

- Sub Cat 2

-- Sub Sub Cat 1

- Sub Cat 3

Main-Cat 2

- Sub Cat 1

- Sub Cat 2

 

...

Now if you are in Main-Cat 1 this should not be visible but the Sub Cat like:

 

- Sub Cat 1

- Sub Cat 2

-- Sub Sub Cat 1

- Sub Cat 3

 

...

 

Thanks to anybody who could help me or push me to the right direction.

Share this post


Link to post
Share on other sites

Can't you just make the existing categories subcategories of the new ones?

 

I'm not positive, but I think there may be a contribution to hide a category - I'd search the contributions and see what you find.

 

Hi thanks for your reply , we sell toys and baby products and we want to create two or three categories shop by age , shop by material and by gender ,and we will link the products that are allready in categories in the three new one positioned in the header .

 

Thanks for your time


~Tracy
 

Share this post


Link to post
Share on other sites

Hi , i did use the hide categ attribute to hide the categories from left column , so i can isolate the hidden ones in dynamenu.

 

I would also like to ask if i can use the tree menu without the vertical lines appear and the nod boxes on the left , more looking like a roll over tree menu .

 

Thanks

 

Demetris

Share this post


Link to post
Share on other sites

Hi.

 

Sry for my bad English but I hope you will understand me :)

 

First: This is a very nice Contribution and nearly what i Need.

 

 

I´ve tried a while to "disable" the Main-Category in the Box (make it invisible) but i don´t get it to work.

 

For Example:

 

Main-Cat 1

- Sub Cat 1

- Sub Cat 2

-- Sub Sub Cat 1

- Sub Cat 3

Main-Cat 2

- Sub Cat 1

- Sub Cat 2

 

...

Now if you are in Main-Cat 1 this should not be visible but the Sub Cat like:

 

- Sub Cat 1

- Sub Cat 2

-- Sub Sub Cat 1

- Sub Cat 3

 

...

 

Thanks to anybody who could help me or push me to the right direction.

 

I think you are disabling the categories in categories.php , in order to this i suppose with dynamenu you have to make the changes in dm_categories.php . Not an expert or something on my way learning , just my opinion.

 

rgds

Share this post


Link to post
Share on other sites

Hi Sijo,

 

I have played around with these 3 value,but it doesn't fit all cases,

My monitor set resolution 1600x900,and the width of OSC content is 1024,

after installed the addon I mentioned and without any modify, when I using firefox & maximize the window to browse,the vertical menu will be offset,

then I try to modify below value

$menu_layer_offset = array (-42,4,4);

but just can modify it to fit when the windows is maximize,if the winodws is not maximize,then the submenu will on the left hand side of the main menu

 

windows not maximize case

correct.jpg

windows is maximized case

incorrect.jpg

I am having the same issue..did you manage to solve the problem?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×