ASRG / asrg.io

asrg.io - website and docs
MIT License
8 stars 4 forks source link

Need to add the "Add Event" button to webinar and conferences pages. #378

Closed heldyboy closed 2 years ago

donald-king commented 2 years ago

Need to add wrapper around button and put button on pages.

heldyboy commented 2 years ago

Need to understand how to add the button (with the authenification wrapper) to the Events List Page.

donald-king commented 2 years ago
  1. The configuration file to edit the top bar of the events page regardless of what view is being used is located at wp-content/plugins/the-events-calendar/src/views/modules/bar.php.

  2. To edit the page view without your changes being overwritten when the plugin is updated create a new folder named tribe at /wp-content/themes/your-theme/.

  3. Add another folder inside tribe as directed depending on what view is being used.

  4. You should then be able to copy the config file (wp-content/plugins/the-events-calendar/src/views/modules/bar.php) over to the new folder and edit it there in the theme. Any changes made to the new file in the theme directory will take precedence over the original configuration without getting modified when the plugin is updated.

Here is a list of all the template files if bar.php is the incorrect file or if you want the button on a different part of the page.

Here is the detailed guide on customization and instructions for how to copy the template file to the theme.

Here is a practical example of a template customization.

heldyboy commented 2 years ago

No longer needed. We are using the Community Events to add events to the website.