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

Recent comments

πŸ‡¬πŸ‡§United Kingdom mylocaltrades

Thank you for your response and for clarifying the policies regarding project deletion on Drupal.org.

I have now updated the project page for webform_booking_calendar to reflect its status as unsupported and obsolete. I’ve also added notes on the project page to inform users about the decision to work with the Webform Booking module developer and to incorporate this functionality as a submodule within their project.

I appreciate your assistance in deleting the webform_booking_calendar_ project, as it didn’t fully get created and is no longer needed.

Please let me know if there’s anything else I need to do to finalise this process or ensure a smooth transition for users.

Thank you again for your help!

Best regards,
Gary

πŸ‡¬πŸ‡§United Kingdom mylocaltrades

Thank you for your response and clarification about the trailing underscore in project names.

After further consideration, I have decided to work with the developer of the webform_booking module, and this functionality will now be incorporated as a submodule under their project. As a result, I plan to remove both the distribution and module projects (webform_booking_calendar and webform_booking_calendar_) from Drupal.org and the associated Git repositories.

I appreciate your time and assistance in reviewing this matter, and I will ensure all steps are taken to remove the projects correctly.

Best regards,
Gary

πŸ‡¬πŸ‡§United Kingdom mylocaltrades

Thank you for your response. It’s possible that I may have accidentally selected the wrong project type during creation. Since this project is indeed a module, not a distribution, I would greatly appreciate it if the Drupal.org team could assist in updating the project type to "Module."

Please let me know if there’s any additional information or steps required from my side to facilitate this change. Thank you for your help!

πŸ‡¬πŸ‡§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