Account created on 8 June 2011, over 13 years ago
  • Developer at Fabb 
  • Developer at Gizra 
#

Merge Requests

Recent comments

🇬🇧United Kingdom Baysaa

No you don't need any external libraries. Just apply the patch, clear cache then enable the plugin on the social media settings page in the admin UI. Then the Copy link should appear, I assume you're already at this step. If it's not working at this point, check your JS console if there's any JS errors on your site which may prevent the functionality from working.

🇬🇧United Kingdom Baysaa

Does this affect 8.0.x?

I'm getting

Drupal\Component\Plugin\Exception\PluginNotFoundException: The "full_date" plugin does not exist. Valid plugin IDs for Drupal\search_api\DataType\DataTypePluginManager are: elasticsearch_connector_date_range, elasticsearch_connector_rank_feature, object, elasticsearch_connector_search_as_you_type, decimal, date, string, text, integer, boolean in Drupal\Core\Plugin\DefaultPluginManager->doGetDefinition() (line 53 of core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php).

🇬🇧United Kingdom Baysaa

Reroll patch for Drupal 10.3 for composer patches. `node-add.css` is no longer there in 10.3 so moved the css to layout.css

🇬🇧United Kingdom Baysaa

@herved if the icon's using FA then it makes sense that sr-only should also work, thanks!

🇬🇧United Kingdom Baysaa

Here's a patch for sitewide_alert 2.2.1

This issue can be seen when you have extlink module installed, and add an external link to a sitewide alert. The external link icon is not attached to the link in the alert on load, but the icon is added after an ajax action occurs such as a modal window opening.

🇬🇧United Kingdom Baysaa

@Bohdan that's correct, things created using entity_generate won't have a migrate_map table created for them, so they won't get rolled back naturally.

You'll have to snapshot/create restore points for your DB while doing these things I found.

🇬🇧United Kingdom Baysaa

Closing as we haven't got an update in a year.

🇬🇧United Kingdom Baysaa

Is `sr-only` a native Drupal CSS class? I don't know so asking. I think traditionally `visually-hidden` may be the more appropriate class to use here. So I'd take the patch in the related issue over this one.

🇬🇧United Kingdom Baysaa

$(once('once-id', document, context)).length; unfortunately is 0.

Looks like $(once('once-id', document.body, context)).length; is 1. So updating patch.

🇬🇧United Kingdom Baysaa

Included the D10 compatibility patch by accident. Here's another attempt.

🇬🇧United Kingdom Baysaa

Here's a reroll to use core/once which should be compatible with D10

🇬🇧United Kingdom Baysaa

Re-rolled above patch which didn't contain the reference to the TranslatableInterface

🇬🇧United Kingdom Baysaa

Here's a reroll for social_media:2.0.x-dev

🇬🇧United Kingdom Baysaa

@Martygraphie you need to enable the Copy to clipboard social media item in the module config form after applying the patch.

Apparently the api url field feeds the value of the data-clipboard-text attribute, which is a bit confusing.

This field just needs a token entered into it: [current-page:url]

This token will be replaced by the current page URL when the copy button is output.

🇬🇧United Kingdom Baysaa

I'm not sure if the `#access` part is relevant? I can't find any mention of `highcharts_settings` anywhere in code apart from that #access bit.

I'm removing the #access and re-uploading patch as it seems completely irrelevant here.

Production build 0.71.5 2024