🇧🇪Belgium @Mav_fly

Account created on 16 October 2017, over 6 years ago
#

Recent comments

🇧🇪Belgium Mav_fly

@Mingsong thanks for the feedback!. So if I well understand it's only a date field that can be displayed ?
And like newmanweb suggets it would be nice if fullcalender would also supports fullcalender.

@newmanweb which modules did you now used to solve your problem ?

🇧🇪Belgium Mav_fly

@johnv we installed the latest dev version as asked, but the problem stil exist :(

@Amandeep123 Did you test already the lastest dev version ?

🇧🇪Belgium Mav_fly

@Minsong I have more or less the same problem, and spend also already a lot of time on it.
I have installed bookable agenda and want to show the openings of the bookable calendar with fullcalender view.

Step to reproduce :
1) I made a bookable calender "test calendar".
2) Make 2 openings for the calendar.
3) Than make a view of content "bookable calendar opening"
4) Configure the view like proposed see attachments
5) And last view the page of the view how shows an empty calendar

Configuration :
Drupal 10.2.4
fullcalendar_view : "5.x-dev@dev"

I put some picture in attachments.

If you need more info don't hesitate

🇧🇪Belgium Mav_fly

@ravi kant strange because we only add some css code to the menu.
We use for all our projects Adaptive theme for this project is the at_core (1.4.16).

Is there an option that you install Adpative theme on your working test site to see if then the menu fails?

🇧🇪Belgium Mav_fly

@Shelane Indeed I use now the responsive grid in views instead of the bootstrap grid that is available in AT theme.

@ravi kant it's a pitty becauce the most bootstrap things a very nice to use in your projects. Let's hope in future that such an option will be availalble.

🇧🇪Belgium Mav_fly

@Ravi kant Thanks for the video!

I understand the principle of fit to content or 2 columns.
But the problem I have is if you choose for example 2, 3, … columns the data of your view is arranged horizontal

Data A Data B
Data C Data D

And when using responsive grid you can also choose 2,3,… columns, but you have the option alignment horizontal or vertical

Alignment horizontal :

Data A Data B
Data C Data D

Alignment vertical :

Data A Data C
Data B Data D

And that was my question if it is possible to align your data vertical in bootstrap grid ?

You see my problem ?

🇧🇪Belgium Mav_fly

@ravi kant
https://www.silenciomaldegem.be/
This is a project where the mobile menu doesn't work like it should be.

🇧🇪Belgium Mav_fly

@ravi kant
That's true I also saw the option. But when you select this you got as result that you have more than two columns.
See thee result in attachment.
One like we want and the other is if you choose fit to contet

🇧🇪Belgium Mav_fly

@ravi kant
If you want I can give you the link where you can see te probleem in our project.

🇧🇪Belgium Mav_fly

@ravi kant
We use the bootstrap 5.2.3 library in our theme and bootstrap views 8.x-4.4.
So as you can see in the picture in attachment we have no option that we can choose horizontal or vertical alignment.

🇧🇪Belgium Mav_fly

I have more or less the same problem in a D10 project.
When you open the website in the mobile version, the mobile menu opens and parents en childeren are all open.
I guess normally it may only show the parents when you open the menu and after clicking on the parent may open ?

And when clicking on the child you have to click twice before opening the page. Parents works on first click.

Version
Drupal 10.2.5
Version version 8.x-1.16.

🇧🇪Belgium Mav_fly

Hi, Amandeep123 thanks for the feedback!

@johnv, you have any idea what the problem problem could be ?

🇧🇪Belgium Mav_fly

@Amandeep123 how to reproduce :

- We made a new content type “contact”
- In this content type we made a field “opening hours “ from office hours, in which we put the hours of our customer.
- Create a view block from fields content type “opening hours” where we get the field office hours.
Specifications block
Format of the field office hours --> “Status”
Caching --> “no”
- And then put this block in the leaderboard.

🇧🇪Belgium Mav_fly

@roy564 you already installed Commerce Ajax Add to Cart on your Drupal 10 website ?

You have add your href code in dc_ajax_add_cart/modules/dc_ajax_add_cart_popup/templates/dc-ajax-add-cart-popup.html.twig

Your JS code can you add via the module https://www.drupal.org/project/asset_injector

🇧🇪Belgium Mav_fly

We updated to the latest dev version (see attachment) but the problem isn't solved.

🇧🇪Belgium Mav_fly

Ok but we have now installed the dev version of 19/4 but leave it now like that until you give further instructions.

🇧🇪Belgium Mav_fly

Is it correct that today 19/4 there is a new release of the dev version ?

🇧🇪Belgium Mav_fly

As you asked I made a normal entity page view with the formatter setting 'Current status/Current status position' set to before or after the hours.
In attachement you the results after refreshing the page when the customer was closed.

🇧🇪Belgium Mav_fly

I tried the patch #6 but it didn't solved my problem.
I saw also that it failed for "PHP 8.1 & MySQL 5.7, D10.2.1 Patch Failed to Apply".

And our configuration is :
D10.2.4
PHP 8.2.16

🇧🇪Belgium Mav_fly

@johnv I followed your advice and uncheck “caching” in my view (see the attachment).
And did some more research as result :

- When you visit the website form a new browser the status is correct.
- When you already visited the website and open the website in a new tab without closing your browser, or refresh the page then the status is incorrect.
This is for anonymous users.
- When you visited the website as authenticated user and you refresh the page or open the website in a new tab the status is correct.
- After clearing the cache the status is for everyone correct authenticated and anonymous user

🇧🇪Belgium Mav_fly

I did some more tests and saw that also the problem exist with authenticatd users.
The status is only updated after clearing the cache.

🇧🇪Belgium Mav_fly

@johnv I did some more tests and saw that also the problem exist with authenticatd users.
The status is only update after clearing the cache.

🇧🇪Belgium Mav_fly

@johnv I created a new issue Issue open/close 🐛 Views with Open/Closed status are not updated Needs review

Office Hours 8.x-1.17
The problem is for anonymus user.

🇧🇪Belgium Mav_fly

I encounter the following problem in one of our projects.
I made a view (block) from my customer office hours and displayed that on their website as status option. When they are open or closed the status doesn’t change from “currently open” or “currently closed” for not logged in users (anonymous). When you clear the cache the status is correct.

Our configuration :

D10.2.4
PHP 8.2.16

Can someone give us some tips where we can find any solution to solve that problem ?

🇧🇪Belgium Mav_fly

I encounter the same problem in one of our projects.
I made a view (block) from my customer office hours and displayed that on their website as status option. When they are open or closed the status doesn’t change from “currently open” or “currently closed” for not logged in users (anonymous). When you clear the cache the status is correct.

We tried the patch in #22 but this patch failed with our configuration :

D10.2.4
PHP 8.2.16

Can someone give us some tips where we can find any solution to solve that problem ?

🇧🇪Belgium Mav_fly

What I exactly mean if you go to profiletypes under settings the profile customer is on row number 1 (like you can see in attachment) and my custom profile is on the last row.
When you go than as customer to “user/current/address-book” you see first the address that is used in customer profile and below the address from my custom profile.
What I want is that my custom profile address comes first and then the address of the customer profile.
So I guess if you can reorder the profiles that is should work.

Is there also any option that you choose how the profile as default is shown open or closed (see attachment) ?

🇧🇪Belgium Mav_fly

I also can confirm that the patch provided in #5 fixes the bug.
My setup:
Drupal 10.2.4
Field Group 8.x-3.4
Account field split 2.0.2

🇧🇪Belgium Mav_fly

I applied the patch, and add a Readonly Html field without getting a WSOD.
So I guess to problem is solved!!

@b.khouy thanks for the fast reaction!!

🇧🇪Belgium Mav_fly

I added the field to a profile "customer" and than I added the readonly field to an article. And in both cases I got the WSOD.

🇧🇪Belgium Mav_fly

@Umac_de Thanks for the code, my button "Continue shopping" works fine now!
Problem solved

🇧🇪Belgium Mav_fly

I have more or less the same problem. I activated the payment methode "Bancontact" on my stripe account.
When you then look to the preview (see attachment) you see you have above the option of bancontact.

But when you look to the customer side (see attachment), you don't have the option to choose for bancontact.
There is also a button "Pay with link" who is disabled in the stipe account.

After some research on the internet about this issue, I found that bancontact, EPS, giropay, and iDEAL require a presentment currency of euro. To see those options. I don't know if this is passed via the module to Stripe ?

🇧🇪Belgium Mav_fly

I did the propsed patch but after applying this patch i got the follow error :

Call to undefined method Drupal\symfony_mailer\Entity\MailerPolicy::getVariables()
line 30 --> www/modules/contrib/symfony_mailer/src/Form/PolicyEditForm.php.

When set line 30 in comment $form_state->setValue('variables', $this->entity->getVariables());
The error disappears, but when you click on available tokens the popup windows appears but it's empty .

Maybe I forgot something, can anyone help me to solve my problem ?

🇧🇪Belgium Mav_fly

After some further research into this project, we have been able to conclude the following :

So when you install commerce and layout builder. And you make a product type and go to display where you make a new custom display setting.
In this display you layout it with layout builder. Then you make a view of commerce products and switch in the display option from fields to product and add this block to your website in a contenttype with layoutbuilder.
Then you get this error when you add fields from product variation (price, SKU, ID,...) in your custom display from product type.
When you remove this fields everything works fine.

🇧🇪Belgium Mav_fly

@sakthi_dev t
hanks for the quick response. We'll give this a try and if we have any problems we'll let you know

🇧🇪Belgium Mav_fly

Where can we find this modules for D10 ?
Because it sounds like an interesting module to use in some projects.

🇧🇪Belgium Mav_fly

When will be the release for D10, so that we can use that for our projects with commcerce ticketing ?

🇧🇪Belgium Mav_fly

@shubham_jain What do you exactly by raising the PR ?

I add in the /adaptivetheme/at_core/src/Layout/LayoutLoad.php the following :

/**
* To solve the dynamic property issue.
*/
protected $layout_config;

What I could find here

Thanks in advance
Kristof

🇧🇪Belgium Mav_fly

@Thomas
I applied the patch for the Layout Builder Blocks and that solved the warnings for this.

But the warnings en problems related for the theme aren't yet solved. From the moment I have a solution I will share it with you!

🇧🇪Belgium Mav_fly

Hello Thomas

After further investigation on this project. The strange thing is that the layoutblocks are only broken when you set the page as homepage.
When you set for example node1 as homepage and you add columns the are stacked. Then when you set for example node 2 as homepage and you look back to node 1 the columns are then side by side.
So conclusion is that the problems is only on the page how is set as homepage.

Screenshots in attachment

🇧🇪Belgium Mav_fly

Hello

I updated to the last version of "Bootstrap Layout Builder" en "Bootstrap Styles".
When you choose 2, 3… columns the columns are stacked instead of side by side (see picture).

For this project I have
Drupal 10.1.1
Php 8.2.9
Bootstrap_layout_builder: 2.1.2
Bootstrap Styles : 1.1.1
Bootstrap_library: 2.0.2

For another project where it works perfect :
Drupal 9.3.13
Php 7.4.33
Bootstrap_layout_builder: 2.0
Bootstrap Styles : 1.0
Bootstrap_library": 2.0

Someone any idea to solve that problem ?

I have also some errors on my page see picture

Thanks in advance

Production build 0.69.0 2024