Milonic and osCommerce

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
jonjon
Advanced
Advanced
Posts: 16
Joined: Sun Dec 17, 2006 10:59 pm

Post by jonjon »

On the way :)
bitznbytes
Advanced
Advanced
Posts: 10
Joined: Wed Feb 28, 2007 5:17 pm

Post by bitznbytes »

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
jonjon
Advanced
Advanced
Posts: 16
Joined: Sun Dec 17, 2006 10:59 pm

Post by jonjon »

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
bitznbytes
Advanced
Advanced
Posts: 10
Joined: Wed Feb 28, 2007 5:17 pm

Post by bitznbytes »

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
jonjon
Advanced
Advanced
Posts: 16
Joined: Sun Dec 17, 2006 10:59 pm

Post by jonjon »

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
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

We are working on many things at the moment and this is on the ToDo list.

We will have something soon.

I only wish I could give you a date
jonjon
Advanced
Advanced
Posts: 16
Joined: Sun Dec 17, 2006 10:59 pm

Post by jonjon »

Thanks for your reply, Andy, and for your discreet deletion without the Smith & Wesson.

jon
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

Thanks for your reply, Andy, and for your discreet deletion without the Smith & Wesson.
;)

FYI - I'm working on it as we speak - That's the OS Commerce menu, not the Smith & Wesson BTW
bitznbytes
Advanced
Advanced
Posts: 10
Joined: Wed Feb 28, 2007 5:17 pm

Post by bitznbytes »

Hi Andy, just want to say 'thanks so much' for keeping this on your 'to do' list ! I am very anxious to see if it will work with OScommerce.

Cheers,
B
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

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
jonjon
Advanced
Advanced
Posts: 16
Joined: Sun Dec 17, 2006 10:59 pm

Second go 'round :)

Post by jonjon »

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?

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";
When we get this resolved, I'll add a category or two :) Thanks much!

jon
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

How can I get the kids to be the same item height as the parents?
Are they not the same, they should be?

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
bitznbytes
Advanced
Advanced
Posts: 10
Joined: Wed Feb 28, 2007 5:17 pm

Post by bitznbytes »

Hi Andy,
I'm still not getting any 2,3,4 sub-catagories on the menu. I've replaced my originall files and followed your install directions - any suggestions?
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

I'll need copies of your categories and categories_description tables to see what's different with your data.

Or at very least give me a small clue as to your websites, I'm working blind here and I hate to have to guess all the time.
bitznbytes
Advanced
Advanced
Posts: 10
Joined: Wed Feb 28, 2007 5:17 pm

Post by bitznbytes »

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!
jonjon
Advanced
Advanced
Posts: 16
Joined: Sun Dec 17, 2006 10:59 pm

I have the same height and length issue

Post by jonjon »

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?

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");
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
jonjon
Advanced
Advanced
Posts: 16
Joined: Sun Dec 17, 2006 10:59 pm

Height resolved

Post by jonjon »

Ha! What a twit :)

I got it, Andy, I got it! Off to play in categories.

jon
bitznbytes
Advanced
Advanced
Posts: 10
Joined: Wed Feb 28, 2007 5:17 pm

Post by bitznbytes »

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
HellGod
Beginner
Beginner
Posts: 6
Joined: Sun Mar 04, 2007 4:58 pm

Post by HellGod »

Is there a possibility to convert the "Breeze horizontal menu" for OSCommerce ?
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

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:

Code: Select all

// Menu Style Goes Here
	$mmStyle=new mmenuStyle();
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

Code: Select all

$mmStyle->subimage=DIR_WS_HTTP_CATALOG."/milonic/arrow.gif";
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

Code: Select all

$mmStyle->bgimage=DIR_WS_HTTP_CATALOG."/milonic/breeze.gif";
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

Code: Select all

if($menuArray[$a]['master'])
			{
				$mmMenu->alwaysvisible="true";
				$mmMenu->position="relative";
				$mmMenu->menuwidth="100%";
				$mmMenu->itemwidth="100%";
				$mmMenu->alwaysvisible="true";			
			}
		}
It does not say if you can add properties to the menu, so all I can suggest is that you try to add

Code: Select all

$mmMenu->orientation="horizontal";
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
Post Reply