Skip to content
This repository was archived by the owner on Jun 9, 2022. It is now read-only.
This repository was archived by the owner on Jun 9, 2022. It is now read-only.

Uncaught ReferenceError: jQuery is not defined #1

Description

@lgrn

I'm using Grav 1.2.4 and the latest version of the plugin. I'm getting this same issue with two different themes, namely the default "Antimatter" as well as "Hydrogen".

My user/plugins/tablesorter/tablesorter.yaml looks like this, which I think is the default:

enabled: true
active: false
include_widgets: false
include_metadata: false
production: true
custom_path: assets/tablesorter  #no leading or trailing slash
themes: blue
table_nums: 1

When I look at the source of a page (after cleaning cache, makes no difference), I just see a <table>. What's strange though is that if I set active: true in the above file, which I understand should make this plugin only work per-file (calling this attribute "active" is terribly confusing, it should be called "activate" or something but that's another subject), it doesn't start working but I do see a difference in behavior. With active: true I no longer see just <table> in my pages, but <table id="tstableid1" class="tablesorter">. There is nothing in the pages themselves stating that the plugin should be used (i.e. no active: true).

I've read the readme but I can't figure out what I'm doing wrong. Isn't this plugin just supposed to work on all tables if it's enabled?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions