- Posts: 7
Postings
You can freely browse the forum and post in the community forum.
However, you need a valid license to write posts for support (own a valid commercial software license or have purchased a support membership).
Posts only show once reviewed. This is mainly preventive to keep spam away. Thank you for your understanding!
Not loading with URL variables?
- mccomb
-
Topic Author
- New Member
-
Less
More
IP: 190.244.7.87
13 years 8 months ago #1868
by mccomb
Not loading with URL variables? was created by mccomb
I have set JQuery Easy to only load on certain pages. One of these is my home page: /
I now want to run some Google experiment tests, which are adding a query string onto that URL: /?utm_expid=44244595-7
Once that is added, JQuery no longer loads. This query string can vary, so it is difficult to add every possible URL combination. Is there some other way around this?
Thanks.
I now want to run some Google experiment tests, which are adding a query string onto that URL: /?utm_expid=44244595-7
Once that is added, JQuery no longer loads. This query string can vary, so it is difficult to add every possible URL combination. Is there some other way around this?
Thanks.
- admin
-
- Administrator
-
Less
More
- Posts: 1931
IP: 207.229.131.129
13 years 8 months ago #1869
by admin
Olivier.
Replied by admin on topic Re: Not loading with URL variables?
Hello, there is no workaround I am afraid here.
You may want to try
/?utm_expid=*
instead of
/
Let me know if that helps.
You may want to try
/?utm_expid=*
instead of
/
Let me know if that helps.
Olivier.
- mccomb
-
Topic Author
- New Member
-
Less
More
- Posts: 7
IP: 190.244.7.87
13 years 8 months ago #1872
by mccomb
Replied by mccomb on topic Re: Not loading with URL variables?
When I put the wildcard in there, /?utm-expid=*, there seems to be a bug. It tried to load:
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js" type="text/javascript"></script>
That's missing the https:
When I take out the wildcard it works fine.
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js" type="text/javascript"></script>
That's missing the https:
When I take out the wildcard it works fine.
- admin
-
- Administrator
-
Less
More
- Posts: 1931
IP: 207.229.131.129
13 years 8 months ago #1875
by admin
Olivier.
Replied by admin on topic Re: Not loading with URL variables?
That is strange, it is completely independent.
I will take a look and try to reproduce the issue on my end.
I will take a look and try to reproduce the issue on my end.
Olivier.
- admin
-
- Administrator
-
Less
More
- Posts: 1931
IP: 207.229.131.129
13 years 8 months ago - 13 years 8 months ago #1877
by admin
Olivier.
Replied by admin on topic Re: Not loading with URL variables?
Do you feel confident enough to change code into the plugin itself? I would like you to try and modify a single line of code in jqueryeasy.php.
Just a matter of changing
into
Let me know if you can do it. If not, contact me through email at [email protected] and I will send you an updated file. Thanks!
Just a matter of changing
Code:
$path = ltrim($path, '*');
Code:
$path = trim($path, '*');
Olivier.
Last edit: 13 years 8 months ago by admin.
- mccomb
-
Topic Author
- New Member
-
Less
More
- Posts: 7
IP: 190.244.7.87
13 years 8 months ago #1894
by mccomb
Replied by mccomb on topic Re: Not loading with URL variables?
Sorry about this, the JQuery problem was caused by another plugin - ARI Image Slider. I set that to not load jquery and the bad URL went away.
However, the problem seems to be that jQuery Easy is not recognizing wildcards. For example, when I enable it on this url, /?utm-expid=1234, it works properly and loads. When I change that URL to /?utm-expid=*, and go to /?utm-expid=1234, JQuery does not load.
Thanks.
However, the problem seems to be that jQuery Easy is not recognizing wildcards. For example, when I enable it on this url, /?utm-expid=1234, it works properly and loads. When I change that URL to /?utm-expid=*, and go to /?utm-expid=1234, JQuery does not load.
Thanks.
