Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Thread: Disabled Mobile Template

  1. #1
    Join Date
    May 2007
    Posts
    166

    Default Disabled Mobile Template

    Hello, I have disabled the mobile template (By truncating Mobile table in DB), works great accept for iphone, iphone continues to display the mobile template, I have cleared cache tried it on brand new iphone etc.

    Anything else I should try? Thanks in advance for any advise.
    MSX

  2. #2
    Join Date
    Jun 2010
    Posts
    11

    Default

    If you are referring to the Mobile Plugin, you should have an AppConfig Paramater called Mobile.IsEnabled.

    Set that to false then reset your cache and it should no longer display any of your mobile skin stuff.
    8.0.1.1 ML C# - Production
    9.0.1.2 ML C# - Development

  3. #3
    Join Date
    May 2007
    Posts
    166

    Default

    Thanks for replying, I don't have the mobile plugin, just the standard MSX Framework/cart
    MSX

  4. #4
    Join Date
    May 2009
    Location
    Sweden
    Posts
    556

    Default

    Try clearing the cache or cookies on the apple product.

    Go to settings/safari/clear cookies and cache.

  5. #5
    Join Date
    May 2007
    Posts
    166

    Default

    I have done that, even tried it on a new iphone.
    MSX

  6. #6
    Join Date
    May 2009
    Location
    Sweden
    Posts
    556

    Default

    Worked fine on ours by just having the db table empty. Odd that you are seeing it only on apple products.

  7. #7
    Join Date
    Jan 2009
    Posts
    148

    Smile

    I have version 9.1.0.1

    I had a look on my appconfig and the Mobile.IsEnabled doesen't exist , I went ahead and added and chose false as the boolean option but still not working .

    Still showing in IPAD and Iphone

    Can somebody help please

  8. #8
    Join Date
    Jul 2008
    Location
    Harlow / Essex / UK
    Posts
    619

    Default

    That AppConfig is only if you have the Vortx Mobile Plugin.

    Otherwise the best way, is to delete all the rows inside the MobileDevice Table like deanfp suggested.

    So first things first. Do a complete backup of your database? Why a complete backup? Because chances are you have not manually done one in ages. Once that is done and safe, you will want to run this.

    Code:
    DELETE FROM MobileDevice;
    Done, all entries inside the MobileDevice table are gone. So no one can get to the Mobile Template because there are no user agents to check against.

    If you ever need to get them rows back (you want to use the mobile template again.) Look for your DB files you used when installing/upgrading ASPDNSF.

    To keep this information relevant I am not going to post the section of code as it may change in the future. So first do a full site backup again. Then open up the DB script for installing the latest version (or your current version) of ASPDNSF. You want to look for the section of code starting like this

    Code:
    SET IDENTITY_INSERT [dbo].[MobileDevice] ON
    This code will then be followed by all the Mobile Devices. Copy from the SET Identity_Insert all the way to it turning off. Simply run that section of code and all the Mobile Devices are back and you are using Mobile Templates again!

    Hopefully that was helpful.
    =====
    Version (Code/DB): AspDotNetStorefront MSx 9.1.0.1/9.1.0.0
    Execution Mode: 64 Bit
    Dot Net Developments - E-commerce By Experience

  9. #9
    Join Date
    Oct 2011
    Posts
    1

    Default Cleared MobileDevice Table. Still Uses Mobile Template for iPhone and iPad

    I'm having the same problem as the other user that posted. Version 9.2.

    Mobile template is disabled for all other devices I've tested (Android and BlackBerry), but not iPhone and iPad.

    Any ideas?

  10. #10
    Join Date
    May 2009
    Location
    Sweden
    Posts
    556

    Default

    It's because Apple won't allow Safari to be used as a desktop browser just yet. If you try downloading another browser from the App Store you will see that it should open in full mode.

    There maybe an option to add a link within the mobile template that says "View full site here"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •