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

nice URL deeplink #316

Open
rolenczattila opened this issue Aug 13, 2018 · 0 comments
Open

nice URL deeplink #316

rolenczattila opened this issue Aug 13, 2018 · 0 comments

Comments

@rolenczattila
Copy link

Hi Rosehip,

I would ask you to help me in my problem below. I use your jplist code and I would like instead of

the following url

The "index.php?value=colors" is solved with .htaccess URL Rewrite, and "-" is also solved (change delimiter value in main js) but I cannot change the jplist filter parameters as a nice deeplink.

I have found the following part of the code in the "jplist.filter-toggle-bundle.min.js" file:
b.prototype.getDeepLink = function() {
...
a = this.name + this.options.delimiter0 + "pathGroup=" + d
}
return a;

Well if I provide only the value "a=this.name", it results the correct url for me but not the code because in this case refreshing the page, the previous checked state is not checked anymore so I think the parameter handover is somewhere not correct.

Could you help me where the code waits for the "a" variable with the full value (this.name + this.options.delimiter0 + "pathGroup=" + d), and what modification should be carried out?

I hope it is only a little change in your code.

Thanks your reply and help so very much,

BR,
Atti

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