I installed 3.0.9 using composer - all seems to work ok but the homepage dashboard does not work. I cant reset it to default and theres no blocks to drag across on the far left column?

The homepage has the default blocks above the home title and they are full width. I cant choose any layout option as nothing gets saved.

See attached image of what I see when I try and confugre dashboard and my homepage.

Im using default theme with some colour changes.

Comments

kevster created an issue. See original summary.

kevster’s picture

Issue summary: View changes
kevster’s picture

Ive noticed on the homepage that I have some script errors.

My site is running in a sub folder called web - everything seems to work fine, menu paths etc.

I see two 404 GET errors on the homepage which may give a clue

https://website.com/web/web/opigno_dashboard/get-positioning
https://website.com/web/web/opigno_dashboard/get-blocks

Surely those paths are wrong and should not have web/web/ but only web/ ?

In modules/contrib I have the opgino_dashboard module

eddumundia’s picture

Was the issue resolved?

kevster’s picture

Hi @eddumundia,

I had to edit two module files to fix this:

templates/opigno-dashboard.html.wig
templates/opigno-dashboard-default.html.twig

I replaced the basepath from

apiBaseUrl: '{{ base_path }}',

to

apiBaseUrl: '',

in both files and then it started working. Both these files were dding web/web/ so the base path was being added twice for some reason?

daskvortsov’s picture

Absolutely the same, version 3.1. Change doesn't help.
https://site/web/web/en/opigno_dashboard/get-blocks
https://site/web/web/en/opigno_dashboard/get-default-positioning

I do not know what to do.

tyler.hastain’s picture

So I found that the home page (Configuration > System > Basic site settings) HAS to be "/node" for the dashboard to work correctly.