Account created on 30 August 2010, about 14 years ago
#

Recent comments

🇬🇧United Kingdom mylocaltrades

I personally don't see the need for this. For example, in my booking form I have set four slots per day all at 1 hour 45 minutes. I have set the time slots to allow for a 15 minute break between bookings to allow us to clear up ready for the next session/slot.

🇬🇧United Kingdom mylocaltrades

Works perfectly! Thank you so much

🇬🇧United Kingdom mylocaltrades

The is the YAML:

name:
  '#type': textfield
  '#title': Name
  '#required': true
email:
  '#type': email
  '#title': Email
  '#required': true
book_a_date:
  '#type': booking
  '#title': 'Book a date'
  '#required': true
  '#days_advance': ''
  '#excluded_weekdays':
    Mon: Mon
    Tue: Tue
    Thu: Thu
    Fri: Fri
    Sat: Sat
    Sun: Sun
    Wed: 0
  '#time_interval': |-
    09:30|10:30
    11:00|12:00
  '#slot_duration': '60'
  '#seats_slot': 12
🇬🇧United Kingdom mylocaltrades

Following. This error message I have on a number of sites where contact storage module was used then uninstalled in favour of the webform module. So although these sites no longer use this module and it has been uninstalled (I even tried installing then uninstalling that latest version) this error still exists in the status reports page

🇬🇧United Kingdom mylocaltrades

This could be a php compatibility issue. Drupal 10 requires php8.1 and above

🇬🇧United Kingdom mylocaltrades

These modules are being worked on but you may find that there are some that have a development version. Like this one:  https://www.drupal.org/project/content_access/releases/8.x-1.x-dev

🇬🇧United Kingdom mylocaltrades

I can also confirm patch in #7 works and I have this running on 25 production sites for well over a month and everything works as expected.

🇬🇧United Kingdom mylocaltrades

I'd be inclined to get back in touch with the people who upgraded the site for you. It may be an issue with the theme but without any further detailed information (server logs etc) there is not much we can do to help here.

🇬🇧United Kingdom mylocaltrades

There is no reason why you can't upgrade to the most up to date minor version and skipping any other minor versions released in between. As with all things we do, make sure you take a full backup of your website files and database first then run the update.

🇬🇧United Kingdom mylocaltrades

So I have finally got around to working on this issue again and now have the solution in case it helps anyone else.

The computed twig used before php8:

sockets:
'#type': textfield
'#title': 'How many sockets would you like?'
socketcost:
'#type': hidden
'#title': 'socket cost'
'#default_value': '65.00'
'#prepopulate': true
total_cost:
'#type': computed_twig
'#title': 'Total cost'
'#title_display': invisible
'#template': '

£{{ (data.sockets * data.socketcost) }}
excluding VAT

'
'#ajax': true

This above would multiply the amount of sockets by each individual socket cost. I can confirm this does not work in PHP8>

Below is how it now works in PHP8> - I use the number field instead of the textfield and the value field for the individual cost price:

sockets:
'#type': number
'#title': 'How many sockets would you like?'
socketcost:
'#type': value
'#title': socketcost
'#value': '65'
balance:
'#type': computed_twig
'#title': 'Total cost'
'#mode': text
'#template': '{{ (data.sockets|number_format * data.socketcost) }}
'#whitespace': trim
'#ajax': true

🇬🇧United Kingdom mylocaltrades

You have installed into the "install-dir" 

So something like: 

https://localhost/install-dir

So you just need to navigate to the Drupal folder (install-dir). Drupal will start the install process automatically.

🇬🇧United Kingdom mylocaltrades

If your mean that you have HTML content you want to use in Drupal entities then you could use the Feeds module and set your html fields to import into a Drupal field set to accept full HTML.

If you mean you have HTML theme templates, then that is a whole other story. You would need to read up on using Twig for templating in Drupal.

🇬🇧United Kingdom mylocaltrades

Hi, see my thoughts below:

1. Where should I start (resources, tutorials, etc.) as it pertains to theming creation. Can I expect to get a theme that allows me to use BS5? - There is already a Bootstrap 5 theme that is actively being maintained here:  https://www.drupal.org/project/bootstrap5

2. Is it better to get an existing theme (that uses BS5?) and modify it? - I would say so yes as per the Bootstrap 5 theme link above.

3. I will have future projects that I'd also like to use with Drupal, depending on the outcome of this one, for future reference are there best practices for making/mocking up themes for Drupal? - Best to sub theme the Drupal Bootstrap 5 theme. Here is how to create a sub theme:  https://www.drupal.org/docs/theming-drupal/creating-sub-themes

🇬🇧United Kingdom mylocaltrades

If you are confident that the theme will run perfectly well in D10, then upgrade Drupal itself then add the theme back afterwards. As always, make sure you have a full backup of your sites files and database before attempting any updates/upgrades.

🇬🇧United Kingdom mylocaltrades

drupal/zurb_foundation 6.7.0-beta1 requires drupal/core ^8 || ^9  this is your issue. Remove any references to it in your .json and .lock files, run the upgrade (assuming you have no other conflicts) then once upgraded to D10, reinstall it. Then run update.php

🇬🇧United Kingdom mylocaltrades

Thanks so much Mike, very much appreciated. If you ever need any help maintaining this module I'm always here.

🇬🇧United Kingdom mylocaltrades

I think this is an open issue:  https://www.drupal.org/project/drupal/issues/3188136 🐛 The site slogan doesn't show with Olivero Needs work

🇬🇧United Kingdom mylocaltrades

Okay, so you have psr/log listed as a requirement. You can remove that as Drupal now includes this.

Production build 0.71.5 2024