1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Desktop Mode [Deleted]

Discussion in 'Add-on Releases' started by Lior., Jul 27, 2013.

  1. Lior.

    Lior. Well-Known Member

    Lior. submitted a new resource:

    Desktop Mode - Allows switching between responsive mode and desktop mode.

    Read more about this resource...
     
  2. jazz_aaf

    jazz_aaf Active Member

    This should be included in XF by default.
     
    0ptima and Lone Wolf like this.
  3. CyberAP

    CyberAP Well-Known Member

    How does it work?
     
  4. Lior.

    Lior. Well-Known Member

    When you click the "Full Site" link, a cookie is set, then it forces the regular style for the user by changing the enableResponsive style property in init_dependencies.
     
    CyberAP likes this.
  5. Lone Wolf

    Lone Wolf Well-Known Member

    Agreed, i already thought it was there by default. Perhaps it's yet to be added before the gold release
     
  6. caoanh204

    caoanh204 Active Member

  7. Moshe1010

    Moshe1010 Well-Known Member

  8. caoanh204

    caoanh204 Active Member

    I see.
     
  9. JulianD

    JulianD Well-Known Member

    Thank you very much! I needed something like this for some time now.

    A few improvements:

    - In the template_hook listener, put 'footer_links' as the event hint.
    - Use responsive CSS to hide the Full Site link when viewing the full site.

    I've already implemented those on my site, if the author allows me to share those modifications, I will upload them here.
     
    Skeletor and RoldanLT like this.
  10. Deepmartini

    Deepmartini Well-Known Member

    This looks good. Should be in the core.
     
    RoldanLT likes this.
  11. RoldanLT

    RoldanLT Well-Known Member

    This should be a core feature (y) @Mike @Kier
     
  12. Jeremy

    Jeremy XenForo Moderator Staff Member

    RoldanLT likes this.
  13. time

    time Active Member

    Pc style id = 6
    mobi style id = 3

    So how do I turn it on id 0 and 1
     
  14. RoldanLT

    RoldanLT Well-Known Member

    This is something useful for me now.
    Thanks !
     
  15. Moshe1010

    Moshe1010 Well-Known Member

    Last edited: Mar 18, 2014
  16. Lior.

    Lior. Well-Known Member

    This resource has been removed and is no longer available for download.
     

Share This Page