X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Admin Menus (https://forum.x-cart.com/showthread.php?t=57788)

Freakmode 01-28-2011 09:37 AM

Admin Menus
 
Is there anyway to edit the Admin top menu so it no longer uses the dopdown choices so you an use admin from an iPad?

Tried a couple of iPad browsers and seem to get the same problem but the home button does work due to no other menu option.

~Thanks

HandG 08-22-2011 01:44 PM

Re: Admin Menus
 
I am also having this problem. I would appreciate some help.

Can we make the menu buttons to show after a mouse click instead of a mouse rollover? I feel like this would solve the problem.

Everything else works perfectly fine on the ipad, except the horizontal menu buttons in the admin area.

zebu 01-22-2012 01:32 AM

Re: Admin Menus
 
Same issue ....I often check my site while travelling. Is their a fix for this.?

qualiteam 01-25-2012 02:57 AM

Re: Admin Menus
 
Try the following solution:

1. alter the "skin/common_files/(admin/single/provider)/home.tpl" templates and insert this code right after the <body> tag:
Code:

<!-- iPad fix -->
{literal}
<script type="text/javascript">
$(document).ready(function() {
    // trigger the function when clicking on an assigned element
    $("#horizontal-menu li").click(function () {
        var menuDiv = $(this).children("#horizontal-menu li div");
        if (menuDiv.is(":hidden")) {
            menuDiv.addClass("iPadJSDDMenu");
            menuDiv.slideDown("fast");
        } else {
            menuDiv.removeClass("iPadJSDDMenu");
            menuDiv.hide();
        }
    });
});
</script>
{/literal}


2. alter the "skin/common_files/css/skin1_admin.css" file and replace this code fragment:
Code:

.horizontal-menu-li-hover-div,
#horizontal-menu li:hover div
{
  display: block;
  position: absolute;
  left: -1px;
  top: 21px;
  background: #fff;
  border: 1px #aaa solid;
  border-top: 0 none;
  min-width: 170px;
}


with this one:
Code:

/*.horizontal-menu-li-hover-div,
#horizontal-menu li:hover div
{
  display: block;
  position: absolute;
  left: -1px;
  top: 21px;
  background: #fff;
  border: 1px #aaa solid;
  border-top: 0 none;
  min-width: 170px;
}*/

.iPadJSDDMenu
{
  display: block;
  position: absolute;
  left: -1px;
  top: 21px;
  background: #fff;
  border: 1px #aaa solid;
  border-top: 0 none;
  min-width: 170px;
}


Thats all, after the modification is complete admin menu will be using click JS events instead of DHTML hover.

PoC2 01-25-2012 03:23 AM

Re: Admin Menus
 
This modification works brilliantly.

Thank you.

cherie 01-25-2012 01:35 PM

Re: Admin Menus
 
I can use other hover drop-down menus on iPad. Maybe this should be considered a bug and fixed in a future version?

cflsystems 01-25-2012 09:54 PM

Re: Admin Menus
 
I have CSS-only based menu which works without any problems on iPad/iPhone so yes maybe XC default admin menu is just "broken"

qualiteam 01-25-2012 10:19 PM

Re: Admin Menus
 
X-Cart default menu is based on CSS "hover" effect.

This is the style that is used by default:
---
.horizontal-menu-li-hover-div,
#horizontal-menu li:hover div
{
display: block;
position: absolute;
left: -1px;
top: 21px;
background: #fff;
border: 1px #aaa solid;
border-top: 0 none;
min-width: 170px;
}
---

I do not see any problems with it.

As far as I know, on certain iPhones and iPads 'hover' does not work, in contrast to JS "onclick", that works fine on these devices.

lissi 08-04-2012 07:38 PM

Re: Admin Menus
 
Quote:

Originally Posted by qualiteam
Try the following solution:

1. alter the "skin/common_files/(admin/single/provider)/home.tpl" templates and insert this code right after the <body> tag:


I only have a home.tpl file in the /single/ folder. There is no home.tpl in the /admin/ or /provider/ folder.

I tried the fix with adding it only to the home.tpl in the single folder and it didn't work. Help?

qualiteam 08-07-2012 12:39 AM

Re: Admin Menus
 
It depends on the X-Cart version you use PRO or GOLD.
In case of Gold only */single/* folder is there.

Try clearing the templates cache (clenup.php script).

carpeperdiem 10-15-2012 04:52 PM

Re: Admin Menus
 
Why is this still an issue in 4.5.3?

*some* store admins use an iPad or iPhone while mobile...

As of the date of this posting, x-cart has not "fixed" 4.5.3.
Forcing us to search the forum, then patch.
Why ?

400 million iOS devices sold through June 2012.
Is this a passing fad?

dave01978 10-16-2012 03:54 AM

Re: Admin Menus
 
Quote:

Originally Posted by carpeperdiem
Why is this still an issue in 4.5.3?

*some* store admins use an iPad or iPhone while mobile...

As of the date of this posting, x-cart has not "fixed" 4.5.3.
Forcing us to search the forum, then patch.
Why ?

400 million iOS devices sold through June 2012.
Is this a passing fad?


becuase apple sucks and they dont design there stuff to work the way you want it to, they could easly allow it to work fine as it works great with several versions of android.

carpeperdiem 10-16-2012 04:09 AM

Re: Admin Menus
 
Quote:

Originally Posted by dave01978
becuase apple sucks


Right.
Market cap = $595 BILLION
We should all mismanage our companies and make products that people don't buy because the built-in web browser doesn't read X-cart admin menus.
Sure. Makes total sense.

Anyone reading this, remember when we all had to patch our sites for Microsoft (remember them?) IE?

Functionality with iOS should be part of beta testing. If it doesn't work with iOS - EVEN IF IT'S THE FAULT OF iOS - workarounds MUST be applied.

ONCE x-cart recognized (and provided a patch) for this, it should have been added to all future releases.

That's my point.

cflsystems 10-16-2012 08:16 AM

Re: Admin Menus
 
4.5.2 admin menus work ok on ipad for me. I have not tested on any phone but again I find it somewhat ridiculous to try and work the admin on 3" screen

carpeperdiem 10-16-2012 08:32 AM

Re: Admin Menus
 
Quote:

Originally Posted by cflsystems
4.5.2 admin menus work ok on ipad for me


iOS6?
I can confirm 4.5.3 gold plus admin menus do not work on iPhone 5, iOS 6

cflsystems 10-16-2012 08:36 AM

Re: Admin Menus
 
Hm not sure. It's iPad2 and I updated its OS like a week or 2 ago to the last one available for iPad - just when they released iPhone5 with the new OS. But the menus were working before and are working now. Agian this is on iPad2 not on iPhone.

Nishant 12-04-2012 10:19 PM

Re: Admin Menus
 
Its working Great..!!

One glitch is there.. If Multiple menu are opened. all are open at same time.

Can that be fixed ?

Richard Walkling 08-05-2013 01:32 AM

Re: Admin Menus
 
Here is a possible solution -

in /common_files/single/menu_box.tpl

Replace the text headers
{$lng.lbl_orders}

with a graphic - link similar to this :
<img src="{$SkinDir}/modules/TXS_Service_Scripts/images/admin-logo-box.png" alt="TheXCartStore"/>

I noticed that after adding add ons from TheXcartstore.com that their menu, which has a graphic at the top, opens fine when clicked on an ipad or iphone in 4.4.2

Change the image location to your own - just watch the widths so that it still fits on one screen.

Hope this helps

zebu 01-23-2016 04:13 PM

Re: Admin Menus
 
I applied this original fix back in 4.4.5 - but after upgrading to 4.7.4 - I once again had the issue on mobile devices with the admin drop down menus not being clickable.

I applied the original fix which worked once again - except it had a knock on effect in desktop view of the admin menus. In the desktop view the top menu becomes clickable and while the pop down menus do appear - you have to be really quick to click on your option otherwise the top level page loads. (because you have to click on it to get the pop down menu)

I just added a simple little arrow image to each menu - works fine in all views and all devices.

working
Quote:

Originally Posted by Richard Walkling
Here is a possible solution -

in /common_files/single/menu_box.tpl

Replace the text headers
{$lng.lbl_orders}

with a graphic - link similar to this :
<img src="{$SkinDir}/modules/TXS_Service_Scripts/images/admin-logo-box.png" alt="TheXCartStore"/>

I noticed that after adding add ons from TheXcartstore.com that their menu, which has a graphic at the top, opens fine when clicked on an ipad or iphone in 4.4.2

Change the image location to your own - just watch the widths so that it still fits on one screen.

Hope this helps



All times are GMT -8. The time now is 02:59 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.