All Questions
0
votes
0answers
2 views
Drupal8: tableselect ajax reload doesn't work
I have custom field widget with two fields:
product_lines (checkboxes)
sales_partners (tableselect)
I need to ajax-reload sales_partners tablesect values depending on product_lines input
In my ...
0
votes
0answers
4 views
Customize $message variable drupal
How to Display the form validation messages to above the form in drupal 7?
0
votes
0answers
5 views
Using panels and panelizer with i18n
I'm building a multilingual site with 4 different languages, using panels and panelizer, but am struggling to see how to have different panels for different languages.
The site has to be content-...
0
votes
0answers
16 views
Internal Drupal behavior that riskis SEO for every Drupal website? [on hold]
Could the following described behavior be part of Drupal ? - I keep getting 404's from Google about some 150 nodes I deleted about 2 years ago (I clicked "Mark as fixed" in Google search console many ...
0
votes
2answers
14 views
add comment to a node with ajax (ctools modal)
I' trying to create custom module that should add comment to a content type in a modal window, with ajax. I wrote following code, but when I click on the 'Add review' link, browser loads new page when ...
2
votes
1answer
32 views
Adding a class to a <div> in .theme file
Using Drupal 8 and Bootstrap sub-theme.
I see that classes are being added to my divs in the page template file using the following:
<section{{ content_attributes.addClass(content_classes) }}>...
0
votes
0answers
4 views
Payment Method based on product
i have a webshop that sells meat.
For some meat products, the weight varies a lot so we need customers to pay afterwards (Cash on Delivery).
I added a field to the products which is "field_pin_only", ...
0
votes
1answer
14 views
Drupal 8: how to set separator for taxonomy term field
Within my nodes I'm want to display my taxonomy field references with a separator, like this:
term1 - term2 - term3
what I get as a standard is:
term1
term2
term3
with display suite I can get:
...
-9
votes
0answers
29 views
how to build a website like lynda.com [on hold]
am trying to embark on a project building a site very similar to lynda.com.I want to achieve the same functionalities as lynda.com ,any help with a list of modules that i will need or any direction ...
0
votes
1answer
26 views
How to change content url content/title to text/title?
I have create some content and i have change the URL [content/title] to [text/title] its change...
but my issue is that changes not apply on some content
Why ?
1
vote
1answer
21 views
Drupal 8 REST API POST returning 400 Syntax error
I wrote a REST plugin for posting data to my Drupal site, When I send JSON data from browser it is returning the error {readyState: 4, responseText: "{"error":"Syntax error"}", responseJSON: Object, ...
0
votes
0answers
18 views
Add additional information to a field of a content type
Let's say I have a content type Order. It has two fields:
Product1 with values 1-10 and Product2 with values 1-10. I am looking for a way to assign prices to the fields.
For example:
Product1*1 = ...
0
votes
0answers
25 views
How to obtain foreign field values?
I am really new to drupal and struggle to find good tutorials
for the issues I have. One of those issues is as follows:
How do I obtain values from foreign nodes.
Specifically nodes that were created ...
0
votes
1answer
21 views
How to put google analytics script PHP to my sites?
I apply a Google analytics service. I got a code.
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new ...
-1
votes
1answer
24 views
.attr('target','_blank'); does not work [on hold]
I have a custom module with differents forms and on one of these forms i want to submit and open the result on a new tab.
I found a way to do this on this link : custom form submit in a new browser ...