Recent comments

πŸ‡§πŸ‡ͺBelgium f0ns

This patch fixes this behaviour for me

πŸ‡§πŸ‡ͺBelgium f0ns

Thank you for your swift reply and testing the patch.

πŸ™

πŸ‡§πŸ‡ͺBelgium f0ns

I've added a patch to make sure "navigation_layout" can't be disabled anymore.

πŸ‡§πŸ‡ͺBelgium f0ns

So for reasons beyond my control the "navigation_layout" seems to exist (core module navigation) and is something that is considered needed.

If that's the case it would be best to alter this module so you can't disable it (since it will throw the error I mention).

For now I disabled this module and disabled / hide the layouts with the following code in case somebody has the same problem as I do.

In this example I hide all the layouts except the one col layout.

/**
 * Implements hook_layout_alter().
 */
function YOUR_MODULE_layout_alter(&$definitions)
{
    // an array of layouts to keep.
    $layoutsWhitelist = ['navigation_layout'];

    // layouts that are required and cannot be removed.
    $requiredLayouts = ['layout_onecol', 'layout_builder_blank'];

    $layouts = array_merge($requiredLayouts, $layoutsWhitelist);
    
    $definitions = array_filter(
        $definitions,
        static fn(string $id) => in_array($id, $layouts, true),
        ARRAY_FILTER_USE_KEY
    );
}
/**
 * Implements hook_preprocess_item_list__layouts().
 */
function YOUR_MODULE_preprocess_item_list__layouts(&$variables)
{
    // For some reason removing this layout breaks the website so we hide it.
    $layoutToHide = ['navigation_layout'];

    $variables['items'] = array_filter(
        $variables['items'],
        static fn(string $id) => !in_array($id, $layoutToHide, true),
        ARRAY_FILTER_USE_KEY
    );
}
πŸ‡§πŸ‡ͺBelgium f0ns

You are welcome, enjoy the module!

πŸ‡§πŸ‡ͺBelgium f0ns

The README file and the Project detail page have been updated to support installation via Composer.

πŸ‡§πŸ‡ͺBelgium f0ns

Dear Duckydan

Thank you for this suggestion, this would indeed improve the developer experience.

I'll test this and add it the Readme after my vacation.

Thank for your patience

Fons

πŸ‡§πŸ‡ͺBelgium f0ns

A configure link was added in the D11 release.

πŸ‡§πŸ‡ͺBelgium f0ns
πŸ‡§πŸ‡ͺBelgium f0ns

Thank you, i'll review this patch.

πŸ‡§πŸ‡ͺBelgium f0ns

I just released a Drupal 11 update.

πŸ‡§πŸ‡ͺBelgium f0ns

Just scanned the code of the module real quick and indeed this module would need a good portion of rewrites in order to work with Layout Builder.

πŸ‡§πŸ‡ͺBelgium f0ns

Glad it worked!

Good luck with the project

πŸ‡§πŸ‡ͺBelgium f0ns

I think this has to do with a z-index on your bg header.

Have you tried one of the following:

  • Change z-index configuration from auto to for example 999.
  • Alter the Header Z-index with Dev Tools in your browser to see if the issue is then resolved?

Best regards,

Fons

πŸ‡§πŸ‡ͺBelgium f0ns

The patch in #45 did the trick and I could reinstall BigPipe. Thank you for the workaround!

πŸ‡§πŸ‡ͺBelgium f0ns

Uninstalling Big Pipe fixed the issue for me so this is a temporary workaround.

πŸ‡§πŸ‡ͺBelgium f0ns

I am experiencing the same issue after updating to Drupal 10.3

status-messages.html.twig is not being suggested.

I'm using a custom theme that I made.

πŸ‡§πŸ‡ͺBelgium f0ns

Thank you!

I've updated the module page as it was still talking about the email address.

https://www.drupal.org/project/social_auth_strava β†’

πŸ‡§πŸ‡ͺBelgium f0ns

Hey nginex,

If it is a new platform with no users that will work.

If you have an existing platform with users in it already and all of a sudden they start using the Social Strava button login instead of their emailaddress this will create a new account instead of logging in their existing account (no match on email address) so I do think this will have an impact.

Good luck!

πŸ‡§πŸ‡ͺBelgium f0ns

Hello nginex,

I just checked the existing module and API to have an idea of the changes that will be needed to make the module work again.

When investigating this I noticed the following notification:

"January 15, 2019
Email address is no longer part of the profile:read_all scope and is removed from the athlete model."

I also checked the API documentation and it looks like Strava does not return an e-mailaddress anymore. When you would authorize there is no way of checking/matching the e-mail with existing users. So you wouldn't know if you need to login an existing user or create a new user.

This is something to look into before putting effort in this module as I don't think it's possible anymore.

I look forward to your feedback.

πŸ‡§πŸ‡ͺBelgium f0ns

Dear nginex, that would be awesome!

I added you as a maintainer, if I can be of any help (for example testing).

Feel free to contact me.

Thanks a lot in advance!

πŸ‡§πŸ‡ͺBelgium f0ns

Thank you for your input.

I deleted the link on the module page, I wasn't aware that the site was hacked and/or redirects to a russian website without a https:// link.

The module still has a lot of use cases as you can create a sticky element without the need of custom css and/or a custom theme. It works out of the box with for example the Olivero theme with the following setup.

πŸ‡§πŸ‡ͺBelgium f0ns

Thank you all for your input, I don’t think the initial patch adds any value to the module so I’m closing this issue for now.

Thank you!

πŸ‡§πŸ‡ͺBelgium f0ns

I'm sorry, I've added the release notes. This was a very small update that only adds D10 compatibility and doesn't change/add anything else to the module.

πŸ‡§πŸ‡ͺBelgium f0ns

f0ns β†’ made their first commit to this issue’s fork.

Production build 0.71.5 2024