TransWikia.com
  1. All Categories
  2. Drupal Answers

Drupal Answers : Recent Questions and Answers (Page 27)

Find answers to your questions about Drupal Answers or help others by answering their Drupal Answers questions.

File field upload in modal/dialog

I have a custom content type with file field as one of the fields. For theming/UI purposes I should make this file field as clickable button. And only when user...

Asked on 12/04/2020 by ctrnz

1 answer

How do I create an AJAX form with Add and Remove buttons for multi-value form element without submission button?

I would like to create a custom form with a textfield in which I input some data and it gets saved in the variable table. The form should only contain...

Asked on 12/04/2020 by miststudent2011

1 answer

How to pre-select items in a select with chosen

How do you load a select with items preselected when the chosen module is installed/enabled? I'm doing the following:$my_list = array('item1' = 'item1', 'item2' = 'item2', 'item3' = 'item3');$form['list_info']['my_list']...

Asked on 12/03/2020 by Jav

1 answer

Update existing node (not created by Migrate) via Migrate 8.5.x

I have got existing Drpal 8.5 site with hundreds of nodes. With migrate, if i try to upgrade, new nodes are rather created. Node have a field which is being...

Asked on 12/03/2020 by Vaibhav Rana

1 answer

Secondary Tabs and views

I am trying to get Secondary Tabs to work. I want to create a local tab with sub tabs. View | Edit | Reg Report Reg Report    ...

Asked on 12/02/2020 by timwhelan

1 answer

alter Suggestion box for apache solr autosearch

I want to restrict the suggestions for Apache Solr Search with hook_apachesolr_suggestions_alter(&$suggestions, $env_id). I have gone through the code and found the suggestion is prompt from apachesolr_autocomplete_suggest_word_completion()called by a...

Asked on 12/01/2020 by Anamika

2 answer

how to update quantity of products in the cart via javascript?

I have the module that changes the quantity of products inside the card via ajax but I need to change it also outside, as on the picture, ...

Asked on 11/30/2020 by rick1

1 answer

Cloudflare Clear Cache For One URL, Convert Curl Command to Drupal::httpClient() Or php

I am creating a custom module to clear caches on cloudflare for one url.The original curl command:curl -X POST "https://api.cloudflare.com/client/v4/zones/123456789/purge_cache" -H "Authorization: Bearer...

Asked on 11/29/2020 by Alaa Haddad

1 answer

User specific permission to add links to a menu

When I create a content type, e.g. 'Basic Page' and I want to add a link to a menu I do usually the following:Menu settings -> Provide a menu...

Asked on 11/26/2020 by mavicc

2 answer

How to alter sort handler to keep existing order intact in views

I created a views page using foo plugin.When a user visit the page the city and Clinic/Hospital columns by default are being rendered alphabetically (ASC) as in below screenshot. EDIT:...

Asked on 11/18/2020 by Hiranya Sarma

1 answer

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP