Categories
CMS Development Drupal

Styling webform

I am new with drupal 8 and have started with some content and a webform. I have managed to put the webform in a page content, but it doesn´t look good. I want the titles above the form fields, but it´s impossible. I´ve tried default, inline, before… and nothing works. I´ve tried to find the […]

Categories
Development

How can I format my text file to make it not repeat the same line over and over? [closed]

I am trying to write a text file using C++ ,but it keeps repeating the line. Is there a certain way to format to make it only have the line once and not 10 times? This is my code and when I try to make it write the definition for the keyword it writes the […]

Categories
Development

“Selector did not match” error on prod mode angular embedded in a ASP .NET MVC project

I’m working on an angular 5 app inside an ASP .NET MVC project and everything works fine when I build both part of the project in development mode. But, when I build angular in production mode (ng build –prod), this error appears: In development mode I add the links to angular main, inline, vendor and […]

Categories
Development User Help

Why my Vagrantfile is calling Hyper-V hypervisor even disabled at Windows?

I did an upgrade of Windows 10 Professional to the lastest build (brazilian portuguese): Microsoft Windows [versão 10.0.18363.592] After this when I ran my Vagrantfile even calling the config provider with Virtualbox and disabling Hyper-V resources show me this message: C:\Users\Marlon\Downloads\pipeline (master -> origin) λ vagrant up <-using cmder ( Bringing machine ‘centos7’ up with […]

Categories
Development

embedding images in multipart html email – defining the image’s ID correctly

I have difficulties in embedding images in a multipart email. I am trying to send out a html file with plenty of embedded images as mail. However, the images do not appear, and are currently just sent as attachments. I assume I don’t manage to link the html code. Here is part of the HTML […]

Categories
Development User Help

Why won’t file open in browser when content-disposition not set, type is specified, and no obvious ‘force download’:

A webpage has a series of PDFs that I need to access recently (they may be updated regularly so I always need ‘fresh’ access, not locally saved). Each time, it forces me to download the file. In ‘Inspect’ in Chrome’s dev tools it shows that the links are unqualified a href tags. I have added […]

Categories
Development

Line break goes outside of paragraph is it starts with an image

I’d like the second line of the text above to be in line with the first, as if they’re in a paragraph <img src=”123.jpg”/> Acquisto sicuro, pagamento in contanti alla consegna I’ve tried to wrap the text in <p> but it breaks the line before the image. Also tried with <span> with both the text-only […]

Categories
Development

How to set up Ubuntu on Windows 7 using Virtualbox and Vagrant? [closed]

Note I’m a student in the course and I didn’t create this config file all I need to run virtual machine acts like Linux to able to study with my computer config File ubuntu version, I downloaded and set up the vagrant already and I use it with a flask in localhost, I run this […]

Categories
AJAX Bootstrap CSS Development jQuery

Switching bootstrap tabs when Onclick using Jquery

I want to switch the tabs when clicking on the button. In my case when I click on the next button it is working fine and when I click on the previous button it is not working. <script src=”https://code.jquery.com/jquery-3.3.1.slim.min.js” integrity=”sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo” crossorigin=”anonymous”></script> <script src=”https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js” integrity=”sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1″ crossorigin=”anonymous”></script> <script src=”https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js” integrity=”sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM” crossorigin=”anonymous”></script> HTML code <div class=”modal fade” id=”exampleModal” […]

Categories
Development Kotlin

Kotlin combining ‘N’ lists together by summing each element

I’m attempting to combine N lists together by summing each individual element together and outputting one final list with the result. Here’s a visualization: List 1: { 1, 2, 3 } List 2: { 4, 5, 6 } List 3: { 7, 8, 9 } … List N: { X, X, X } If we […]