Enable Trace and Debug Javascript file logs

Enable Trace and Debug Javascript file logs

Enable or disable debugging and trace javascript and other files with the Event log Plugin.

Installation

You can install Event Logs plugin using 2 different ways:

  1. Automatic Installation: You can install a plugin from the backend of your WordPress. Click Here to see how you can do the automatic installation.
  2. Manual Installation: You can install the plugin manually using SFTP or FTP tool as well. Click Here to see how you can do a manual installation.

How to Debug Javascript file

In order to debug the javascript file, follow the steps,

  1. Go to Admin >> event listings >> settings >> logs.
  2. Locate Javascript logs.
  3. Checkmark the box stating “enable javascript logs”.
  4. Save changes.

How to Trace Javascript file?

In order to trace the Javascript file, follow the steps,

  1. Go to Admin >> event listings >> settings >> logs.
  2. Locate Javascript Trace..
  3. Checkmark the box stating “enable javascript Trace”.
    How To Trace Javascript File
  4. Save changes

Logs Console View

In order to see the debug information,

  1. Go to inspect by clicking F12 or right-click the mouse, and locate inspect.
  2. Go to the console tab.
  3. You will find the information as in the image below.
    Wp Event Manager Logs Console View

Advanced: Overriding/Customizing the templates

For overriding or customization, template files can be found in the wp-event-manager-logs/templates/ directory. To override a template file,

  1. First you need to create directory “wp-event-manager-logs” under your theme folder.
  2. Copy the template file to “/wp-content/yourtheme/wp-event-manager-logs/” directory.
  3. Your theme will use all the template files from the “/wp-content/yourtheme/wp-event-manager-logs/” Directory instead of the plugin’s template file (/wp-content/plugins/wp-event-manager-logs/).
  • event-logs.php template file lists the user’s logs.

Remember: if you have overrided template file and plugin frequently updating then you need to sync template file with new updates from the plugin’s template file for better functionality and new features.

    • Related Articles

    • Installation of WP Event Manager

      Automatic Installation of FREE WP Event Manager Installing WP Event Manager is just a matter of a few clicks. You can add WP Event Manager to your website by using the dashboard offered to you at the backend of the CMS. To install the plugin ...
    • Create or pick categories from Free/ Core WP Event manager

      Events are classified into various types based on the kind of visitors they have. Visitors come from different backgrounds. That is why an event organizer or admin must ensure that they make a lot of event categories available to their clients. This ...
    • Updating WP Event Manager

      Automatic Update WP Event Manager always strives to achieve perfection in every way and that is why we constantly update our plugins so that you can enjoy their innovative features. Here are the steps that you need to take to update WP Event Manager: ...
    • Event listings not showing up in the [events] page

      The most common reason behind this particular issue is an error in the Java Script as events are loaded through Ajax. To debug the Javascript error when the event listings are not displayed, you need to pass through the following steps: Go to your ...
    • Importing Event Listings With WP All Import Pro

      WP All Import Pro allows you to import posts and custom post categories (like occasional postings) with CSV and XML documents. Steps for importing from a CSV file are given below. Preparing Your CSV File Event Title. Event Description. Event ...