HomeHome Product Discus... Product Discus...SmithCartSmithCartdrop down menu to configure serial numbers doesndrop down menu to configure serial numbers doesn't work
Previous
 
Next
New Post
12/4/2010 1:01 PM
 

When I edit a product htat has been added the first 2 menus have sub-menus under them. These are not providing their drop down options for me to select. Therefore there is no way for me to get to the serial number configuration menu for instance. Any ideas?

 
New Post
12/4/2010 5:31 PM
 

The menu in the add products screen uses the asp menu there may be a css conflict with your skin can you try changing your skin to the default dnn skin as a test. Also what version of dnn and the cart are you running and do you have any errors in your dnn event viewer?


At your service,
Dave Smith
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
12/4/2010 6:59 PM
 

I've got DNN 5.04 installed and the latest version of the of the cart just bought (3.88) and .NET is 3.5. The default skin helps but there is just a ">" beside "Product" (ie. Product >) and yet hovering over it does not show the submenus or clicking on it does not work. Any other ideas? I appreciate the help.

 
New Post
12/5/2010 12:46 PM
 

For most customers the asp menu on the add products screen works out of the box but I have seen on a few portals where their are css conflicts and it requires some tweaking to get the menu to work correct. Try adding the following css styles for the asp menu at the top of the addproducts.ascx:

<style type="text/css">

a:link {color: #000000;text-decoration:none;}
a:visited {color: #000000;text-decoration:none;}
a:hover {color: #000000;text-decoration:none; }
a:active {color: #000000;text-decoration:none;}

.StaticMenuItem
{
cursor:hand !important;
padding:10px !important;
width:100% !important;
list-style: none !important;


}
a:link.StaticMenuItem, a:visited.StaticMenuItem,
a:hover.StaticMenuItem,a:active.StaticMenuItem
{
color: #000000 !important;
list-style: none !important;

}
.ajax__tab_default .ajax__tab_tab {
display:inline !important;
}

ul {
list-style: none !important;
z-index: 1000 !important;

}
li {
list-style: none !important;
z-index: 1000 !important;
}

</style>

Then in the addproducts.ascx replace your asp menu control with the following:

<asp:Menu ID="MenuProduct" runat="server" OnMenuItemClick="MenuProduct_MenuItemClick" Orientation="Horizontal" CssClass="Writing"
StaticSubMenuIndent="0px" DynamicItemFormatString="&nbsp;{0}&nbsp;&nbsp;" BackColor="#CCCCCC">
<DynamicHoverStyle BackColor="#A39480" ForeColor="White" Height="30px" />
<%--<DynamicHoverStyle CssClass="dmenuHover"/>--%>
<DynamicMenuItemStyle HorizontalPadding="5px" Height="30px" />
<DynamicMenuStyle CssClass="dynamicMenu" />
<%--<DynamicSelectedStyle BackColor="#CCCCCC" /> --%>
<StaticHoverStyle BackColor="#A39480" />
<StaticMenuStyle Height="35px" />
<%--<StaticMenuItemStyle Height="30px" BackColor="#CCCCCC" CssClass="staticMenuItemStyle"/>--%>
<StaticMenuItemStyle BackColor="#CCCCCC" CssClass="myStaticMenu"/>
<StaticSelectedStyle BackColor="#CCCCCC" ForeColor="White" />

Open up your module.css in the \desktopmodules\smith.buynow folder and replace the following classes:

.Writing
{
width:850px !important;
font-family:Verdana, Arial, Helvetica, sans-serif !important;
font-size: 12px !important;
color:#000000 !important;
font-weight:600 !important;
list-style: none !important;

}

.myStaticMenu
{
position: relative !important;
top:0 !important;
left:0 !important;
width:150px !important;
text-align:center !important;
list-style: none !important;

}

.dmenuHover
{
color: White !important;
background-color: #A39480 !important;
z-index: 1000 !important;


}

.dynamicMenuItem
{
color:black !important;
padding:4px 6px !important;
z-index: 1000 !important;
list-style: none !important;


}

.dynamicMenu
{
/*background-color: #E3E3E1; */
border:Solid 1px black !important;
/*the background color for the dynamic menus both "popout" and non is covered by the
DynamicMenuStyle-BackColor="#FF6600" in the <asp:Menu> tag*/
background-color: #FFFFFF;
z-index: 1000 !important;
list-style: none !important;

}

Not sure if this will totally fix the menu on your portal but it should give you an idea of the css tweaks to get it working.


At your service,
Dave Smith
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
12/6/2010 9:52 PM
 

Seems like I figured this out. Safari does not do well with displaying that drop down. Explorer and Firefox do fine with it. Onward to my next problem

 
New Post
12/7/2010 12:43 PM
 

We found a bit of code that should fix the asp menu with safari. We added the following in the code behind:

if (Request.UserAgent.IndexOf("AppleWebKit") > 0)
Request.Browser.Adapters.Clear();

This had to be added in the code behind so it will be in the next cart release v3.96.

Here is a blog post if you want to read more about it:

http://weblogs.asp.net/dannychen/arch...


Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
12/31/2010 1:03 PM
 

DNN 05.06.00 (459) .Net 3.5 BuyNow 3.92 DrNuke Catalyst2 skins.

The dropdown menus work with Opera and Firefox but not Flock, IE8 or Chrome. I've been developing in Chrome because that is recommended for DNN. Do you have a temp or permanent fix yet?

 
New Post
12/31/2010 3:41 PM
 

The menu works on ie, firefox and chrome on my laptop. The asp menu may be conflicting with your skin can you try changing your skin to the default dnn skin as a test. Also try opening up the addproducts.ascx page and removing the css classes the asp menu uses so its just the bare bones asp menu.

-Scott


Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
1/2/2011 6:00 PM
 

[Quote]

I've been developing in Chrome because that is recommended for DNN.

[/quote]

Really? I had nothing but problems with Chrome and DNN (at least on 4.x), so I don't use chrome. I have it installed so I can make sure pages look all right, but not for development.

I use FireFox and FireBug.

 
New Post
1/3/2011 2:07 PM
 
Trimed it down to below. Still doesn't work.


<%--








--%>
























<%----%>
 
 Login to download attachment
New Post
1/3/2011 2:29 PM
 

The content of your post was empty so i couldnt see it can you repost it so i can see it if its different from the attachment. I looked at the attachment and you still have alot of the css classes for the asp menu I would try removing them all. What browsers does it work in and not work in on your portal. Did you try it with a different skin or the dnn skin to see if it is a css conflict with your skin?

-Scott


Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartdrop down menu to configure serial numbers doesndrop down menu to configure serial numbers doesn't work