🇷🇴Romania @CPxiom

Account created on 21 April 2011, over 13 years ago
#

Recent comments

🇷🇴Romania CPxiom

Hi, I have the same problem, Olivero subtheme doesn't display the svg logo. As a workaround, I saved the svg as png. It's not vector format, but at least it's visible. Png allows transparency.  

🇷🇴Romania CPxiom

Hi,
will this patch be merged for the next release?
Looking forward to use this module with drupal 10, GrapesJS + drupal (wow :)) seems to be one of the best visual approach systems.
I am using Drupal 10 with php 8.1.

🇷🇴Romania CPxiom

The css files are in /web/themes/olivero_subtheme/css/example.css. This is correctly detected by the module, as it is written with gray.
I created an empty example.css file, but in my subtheme, I have two css files that override olivero, base.css, and layout.css. But changing the example.css to base.css(for example) for the module at theme settings, it shows the same message.
Ideally, I would also like to move the tailwind.exe to themes directory, to not be erased by composer when updating. I don't know if it would do that though :).

How I would like to use this module and tailwind, is that I have the Olivero subtheme, which basically only centers the content and makes the background white. Then in layout builder, if I have something like a customized Teaser, I would like to add some tailwind classes for padding, or to make the title bigger or smaller, with the help of a module like LayoutBuilder styles, or block class, or something similar.
This is because Olivero doesn't provide some simple utility classes.

Before, I used the Uikit theme, but on drupal 10 I can't use it, because jQuery is being renounced, and I don't want to install all those jQuery modules. Uikit had utility classes, and it was a well made theme, although barely had maintainance.

This module is Ideal as it can be used with any theme.

Over the years Drupal had this (basic in my opinion) layouting problem which now Layout builder solved. Before, there were entire seminars on workaround solutions. Even now, some things are not understood (in my opinion) and there are redundant solutions for some things that now drupal handles natively. For example, Drupal is already "atomic design" simply because it uses fields. These fields are organised with layout builder (now). So it is component oriented, natively. There is also a module mini layouts that allows to have layout within layout, and then we have views to display in a block or a page. (There is even the layout builder for fields - experimental).
I used the bricks module before, and it is where I understood how Drupal is structured actually.

So everything is at hand structurally, and having something like tailwind utility classes is finally a dream becoming true.
Thanks for your help.

🇷🇴Romania CPxiom

It's a long page, but it starts like this:

Testing tailwind executable in plain PHP
current dir = C:\inetpub\wwwroot\GetUpTrader\web

Return code is 0

/*
! tailwindcss v3.3.1 | MIT License | https://tailwindcss.com
*/

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
box-sizing: border-box;
/* 1 */
border-width: 0;
/* 2 */
border-style: solid;
/* 2 */
border-color: #e5e7eb;
/* 2 */
}

::before,
::after {
--tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
*/

And so on.

So it appears that this debug file is able to execute the exe file.

🇷🇴Romania CPxiom

I added php_gd2.dll ( I had gd) I also added xmlrpc, declared them in php.ini. (The other messages are because those lines appear twice).

Still it doesn't work, I have the same message. Maybe it has to do with windows permissions, but the exe file has read and execute permissions, and when double clicked, it opens.
So we are left with no clue :) as why the compiler is unavailable.

🇷🇴Romania CPxiom

Yes, I cleared cache every time with the Admin toolbar extension. I went to config/development/performance, cleared that way also.
On the php page, at disable_functions, it writes "no value", both at local and master value.
This happens on windows server 2012 IIS 8.5, php 8.1.12.

This is what appears in the php-8.1.12_errors.log found in C:\Windows\Temp

[13-Apr-2023 13:09:01 UTC] PHP Warning: PHP Startup: Invalid library (appears to be a Zend Extension, try loading using zend_extension=php_opcache.dll from php.ini) in Unknown on line 0
[13-Apr-2023 13:23:51 UTC] PHP Warning: Module "curl" is already loaded in Unknown on line 0
[13-Apr-2023 13:23:51 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'php_gd2.dll' (tried: C:\Program Files\PHP\php-8.1.12\ext\php_gd2.dll (The specified module could not be found), C:\Program Files\PHP\php-8.1.12\ext\php_php_gd2.dll.dll (The specified module could not be found)) in Unknown on line 0
[13-Apr-2023 13:23:51 UTC] PHP Warning: Module "mbstring" is already loaded in Unknown on line 0
[13-Apr-2023 13:23:51 UTC] PHP Warning: Module "openssl" is already loaded in Unknown on line 0
[13-Apr-2023 13:23:51 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'php_xmlrpc.dll' (tried: C:\Program Files\PHP\php-8.1.12\ext\php_xmlrpc.dll (The specified module could not be found), C:\Program Files\PHP\php-8.1.12\ext\php_php_xmlrpc.dll.dll (The specified module could not be found)) in Unknown on line 0
[13-Apr-2023 13:23:51 UTC] PHP Warning: PHP Startup: Invalid library (appears to be a Zend Extension, try loading using zend_extension=php_opcache.dll from php.ini) in Unknown on line 0

This is repeated...
So it appears that I have some problem with php extensions.

🇷🇴Romania CPxiom

Hello, thank you for the quick response.
I followed your suggestions, downloaded the executable again, put it in the web folder, changed settings.php, but I am getting the same message. I checked properties, it has read and execute permissions.
I also double clicked the exe file, windows warned me it doesn't know the app, I clicked "run anyway", something like a terminal opened, then closed, so I assume the executable is working. If double clicked again, windows doesn't ask me anything, it just runs the program - a terminal opens, then closes.
It is a composer installation, everything else works fine for now.
In drupal -> Reports -> Recent log messages, I get messages like this: "The file /tmp/tailwind_jit_XOR7xtefbsHIsRs3foU_bdFf96QS_wXWs9XxO-sjFNo.css was not deleted because it does not exist." Severity: Notice.
So something is working?... As a file is registered, but not created?

🇷🇴Romania CPxiom

Hello, +1 here also for the centered layout, waiting for the merge.
I have a suggestion, but I am a bit concerned not to postpone the merge, thank you all for the work put into this.
As for the suggestion, In my opinion (I am a graphic designer if that matters :))...

The left margin which is gray with the Rss feed and the above blue rectangle should remain in the left side.
The navigation should be from margin to margin, centered, equally distributed toward the margins of the screen. So the branding part more to the left, the menus more to the right.
I would also renounce that pijama :) looking background and let the background white.
If the background is made white for example, (and for many cases it will be, as the texture can't fit with the feel of certain designs) it is obvious that the gray margin doesn't make any sense to be toward the center, that's why I would let it remain in the left.

So the only part that should be centered is the content, and in the navigation part, the elements (branding and menus) equally distributed toward the margins.

But if this would postpone the merge, it is better to leave it as it is patched right now, because this is a very important feature, that is obviously missing in the Olivero theme, and everything takes such a long time... This is not a question - if there should be or not such a feature. Of course there should be.
PS, Lament :) I love Drupal, but being visually oriented, I waited such a long time for features like layout builder, or good themes (Uikit was one of the best until Drupal 10), we are getting old here... :) many times the tire for some projects was deflated. So it's better that this feature merges as it is patched, but I thought I should add my suggestion. Thank you.

Production build 0.71.5 2024