Drupal 7: Already written a custom_block that brings content from some REST API (doesn't matter from where the content is coming). Now there's a parameter in REST API call, users should be allowed to change.
So initially block will load with some default content, default parameter value; and then users can change value of this parameter to fetch new results (preferably AJAX). I can't figure it out. If somebody can point me in right direction or provide right flow.
Hoping someone has run into a similar problem. I have created a controller used in AJAX that successfully returns JSON. I am now trying to make the JSON cacheable and am running into issues. I am using Drupal 8.6.x
Hi all, I am new here and I am new with Drupal. I am trying to solve a problem of a customer but after 4 hours studying pretty everything about Drupal, I guess I am not enough good to understand what to do.
I must change a word, "fattura" > "DDT" and this word is located in the commerce module or maybe in a custom commerce module.
If I surf the admin pages reaching admin/commerce/orders and then I click con "view" > "invoice", I find the words "Numero fattura". I looked for it everywhere in the directories and in the DB.... I found nothing.
Because the exposed filters area takes up too much space on the screen, I want to collapse the exposed filters area and display a plain text version of the views parameters, rather than waste spacing show the filter controls's settings.
Where in the views cycle will all the parameters be present and in what variables so I can read them and display them in some divs above the exposed filters area?
Using some Javascript to read the filter parameters in the menu andplacing them in a div will help, but I prefer to do it in PHP code itself.