Okay
  Public Ticket #2313331
Customizing Calendar View in Child Theme
Closed

Comments

  • novgrp started the conversation

    We like your plugin very much. Our client would like to add some content to the area managed by the inc.top.php page. Can I put a copy of this page in my child theme and make modifications there to prevent it from being overridden in plugin updates? What path would I use in my child theme to customize "view/front/inc.top.php"?

    Also, we would like to add/move the "Export to .ICS File" and "Import to Google Calendar" links to the event preview on the day and/or agenda view.

    Thank you.

  •  793
    Zhivko replied

    Hi,

    We haven't added option to modify these core files since modifications could cause the javascript to not work properly.

    Anyway, it's somewhat possible but you still have to edit the stachethemes_event_calendar\view\front\default.php line 9 from:

    <?php include("inc.top.php"); ?>

    to:

    <?php include get_theme_file_path('inc.top.php'); ?>

    then the plugin will load the file inc.top.php from your child theme root folder.


    Export buttons can be removed from General settings -> Allow export event from front-end


    Stachethemes Developer