Okay
  Public Ticket #1935919
Default view on mobile
Closed

Comments

  •  3
    Graeme started the conversation

    How can I change default view on mobile? Week view shows nothing interesting at all when mobile is in portrait mode. Week view works ok and shows events in landscape mode. Would like to display grid view on mobile by default with 5 events minimum.


    Also how can I get a device to remember previously used filters.. ie I have four calendars total for everyone, but if a person only wants to view one of them all the time, can the default view be personalised so that each user doesnt need to set the filter every time they visit?

  •  3
    Graeme replied

    Hi, any update on this please?

  •  94
    Valentin replied

    Hello,

    I'm sorry for the delay, you can try this solution:

    https://stachethemes.ticksy.com/article/13413/

    About the filters unfortunately its not possible right now, but will bring it to the developer to see if anything can be added in the upcoming update.

    Stachethemes Support
    My Time Zone is GMT+3


    Envato Profile | Facebook | Twitter | Newsletter | Rate & Review

  •  3
    Graeme replied

    hi yes I have done that already. That’s not a solution. It’s just displays week view on mobile which shows nothing. When will you have fix for this?

  •  94
    Valentin replied

    Well change the view you want in this line: var mobileView = 'week';

    Stachethemes Support
    My Time Zone is GMT+3


    Envato Profile | Facebook | Twitter | Newsletter | Rate & Review

  •  3
    Graeme replied

    Hi, the mobile week view does not show any data. Can you make the agenda or grid views work as a mobile parameter in functions.php?


    Can I get a refund? I thought a responsive theme would work on mobile.

  •  94
    Valentin replied

    Just change the line: var mobileView = 'week'; from week to agenda or month for example. This will show the view want in mobile mode.

    Which part is not responsive?

    Stachethemes Support
    My Time Zone is GMT+3


    Envato Profile | Facebook | Twitter | Newsletter | Rate & Review

  •  3
    Graeme replied

    I have already changed it to agenda. As I said below, when changed to agenda it still displays week. Only week and month work as a setting for mobile they others that work for desktop don’t work. A bug. 


    It’s not responsive to show data on week view on mobile. Also the hamburger menu does not scroll to show box or grid on mobile either it only shows first 3 menus when there are 5 options. 

  •  894
    Zhivko replied

    Hi,

    This code will set grid view for mobile and month as default view.

    Make sure in General settings you've added Grid in the active views. Screenshot attached.


    Stachethemes Developer

  •  3
    Graeme replied

    hi


    Already had that set. Double and triple checked again, functions.php code replaced which was exactly same as before this morning. Still exactly same issue. See attached

    Try it yourself

    Http://www.rutherglenltc.com

  •  894
    Zhivko replied

    I've just noticed you've turned off ajax events.

    Try out this code.


    Stachethemes Developer

  •  3
    Graeme replied

    Ajax events now turned on. That fixed it.

    I had it turned off as diary is slow at loading

  •  3
    Graeme replied

    thank you !