I didn't install Opensocial in the webroot, rather I installed it in a subfolder, as I have multiple applications running on my localhost. From experience, Drupal feels right at home in a subfolder. Opensocial also works, excpet that the links in the user dropdown are relative in the form of href="/user". Obviously this doesn't work

CommentFileSizeAuthor
Screenshot from 2016-09-23 13-05-57.png111.4 KBa.ross
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

a.ross created an issue. See original summary.

nielsvandermolen’s picture

Thanks for the report this should indeed be changed. The code that is responsible is in:

html/profiles/contrib/social/modules/social_features/social_user/src/Plugin/Block/AccountHeaderBlock.php

ronaldtebrake’s picture

It was fixed in beta 3 already by using:

-              'url' => '/node/add/event',
+              'url' => Url::fromUserInput('/node/add/event'),
ronaldtebrake’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.