Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drupal Module with version 3.0.5 #191

Open
letapjar opened this issue Mar 31, 2017 · 0 comments
Open

Drupal Module with version 3.0.5 #191

letapjar opened this issue Mar 31, 2017 · 0 comments

Comments

@letapjar
Copy link

I'm using drupal 7 and would like to use QueryPath version 3.0.5 instead of the 2.x that drupal module ships with.

I did a "composer require querypath/querypath" in my main drupal root folder to get the new files.

I had to modify the module code as follows:

  1. include the vendor_autoload in the querypath_include_code function
  2. Modify querypath.classes.inc to match the newer namespaced Extension and ExtensionRegistry and change the constructor appropriately for the Extenstion

Below is the module diff -

Question is - is this the right way to do this for an upgrade to 3.0.5 ?

module.diff.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant