Score:0

Fluid UI container is injected in code without location choice for the developer

in flag
xax

Problem

I have installed the FluidUI module on my D9 website. It works fine, can use all the settings to change look and feel of the website to accommodate all people with accessibility issues.

However, it injects itself into the top of the page code (immediately below admin toolbar and above the actual page content), rather than giving me options (a custom block for example?) where I'd like to place it. As a result I can only have the preferences tab hanging from there very top of the browser, where it overlaps part of the menu etcetera.

I would prefer if I could choose where to place the tab, for example middle left or right of the browser window, (with an icon instead of text), or below the header so it overhangs the hero image.

I have posted this issue + proposed resolution on the modules issue page: https://www.drupal.org/project/fluidui/issues/3282119

-- proposed solution: add options to the module configuration (currently only 'show on admin' and 'hide on these pages') for where to place the tab, use icon and/or text, supply a custom block that the administrator can her/himself place on the page in different locations.--

But alternatively where in the module code can I tweak where the code gets injected, so I can make it appear where I want, at top of a different page region for example? Any help or pointers on how to achieve this would be amazing!

id flag
That project looks pretty cool. It seems like the issue you opened should be a feature request.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.