$base_url alternative in Drupal8

I have a 2 drupal sites as test running on Google Cloud with a static IP . 

On these sites i have content and views where i want to link to the internal pages using href and relative paths. 

I used to do this using either $base_url or setting the $base_url in settings.php . Drupal8 no longer supports $base_url in settings.php.

How do i access base_url or set the base_url for these 2 sites. 

I have the IP say 111.111.111.111 

and i have 2 sites 

abc

xyz

Now i access the 2 drupal sites as 

111.111.111.111/abc

Installing Views Data Export (Version: 8.x-1.0) WITHOUT Symphony

I'm sorry if this isn't the right forum thread to post this to. I looked at the project page but this is not a bug, it's just a procedural question.

I've been using Drupal since Drupal 5 and am very frustrated by the current direction of Drupal as I don't have access to the university's command line.

So my question is...

Is it possible to install Views Data Export without Symphony?

And if not, is there an alternate project that will allow me to export my views to csv?

Create a button somewhere, running code when clicked

Hi everyone, 

I wonder if it's possible to create a button somewhere, and if code can be run when this button is clicked ?

I don't know if I must use views to do so.

Webform : run code before or after submiting (creating account)

Hello everyone,

Here is the case : I created a register form using a webform (I must do this way because this registration is not a classical one, so I can't use the usual registration page)
I indeed added fields to People to be able to use more field during registration.

Webform : upload a file

Hello everyone, 

I'm discovering Webform module, and I haven't found any element type to let the user upload a file, clicking on a button or via drag and drop.

Are there special operations to do to enable file upload in a webform ?

URL sometimes includes index.php

The URL's on my Drupal website (first version 8, now version 9) has a weird problem that I can't seem to solve. The URL of almost all pages seems to alternate between 'regular' domain.com/news/etc and domain.com/index.php/news/etc . I don't really know what causes this. When I use the site myself I am always logged in and I see the 'clean' url, but anonymous users and crawlers see both the 'clean' url and the index.php variant.
Does anyone know what could be going on here?

 

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x