
Milonic and osCommerce
-
- Advanced
- Posts: 10
- Joined: Wed Feb 28, 2007 5:17 pm
Hi Andy & Jonjon,
I've been following your posts on the use of Milonic's menu for OScommerce and I've been very successful installing and using it based on your previous instructions. However, If I use anymore than 1 subcatagory then the menu doesnt seem to pick it up at all. I can't seem to follow your comments related to this issue - I was wondering if it could be fixed so you can have 3,4,or 5 subcatagories?
Thanks,
B
I've been following your posts on the use of Milonic's menu for OScommerce and I've been very successful installing and using it based on your previous instructions. However, If I use anymore than 1 subcatagory then the menu doesnt seem to pick it up at all. I can't seem to follow your comments related to this issue - I was wondering if it could be fixed so you can have 3,4,or 5 subcatagories?
Thanks,
B
Hey B,
The last time I heard from Andy was 19 January. He wrote me that he understood the problem and was working on it.
I also could not get the script to function when there was a 3rd category level (or more)
1 Main
--2 Sub of Main
----3 Sub Sub of Main
There seemed to be a better "time" to start using the script: After all Categories were set up.
If, after the script was in use and further categories were added, they duplicated an existing path to another existing category.
So I disabled the script and went back to square one osC style.
I would very much like to see a working model but I suppose the world will have to be patient
jon
The last time I heard from Andy was 19 January. He wrote me that he understood the problem and was working on it.
I also could not get the script to function when there was a 3rd category level (or more)
1 Main
--2 Sub of Main
----3 Sub Sub of Main
There seemed to be a better "time" to start using the script: After all Categories were set up.
If, after the script was in use and further categories were added, they duplicated an existing path to another existing category.
So I disabled the script and went back to square one osC style.
I would very much like to see a working model but I suppose the world will have to be patient

jon
-
- Advanced
- Posts: 10
- Joined: Wed Feb 28, 2007 5:17 pm
AHH.....too bad....I thought that was the case.....damm....am trying to get an OScommerce site setup for an impatient client who really likes this menu setup.
It did work well for the first level...have you seen any other easy options to use with OScommerce to change the catagory menu around?
Thanks for the quick reply!
B
It did work well for the first level...have you seen any other easy options to use with OScommerce to change the catagory menu around?
Thanks for the quick reply!
B
I would like Milonic because I am familiar with it and its ease of use. I understand if I had purchased a license, it would bump my request up the queue. I just can't do that unless I can see what I'm buying. No offense intended at all to hard-working Milonic developers, whose progress I have been watching for years
jon

jon
-
- Advanced
- Posts: 10
- Joined: Wed Feb 28, 2007 5:17 pm
Right then - I have another beta version at http://milonic.com/oscommerce-menu.zip
Can you have a play and then let me know what you think. Let me know of any problems issues etc and I'll try and get them sorted whilst all this is fresh in my noodle.
I need to take a lie down now
Cheers,
Andy
Can you have a play and then let me know what you think. Let me know of any problems issues etc and I'll try and get them sorted whilst all this is fresh in my noodle.
I need to take a lie down now

Cheers,
Andy
Second go 'round :)
Andy,
I have uploaded the revised set of files. It's nice that there needn't be a .js call in the header now.
Question: How can I get the kids to be the same item height as the parents?
When we get this resolved, I'll add a category or two
Thanks much!
jon
I have uploaded the revised set of files. It's nice that there needn't be a .js call in the header now.
Question: How can I get the kids to be the same item height as the parents?
Code: Select all
// Menu Style Goes Here
$mmStyle=new mmenuStyle();
$mmStyle->bordercolor="transparent";
$mmStyle->borderstyle="solid";
$mmStyle->borderwidth=0;
$mmStyle->fontfamily="Arial";
$mmStyle->fontsize="75%";
$mmStyle->fontstyle="normal";
$mmStyle->fontweight="normal";
$mmStyle->headerbgcolor="#996666";
$mmStyle->headercolor="#000000";
$mmStyle->offbgcolor="#996666";
$mmStyle->offcolor="#FFFFFF";
$mmStyle->onbgcolor="#996666";
$mmStyle->oncolor="#000000";
$mmStyle->outfilter="randomdissolve(duration=0.1)";
// $mmStyle->overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=3)";
$mmStyle->padding=2;
$mmStyle->separatorcolor="#555555";
$mmStyle->separatorsize=1;
$mmStyle->subimage=DIR_WS_HTTP_CATALOG."/milonic/arrow_links.jpg";
$mmStyle->subimagepadding=3;
$mmStyle->overimage=DIR_WS_HTTP_CATALOG."/milonic/arrow_links_on.jpg";
$mmStyle->onsubimage=DIR_WS_HTTP_CATALOG."/milonic/arrow_links_on.jpg";
$mmStyle->createMenuStyle("menuStyle");
// (Re-used from first version from Andy.) Create the main menu, note that the PHP property names all match the name of the menu properties
$mmMenu=new mMenu();
$mmMenu->style="menuStyle";
$mmMenu->alwaysvisible="true";
$mmMenu->position="relative";
$mmMenu->menuwidth="100%";
$mmMenu->itemwidth="138";
$mmMenu->itemheight="30";

jon
Are they not the same, they should be?How can I get the kids to be the same item height as the parents?
If you've got a URL I'll see what we can do to fix it.
I'm pretty sure I got it this time and can assure you that we will get to the bottom of this so if you want to add some categories and do some testing that would be great.
Cheers,
Andy
-
- Advanced
- Posts: 10
- Joined: Wed Feb 28, 2007 5:17 pm
-
- Advanced
- Posts: 10
- Joined: Wed Feb 28, 2007 5:17 pm
Hi Andy,
Sorry for that - it is working! All seems to be working perfectly! I"ve added many sub-catagories and they do show on the menu system - I'll have more time later today to test for you and try out different options and I"ll let you know how it goes - but all seems well so far - a big 'THANK-YOU' for your time and assistance!
Sorry for that - it is working! All seems to be working perfectly! I"ve added many sub-catagories and they do show on the menu system - I'll have more time later today to test for you and try out different options and I"ll let you know how it goes - but all seems well so far - a big 'THANK-YOU' for your time and assistance!
I have the same height and length issue
Hi Andy,
I got your email with the replacement zip. I think what's going on here is I have used images to indicate to the user that there's a subcat to fly out. No subcat? No image.
subimage=DIR_WS_HTTP_CATALOG."/milonic/arrow_links.jpg";
subimagepadding=3; overimage=DIR_WS_HTTP_CATALOG."/milonic/arrow_links_on.jpg";
onsubimage=DIR_WS_HTTP_CATALOG."/milonic/arrow_links_on.jpg";
I also know that when there is no image, the height must be consistent at 30 (image or no image).
So where can I safely specify each Category, no matter the level, no matter is there is an subimage, to be 30 in itemheight and 138 in itemwidth?
I have pulled this out now. In or out, no effect.
// Create the main menu, note that the PHP property names all match the name of the menu properties
$mmMenu=new mMenu();
$mmMenu->style="menuStyle";
$mmMenu->alwaysvisible="true";
$mmMenu->position="relative";
$mmMenu->menuwidth="100%";
$mmMenu->itemwidth="138";
$mmMenu->itemheight="30";
Thanks much
jon
I got your email with the replacement zip. I think what's going on here is I have used images to indicate to the user that there's a subcat to fly out. No subcat? No image.
subimage=DIR_WS_HTTP_CATALOG."/milonic/arrow_links.jpg";
subimagepadding=3; overimage=DIR_WS_HTTP_CATALOG."/milonic/arrow_links_on.jpg";
onsubimage=DIR_WS_HTTP_CATALOG."/milonic/arrow_links_on.jpg";
I also know that when there is no image, the height must be consistent at 30 (image or no image).
So where can I safely specify each Category, no matter the level, no matter is there is an subimage, to be 30 in itemheight and 138 in itemwidth?
Code: Select all
// Menu Style Goes Here
$mmStyle=new mmenuStyle();
$mmStyle->bordercolor="transparent";
$mmStyle->borderstyle="solid";
$mmStyle->borderwidth=0;
$mmStyle->fontfamily="Arial";
$mmStyle->fontsize="75%";
$mmStyle->fontstyle="normal";
$mmStyle->fontweight="normal";
$mmStyle->headerbgcolor="#996666";
$mmStyle->headercolor="#000000";
$mmStyle->offbgcolor="#996666";
$mmStyle->offcolor="#FFFFFF";
$mmStyle->onbgcolor="#996666";
$mmStyle->oncolor="#000000";
$mmStyle->outfilter="randomdissolve(duration=0.1)";
// $mmStyle->overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=3)";
$mmStyle->padding=2;
$mmStyle->separatorcolor="#555555";
$mmStyle->separatorsize=1;
$mmStyle->subimage=DIR_WS_HTTP_CATALOG."/milonic/arrow_links.jpg";
$mmStyle->subimagepadding=3;
$mmStyle->overimage=DIR_WS_HTTP_CATALOG."/milonic/arrow_links_on.jpg";
$mmStyle->onsubimage=DIR_WS_HTTP_CATALOG."/milonic/arrow_links_on.jpg";
$mmStyle->createMenuStyle("menuStyle");
// Create the main menu, note that the PHP property names all match the name of the menu properties
$mmMenu=new mMenu();
$mmMenu->style="menuStyle";
$mmMenu->alwaysvisible="true";
$mmMenu->position="relative";
$mmMenu->menuwidth="100%";
$mmMenu->itemwidth="138";
$mmMenu->itemheight="30";
Thanks much

jon
Height resolved
Ha! What a twit 
I got it, Andy, I got it! Off to play in categories.
jon

I got it, Andy, I got it! Off to play in categories.
jon
-
- Advanced
- Posts: 10
- Joined: Wed Feb 28, 2007 5:17 pm
Hi Andy,
Got a quck question for you with reference to using SSL and your menu. If I use the menu and enable SSL, I get a "Partically Connected" sign when buying an item or when the SSL kicks in. From my understanding of SSL with OScommerce since the site is pulling an outside link that is not SSL (milonic's address found in the 'catagories' file) then it will not give me a true SSL connection. Do I have any options here in order to get a consistant true SSL connection with your menu?
Thanks,
Bitz
Got a quck question for you with reference to using SSL and your menu. If I use the menu and enable SSL, I get a "Partically Connected" sign when buying an item or when the SSL kicks in. From my understanding of SSL with OScommerce since the site is pulling an outside link that is not SSL (milonic's address found in the 'catagories' file) then it will not give me a true SSL connection. Do I have any options here in order to get a consistant true SSL connection with your menu?
Thanks,
Bitz
Hi,
Well, according to the info in the zip files you can edit the style, so you should be able to edit it and use the breeze menu. In the oscommerce-menu.php file you'll find the area to edit the style:
According to the install.txt file this is where you edit and all style properties are available. I did notice that in that existing style, there is a subimage and the code for that is
So I have to figure that if you were going to use that breeze.gif for the bgimage you'd have to code it as
As to editing the menu, ie making it horizontal, there is no information on that except where I see the area for the main menu
It does not say if you can add properties to the menu, so all I can suggest is that you try to add
and see if that let's you make it horizontal.
Since I don't see any place where it says you can have multiple styles, nor any place in the oscommerce-menu.php file where you can 'edit' menu properties in a submenu. I think that whatever menuStyle you create is applied to all the menus main and sub. Since there doesn't seem to be a place to add menu properties to the submenus, I would think that even if you add the orientation='horizontal"; for the main, that is in the main menu part and shouldn't apply to the subs, so they would open vertically.
As you can see, I'm guessing on most of this from reading that install.txt and oscommerce-menu.php file.
Hope this helps.
Ruth
Well, according to the info in the zip files you can edit the style, so you should be able to edit it and use the breeze menu. In the oscommerce-menu.php file you'll find the area to edit the style:
Code: Select all
// Menu Style Goes Here
$mmStyle=new mmenuStyle();
Code: Select all
$mmStyle->subimage=DIR_WS_HTTP_CATALOG."/milonic/arrow.gif";
Code: Select all
$mmStyle->bgimage=DIR_WS_HTTP_CATALOG."/milonic/breeze.gif";
Code: Select all
if($menuArray[$a]['master'])
{
$mmMenu->alwaysvisible="true";
$mmMenu->position="relative";
$mmMenu->menuwidth="100%";
$mmMenu->itemwidth="100%";
$mmMenu->alwaysvisible="true";
}
}
Code: Select all
$mmMenu->orientation="horizontal";
Since I don't see any place where it says you can have multiple styles, nor any place in the oscommerce-menu.php file where you can 'edit' menu properties in a submenu. I think that whatever menuStyle you create is applied to all the menus main and sub. Since there doesn't seem to be a place to add menu properties to the submenus, I would think that even if you add the orientation='horizontal"; for the main, that is in the main menu part and shouldn't apply to the subs, so they would open vertically.
As you can see, I'm guessing on most of this from reading that install.txt and oscommerce-menu.php file.
Hope this helps.
Ruth