Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Hi my problem is not in the way i am adding the js to the page . my problem is this function: javascript_api_print_parameters() collect all the module the implement the hook and create a dynamic parameters . because drupal caching is enabled the first time you hit the page the parameters are sticky to this page .
But in this situtation if i have multi segmentation the ui will be very long. Also in case i am pulling this data in a view i need to create a nother template for that view