Closed (fixed)
Project:
Ajax Blocks
Version:
6.x-1.1
Component:
Code
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
12 Sep 2010 at 06:13 UTC
Updated:
15 Apr 2011 at 09:51 UTC
probably, it'll be useful to someone to have possibility of transfering GET-parameters into ajax-generated block.
So you can consider this change in ajaxblocks.js
url: Drupal.settings.basePath + "ajaxblocks" + window.location.search,
instead of
url: Drupal.settings.basePath + "ajaxblocks",
Comments
Comment #1
maximpodorov commentedCould you provide any use case that requires keeping of such information? I can imagine only "?page=..." requests for pages with pager, so I will add keeping and passing $_GET['page'] values.
Comment #2
warobushek commentedMy case:
I have dynamic block "Now by TV" on my site front page. There are links on every TV-channel logo, which contain GET-parameters, which are compulsory for viewing telecasts of chosen channel.
Comment #3
maximpodorov commentedThe issue is fixed in 6.x-1.4 release. @warobushek, could you try it for your case?