@joseph.olstad There are so many bugs, why are you releasing a new version?
It must install module with composer it will install Icalcreator in vendor
I think I will create new module base on this module, that support all type of block, (custom module block, block from view, content block). It can call ajax for preview block. I can add custom library (in case of using custom js), customize more html class, attribute...
Your patch is modifying many functions of the original module, it will create impact on other site's current used module.
Bold column title has been fixed.
I think we can use html without add more options
somthing likes this:
$html = new PhpOffice\PhpSpreadsheet\Helper\Html();
$htmlString = $html->toRichTextObject($htmlString);
lazzyvn → created an issue.
This patch needs a lot of work
$this->smartDateElements($items, $langcode);
but methode smartDateElements has only $items without $langcode;
and errors with phpcs
395 | ERROR | [ ] Missing parameter comment
395 | ERROR | [x] Data types in @param tags need to be fully namespaced
397 | ERROR | [ ] Description for the @return value is missing
I think smartDate must have a service to get the date and end date, it must use the service if it exists
It means there is no image in your paragraphs. But image field is required it can’t be empty
try dev version it fixed wrapper parent
widget and ckeditor
and formatter
Check dev version if it work for separated option width and clear button
This patch is useless because you can do it in many ways.
for canvas width you can set width/height by custom theme css. or you can override twig with custom theme sign.html.twig.
If you want to sign image just upload default image it will have width/height as default image
For reset button you can enable toolbox option you will have clear button.
Yes for ckeditor 5, it would be nice to configure width and reset button. In this patch I see you add these options to ckeditor 5 but I don't see any change in ckeditor5 plugin?
tested with 8.x-2.x-dev still doesn't support Gutenberg
no data it just array
[
[
no => 456
type => AA
name => Name 1
],
[
no => 123
type => BB
name => Name 2
]
]
Too late It must add in git commit. I will add credit next time
why do you need it? how can i add your credit? i release with lots of my modification that why i close your merge request.
It changed in version 1.8. Please check with pragraphs old version 1.7
I use wamp because it is very easy to switch php/mysql version. It practices managing 30 mixed projects drupal 7, 9, 10, opencart, prestashop, wp...
Wamp is created by French Dev, so it is very easy to install and use without special configuration. After installation, we just need to create vhost and restart DNS
max_allowed_packet = 64M but you can change to 1G
I think it has very clear instructions on the module introduction page. Just create a Firebase account and add parameters to the module. Then they will have a list of registered users and send notifications. The developper can call the module's service and send notifications according to their business logic.
You can create view reference with sort
Your config must have select list like this
it means line 84
if (empty($entity_id) && is_string($element["#default_value"])) {
...
Could you check it?
Can you take some screenshots of your config? I can't figure out your problem. I guess you didn't configure the bundle in the second save. In the widget, you didn't select the right widget. Try dev, it might fix it.
so strange, i think you are confused or you have not used the module yet. you cited an issue related to the functionality search with entity reference view (if you enable) and do not select the option "use bootstrap cdn", if enabled it will display normally. Meanwhile the main function of this module creates a modal to create a new entity.
Support bootstrap 5 icon by default. If you want to change, you can override twig with your custom theme what ever you want.
You can use
Bootstrap 5 admin theme →
or module
Menu bootstrap icons →
why do you wanna correct the js style with phpcs? I remind you that PHPS is NOT for js and css. if you want to fix it with PHPCBF, it will be totally wrong. I think you just run phpcfb without testing. Example of fixing true vs TRUE, false vs FALSE not working with js.
The module is passed to Phpcs with ci on gitlab. you don't need to repair it.
I have same error with drupal 10.3
and can we set 100% if the width is not filled?
I make add library patch for 1.x. please add to 2.x
- Create link fields
- In widget select Postlight parser (PHP readability is default)
- Map yours field to get extracted content
What do site builders need?
I'm building this module for the intranet if someone wants to save an article from another site then they just copy the link.
and another use for chat box when you copy a link to chat box it will call the module to get the thumbnail (title, image, summary).
You have a service to parse content, why do you need a hook?
What ECA plays for this module, I really don't understand
From my understanding, if you only save the date without time, in the system it saves your date and time equal to the time you save, it takes the time of system to save. You can check in the database and see. If I have free time and a customer complains about this problem, I will deepen the date at 00:00 and finish at 23:59. Currently there is no request, so you can wait in the future :).
That is what i test on my local
Config timezone
Field
Views
Import outlook
For me it works exactly time i want
You can debug in modules/contrib/date_ical/src/DateICal.php
Line 49 and 66.
$date = new \DateTime($start, new \DateTimeZone('UTC'));
$date->setTimezone($dateTimeZone);
$start = $date->format("Y-m-d\TH:i:s");
It just takes raw value from database in UTC after set timezone by configuration and format data for ical
It fixed in dev version
ical it check system time zone not user timezone. I checked with Outlook it works fine
@dinesh.s did you check dev version?
where in your patch do you hide it? you have to add all i see is that you just delete (entity_id) and after submit it will auto create a new entity
this FieldTypeCategoryManagerInterface interface is only for Drupal 10.2+. Fixed in newest version
it does not work. Drupal needs (id) to get the entity_id
@mchamps can you check Dev version, I just add 'Z' in the end of time format
So strange that it is added in the first schema, I just check import / export field, it works fine
https://git.drupalcode.org/project/triples_field/-/blob/1.0.10/config/sc...
triples_field.settings:
type: config_object
label: 'Triple subfield'
mapping:
fields:
type: sequence
label: Fields list
sequence:
first:
type: string
label: First subfield
second:
type: string
label: Second subfield
third:
type: string
label: Third subfield
Done. triples_field.settings is added in new version
Please support datafield with entity
I try but it doesn't work smothly
https://git.drupalcode.org/project/datafield/-/blob/2.x/src/Plugin/Graph...
protected function getSubField(string $subfield, FieldItemInterface $item, FieldContext $context) {
$value = $item->{$subfield};
// Attempt to load the plugin for the field type.
$plugin = $this->getSubfieldPlugin($subfield);
if (!$plugin) {
return $value;
}
$storageSettings = $item->getFieldDefinition()->getSetting('columns')[$subfield];
$fieldSettings = $item->getFieldDefinition()->getSetting('field_settings')[$subfield];
if ($storageSettings["type"] == 'entity_reference' && is_numeric($value)) {
$entity = \Drupal::entityTypeManager()->getStorage($fieldSettings["entity_reference_type"])->load($value);
$item->set('entity', $entity);
$value = $entity->uuid();
}
if ($storageSettings["type"] == 'file' && is_numeric($value)) {
$entity = \Drupal::entityTypeManager()->getStorage('file')->load($value);
$item->set('entity', $entity);
}
// Check if it has a resolver we can hijack.
$class = new \ReflectionClass($plugin['class']);
if (!$class->implementsInterface(FieldProducerItemInterface::class)) {
return $value;
}
// Create an instance of the graphql plugin.
$instance = $this->gqlFieldTypeManager->createInstance($plugin['id'], []);
// Clone the current item into a new object for safety.
$clone = clone $item;
// Generically set the value. Relies on magic method __set().
$clone->value = $value;
// Call the plugin resolver on the subfield.
return $instance->resolveFieldItem($clone, $context);
}
what should I do for the triple field? in the module there is triples_field.schema.yml is there something wrong?
Which text can't you translate? In the module there is no text to translate if you want the title of the modal to create entity, in hook form you can use classic drupal with $form['#title'] = 'whatever'
Surely not. But with Drupal you have enough hooks to do what you want hook form, node presave,...
Basically, it only calls the entity's form builder. If other modules also do the same mechanism, it'll works. If you want, you can create a patch and I will merge it in the module
I don't understand the problem you're presenting. If you don't have experience using Drupal, you can hire an expert who might know how to explain the problem more clearly.
yes it needs longitude and latitude, in address line it should check if enable module address suggestion, so change form api to autocomplete. you can configure ckeditor 5 with auto suggestion to get token. otherwise it must have a configuration to select the provider and API connection.
But why do you need a web form, you can get the same result with contact module + view module + field group. If you need multiple steps, you can do it with the field group bootstrap.
Go ahead, send me a patch. You should base this on the development version that I will merge with the module.
why this ticket is fixed. I just try with use-ajax with a simple view, it always shows the table instead of the view title
I try debug it show $main_content['#title'] have #markup
Please check dev version
I did it
for somone who is looking for
https://www.drupal.org/project/default_content/issues/3426940
✨
UI for import / export Default content
Active
@Graber
why i see in the code it uses array_key_exists instead of '??' I think ?? it's faster and safer
or compatible with old version of php, we can use !empty($array[$key]), this helps to avoid a lot of errors
For someone who looking for dependency injection in VBO and want to get pre-configuration
use Drupal\Core\Plugin\PluginBase;
class CustomVBOAction extends ViewsBulkOperationsActionBase implements ViewsBulkOperationsPreconfigurationInterface, ContainerFactoryPluginInterface {
public function __construct($plugin_id, $plugin_definition, $field_definition, protected EntityTypeManagerInterface $entityTypeManager, protected AccountInterface $currentUser) {
PluginBase::__construct($field_definition, $plugin_id, $plugin_definition);
}
// Execution get error when you need pre-configuration with getConfiguration() it will return NULL. You have to get context instead of getConfiguration()
public function execute($entity = NULL) {
if ($entity) {
$config = $this->getConfiguration();
if (empty($config)) {
$config = $this->context['configuration'];
}
............
}
ah I see, you use html to create a template and print it to pdf. My case is more complicated, the customer uploaded an existing pdf file and I had to insert an digital signature + image signature. The problem is that when I use fpdi to insert images, it can only work with the old pdf version 1.4. The new pdf files have compression mode so fpdi cannot load them. I dont if you have another free library
@gMaximus thanks i fixed it
it takes a lots of time to do it, give me a few cups of coffee to make it faster
If you use Google Place, it will call the global API. Google uses IP address to detect location, it is more accurate, but there is another provider it needs country code to limit results. This option therefore requires a default value. Try searching with a French address, you can find an address in Canada.
If you want to create a patch, it's very easy. You clone the module with git. after modification some code you use
git diff > #numIssue:title.patch
You can't save multiple values in a data field, that's for sure. If you want a text field with full formatting, data field is not an option or use a paragraph
There are 2 hook
date_ical_import_vcalendar: Allow modules to alter the vcalendar object before we interpret it
date_ical_import_component: Allow modules to alter the vcalendar component before we parse it into a Feeds-compatible data array
You can alter data before icalcreator parse.
It doesn't test for gin. best supports bootstrap 5 admin theme. If you use a view reference, don't use pagination.
check dev version if it works
It's normal because it get id from title (id)
$result = preg_match('/\((\d+)\)$/', $value, $matches);
if ($result > 0) {
$value = $matches[$result];
}
so it takes the last one. I don't know how to do better