Okay
  Public Ticket #1933486
API Keys and layout
Closed

Comments

  • Plugarized started the conversation

    Default month layout is not displaying properly, the google map and weather features are not working, I generated correctly the API keys for each, the event page takes a long time to load, seems due to contacting google maps and waiting for a response.

    Also, is there a way to query the events and filter by calendar as I want to try  and create a simple widget since yours do not come with widgets.

  • Plugarized replied

    Also, there are some JS errors in the console log. aoeNq4s.png

  • Plugarized replied

    Single page isnt working, events do not load, see video here -  https://drive.google.com/file/d/1EQurSAcr3s4M6E0ZJuhsOq-mDQSSWjgP/view

    I've also tried it on a fresh installation of wordpress with same issues replicated with my theme, I've tried with wordpress default themes and it seems working, however I don't know how to troubleshoot it, please help qgQvmkA.png

  •  795
    Zhivko replied

    Hi,

    To fix the single page go to Dashboard -> Settings -> Permalinks and click "Save" without making any changes.


    Stachethemes Developer

  •   Plugarized replied privately
  •  795
    Zhivko replied

    I've added exception for dev.n1bar.com. Try to activate it again.

    The problem with month and week layout is most likely css issue. I'll need link to the front-end to check the style.


    Stachethemes Developer

  •   Plugarized replied privately
  • Plugarized replied

    The following isnt working, to url rewrite.

    add_option('stec_permalinks', array(
                'calendar' => 'stec_calendar',
                'event'    => 'stec_event',
                'cron'     => 'stec_cron',
            ));
  • Plugarized replied

    Hey Zhivko,

    I managed to fix it the table display, it was indeed a leaking global css rule by the theme. is looking now. Google and Weather are also working.

    However, the url rewrite isnt working, I've  ammended functions.php on my theme as per instructions https://stachethemes.ticksy.com/article/13414/ to get the url rewrite to /event/ but it didnt work. I also re-saved, permalinks and cleared cache.

    add_option('stec_permalinks', array(
                'calendar' => 'stec_calendar',
                'event'    => 'stec_event',
                'cron'     => 'stec_cron',
            ));

    Also, I've tried the following article (https://stachethemes.ticksy.com/article/13416/) to open events in grid or gridbox in the same calendar, but it does not work.

    Furthermore, how to use gridbox and set the number of events to display? I want to display 6

    [stachethemes_ec view="boxgrid" show_views=0 show_top=0 display=6]

    and also the actual image uploaded in the event is taking alot of space, so the user would have to do a lot of scrolling to get to the bottom of the event for more information, however, we are using poster/flyer size graphics for our events, therefore, it would be more convenient to have the option to compact the events details. such as floating the event image right/left and have the sharing options and event details along side the poster. or even tabalize the single page just like the agenda.

    k3m4r0M.jpg


    How do I also increase the size of the events in the boxgrid view?

    tGxMkBL.png

  • Plugarized replied

    I am also setting up recurring weekly events and I think I found a possible issue with an overlapping sunday/monday event with months of 31 days.

    LmZVPKD.png

    Cz0WB57.png

  • Plugarized replied


  •  795
    Zhivko replied

    Hi,

    Place the code in your theme functions.php file:

    update_option('stec_permalinks', array(
                'calendar' => 'stec_calendar',
                'event'    => 'event',
                'cron'     => 'stec_cron',
            ));

    Then go to Settings -> Permalinks and click "Save".


    The code from this article https://stachethemes.ticksy.com/article/13416/ opens custom url instead of the single page. Boxgrid and Grid layout can't open events in the calendar.


    Replace display=6 with grid_per_click=6. Example:

    [stachethemes_ec view="boxgrid" show_views=0 show_top=0 grid_per_click=6]

    I think the problem with the overlapping event comes from moving from Daylight saving time to Standard time. Could you send me this event start/end time and repeat settings to test it out?


    Stachethemes Developer

  • Plugarized replied

    Hey hope you are feeling better,

    1. The shortcodes article isnt updated with all the options https://stachethemes.ticksy.com/article/13221/ ie. "grid_per_click=6" is not even documented, hence, I was wating time looking around and trying to guess.
    2. The overlapping date code is below and you can view it on here http://n1bar.com/events/ is basically a whole day event which repeats every sunday (weekly)

    BEGIN:VCALENDAR
    VERSION:2.0
    X-WR-TIMEZONE:UTC
    BEGIN:VEVENT
    DTEND:20190318T000000
    RRULE:FREQ=WEEKLY;BYDAY=SU
    UID:e-5c8a22915e486_47c0a2371bfba7149431f83853bf6f40@stachethemes_ec.com
    DTSTAMP:20190320T130222
    LOCATION:1 DUKE STREET HILL LONDON SE1 2SW
    DESCRIPTION:

    N1BAR London invites you to Sunday Fiesta


    SUMMARY:Sunday Fiesta
    DTSTART:20190317T000000
    END:VEVENT
    END:VCALENDAR

  •  795
    Zhivko replied

    I can't seem to be able to replicate the problem. What's your PC timezone set to?


    Stachethemes Developer